Mudanças entre as edições de "MediaWiki:Common.css"
Página de Interface do MediaWiki
(segundo tema para a barra de pesquisa.) |
|||
| Linha 11: | Linha 11: | ||
padding-bottom: 2rem; | padding-bottom: 2rem; | ||
padding-top: 2rem; | padding-top: 2rem; | ||
} | |||
.wiki-dev__div-barra-pesquisa-claro{ | |||
background-color: #e8e8e8; | background-color: #e8e8e8; | ||
} | |||
.wiki-dev__div-barra-pesquisa-escuro{ | |||
background-color: #1a252d; | |||
} | } | ||
.wiki-dev__div-barra-pesquisa h2{ | .wiki-dev__div-barra-pesquisa h2{ | ||
Edição das 17h29min 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;
padding-bottom: 2rem;
padding-top: 2rem;
}
.wiki-dev__div-barra-pesquisa-claro{
background-color: #e8e8e8;
}
.wiki-dev__div-barra-pesquisa-escuro{
background-color: #1a252d;
}
.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;
background-color: var(--color-primary);
color: #fff;
cursor: pointer;
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;
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;
}
}