MediaWiki:Chameleon.css: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 20: | Linha 20: | ||
:root { | :root { | ||
--wiki-width: | --wiki-width: 1400px; | ||
} | } | ||
| Linha 32: | Linha 32: | ||
#content, | #content, | ||
.mw-body-content { | .mw-body-content { | ||
max-width: | max-width: 1400px !important; | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
| Linha 44: | Linha 44: | ||
margin-right: auto !important; | margin-right: auto !important; | ||
} | } | ||
/* Background imagem*/ | /* Background imagem*/ | ||
| Linha 51: | Linha 50: | ||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
} | |||
/* Permite imagem ocupar 100% da tela sem div */ | |||
.mw-parser-output img.fullwidth { | |||
width: 100vw; | |||
max-width: 100vw; | |||
margin-left: calc(50% - 50vw); | |||
} | } | ||
Edição das 12h32min de 14 de abril de 2026
/** o código CSS colocado aqui será aplicado ao tema Chameleon */
/* Liberar layout */
#content,
.mw-body {
width: 100%;
max-width: 100% !important;
}
/* Corrigir limites do Bootstrap */
.container {
width: 100% !important;
max-width: 100% !important;
}
/* Evitar margens negativas */
.row {
margin-left: 0;
margin-right: 0;
}
:root {
--wiki-width: 1400px;
}
@media (min-width: 1200px) {
.container,
.container-lg,
.container-xl,
.page-container,
.mw-body,
.content-container,
#content,
.mw-body-content {
max-width: 1400px !important;
width: 100% !important;
}
/* Texto principal centralizado */
.container,
.page-container,
.mw-body,
.content-container {
margin-left: auto !important;
margin-right: auto !important;
}
/* Background imagem*/
#content.full-bg {
background-image: url("/images/c/cb/Favelas.jpg");
background-size: cover;
background-position: center;
}
/* Permite imagem ocupar 100% da tela sem div */
.mw-parser-output img.fullwidth {
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
}