MediaWiki:Chameleon.css: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| (11 revisões intermediárias pela mesma usuária não estão sendo mostradas) | |||
| Linha 20: | Linha 20: | ||
:root { | :root { | ||
--wiki-width: | --wiki-width: 1200px; | ||
} | } | ||
| Linha 32: | Linha 32: | ||
#content, | #content, | ||
.mw-body-content { | .mw-body-content { | ||
max-width: | max-width: 1200px !important; | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
| Linha 54: | Linha 54: | ||
/* Permite imagem ocupar 100% da tela sem div */ | /* Permite imagem ocupar 100% da tela sem div */ | ||
.mw-parser-output span.fullwidth { | .mw-parser-output span.fullwidth { | ||
display: block; | display: block; | ||
width: 100%; | |||
width: | margin: 50px 0 30px; | ||
} | } | ||
.mw-parser-output span.fullwidth img { | .mw-parser-output span.fullwidth img { | ||
width: | width: 100vw; | ||
height: | max-width: 100vw; | ||
display: block; | height: clamp(220px, 40vh, 500px); | ||
object-fit: cover; | |||
display: block; | |||
margin-left: calc(50% - 50vw); | |||
} | } | ||
/* | /* seção full-width de fundo */ | ||
.full | .section-full { | ||
width: 100vw; | width: 100vw; | ||
margin-left: calc(50% - 50vw); | margin-left: calc(50% - 50vw); | ||
| Linha 75: | Linha 76: | ||
} | } | ||
. | .section-inner { | ||
max-width: 1400px; | max-width: 1400px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0 20px; | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
. | .section-light { | ||
background: # | background-color: #f5f5f5; | ||
color: | color: #212529; | ||
} | } | ||
. | .section-dark { | ||
background: # | background-color: #212529; | ||
color: #ffffff; | |||
} | } | ||
.section-light a { | |||
. | color: #0d6efd; | ||
} | } | ||
. | .section-dark a { | ||
color: #66b2ff; | |||
} | } | ||
