Mudanças entre as edições de "MediaWiki:Common.css"
Página de Interface do MediaWiki
(finalização da primeira versão da barra de pesquisa corrigido.) |
|||
Linha 10: | Linha 10: | ||
justify-content: center; | justify-content: center; | ||
margin-bottom: 2rem; | margin-bottom: 2rem; | ||
} | |||
.wiki-dev__div-barra-pesquisa h2{ | |||
margin-top: 0rem; | |||
margin-bottom: 1rem; | |||
} | } | ||
.wiki-dev__form-barra-pesquisa{ | .wiki-dev__form-barra-pesquisa{ | ||
Linha 15: | Linha 19: | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.wiki-dev__form-barra-pesquisa input[type=submit]{ | .wiki-dev__form-barra-pesquisa input[type=submit]{ |
Edição das 16h12min 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; margin-bottom: 2rem; } .wiki-dev__div-barra-pesquisa h2{ margin-top: 0rem; margin-bottom: 1rem; } .wiki-dev__form-barra-pesquisa{ min-width:100%; display: flex; justify-content: center; } .wiki-dev__form-barra-pesquisa input[type=submit]{ padding: 0.813rem; border-radius: 0px 10px 10px 0px; background-color: var(--color-primary); color: #fff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04),0 3px 6px rgba(0, 0, 0, 0.06); } .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; border-radius: 10px 0px 0px 10px; 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; } }