Mudanças entre as edições de "MediaWiki:Common.css"
Página de Interface do MediaWiki
Linha 3: | Linha 3: | ||
/*Padrão*/ | /*Padrão*/ | ||
/*barra*/ | /*barra*/ | ||
.wiki- | .wiki-dev__div-barra-pesquisa{ | ||
display: flex; | |||
width: 100%; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
.wiki-dev__form-barra-pesquisa{ | |||
min-width:100%; | min-width:100%; | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.wiki-dev__label-barra-pesquisa{ | |||
display: none; | |||
} | } | ||
.wiki-dev__input-barra-pesquisa{ | |||
font-family: 'Roboto',system-ui,-apple-system,sans-serif; | font-family: 'Roboto',system-ui,-apple-system,sans-serif; | ||
text-align: center; | text-align: center; | ||
Linha 32: | Linha 32: | ||
} | } | ||
@media (max-width: 630px){ | @media (max-width: 630px){ | ||
.wiki-dev__input-barra-pesquisa{ | |||
width: 300px; | width: 300px; | ||
} | } | ||
} | } |
Edição das 14h46min de 29 de novembro de 2021
/** o código CSS colocado aqui será aplicado a todos os temas */ /*barra de pesquisa dentro do artigo*/ /*Padrão*/ /*barra*/ .wiki-dev__div-barra-pesquisa{ display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: center; } .wiki-dev__form-barra-pesquisa{ min-width:100%; display: flex; justify-content: center; } .wiki-dev__label-barra-pesquisa{ display: none; } .wiki-dev__input-barra-pesquisa{ font-family: 'Roboto',system-ui,-apple-system,sans-serif; text-align: center; line-height: 1.6; width: 600px; padding: 0.6rem 0.8rem; border: 1px solid; margin: 0.8rem auto 0 auto; border-radius: 100px; box-shadow: 0 3px 6px rgb(0 0 0 / 4%), 0 3px 6px rgb(0 0 0 / 6%); cursor: pointer; font-size: 0.875rem; } @media (max-width: 630px){ .wiki-dev__input-barra-pesquisa{ width: 300px; } }