MediaWiki:Citizen.css: mudanças entre as edições
Página de Interface do MediaWiki
Mais ações
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* VISUAL GLOBAL | /* VISUAL GLOBAL (CITIZEN OVERRIDES) */ | ||
/* RESET & BOX MODEL */ | |||
* { | * { | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
/* RODAPÉ COMPACTO */ | |||
.citizen-page-footer { | .citizen-page-footer { | ||
padding: 0px !important; | padding: 0px !important; | ||
| Linha 82: | Linha 82: | ||
.citizen-footer__lastmod { | .citizen-footer__lastmod { | ||
display: none !important; | display: none !important; | ||
} | } | ||
| Linha 100: | Linha 91: | ||
} | } | ||
.citizen-footer__sitetitle { | .citizen-footer__sitetitle { | ||
display: block !important; | display: block !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
line-height: 0 !important; | line-height: 0 !important; | ||
} | |||
@media (max-width: 768px) { | |||
.citizen-footer__content { | |||
flex-direction: column !important; | |||
gap: 8px !important; | |||
padding: 10px 0 !important; | |||
} | |||
} | } | ||
/* | /* TIPOGRAFIA GERAL */ | ||
body { | body { | ||
font-family: 'Segoe UI', Roboto, sans-serif !important; | font-family: 'Segoe UI', Roboto, sans-serif !important; | ||
| Linha 132: | Linha 129: | ||
} | } | ||
/* | /* TITULOS H2 */ | ||
html body:not(.page-Página_principal) .mw-heading2 { | html body:not(.page-Página_principal) .mw-heading2 { | ||
font-size: 1.4em !important; | font-size: 1.4em !important; | ||
| Linha 151: | Linha 147: | ||
} | } | ||
html body:not(.page-Página_principal) .mw-heading2 h2 { | html body:not(.page-Página_principal) .mw-heading2 h2 { | ||
border: none !important; | border: none !important; | ||
| Linha 161: | Linha 156: | ||
} | } | ||
/* | /* Seta Indicadora H2 */ | ||
html body:not(.page-Página_principal) .mw-heading2::after { | html body:not(.page-Página_principal) .mw-heading2::after { | ||
content: ""; | content: ""; | ||
| Linha 179: | Linha 174: | ||
} | } | ||
html body:not(.page-Página_principal) h2::before, | html body:not(.page-Página_principal) h2::before, | ||
html body:not(.page-Página_principal) .mw-heading2::before { | html body:not(.page-Página_principal) .mw-heading2::before { | ||
| Linha 186: | Linha 180: | ||
} | } | ||
/* | /* TITULOS H3 */ | ||
html body:not(.page-Página_principal) h3, | html body:not(.page-Página_principal) h3, | ||
html body:not(.page-Página_principal) .mw-heading3 { | html body:not(.page-Página_principal) .mw-heading3 { | ||
| Linha 198: | Linha 192: | ||
} | } | ||
/* | /* LIMPEZA DE HEADER E UTILS */ | ||
#siteSub, | #siteSub, | ||
.citizen-section-indicator { | .citizen-section-indicator { | ||
| Linha 232: | Linha 226: | ||
} | } | ||
/* | /* LAYOUT TELA CHEIA (.celta-full-width) */ | ||
body:has(.celta-full-width) .citizen-col-toc { | body:has(.celta-full-width) .citizen-col-toc { | ||
display: none !important; | display: none !important; | ||
| Linha 251: | Linha 245: | ||
} | } | ||
.citizen-col-toc { | .citizen-col-toc { | ||
padding-top: 60px !important; | padding-top: 60px !important; | ||
| Linha 261: | Linha 254: | ||
} | } | ||
/* | /* RESPONSIVIDADE GLOBAL DO LAYOUT */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.citizen-col-toc { | .citizen-col-toc { | ||
display: none !important; | display: none !important; | ||
} | } | ||
.citizen-col-content { | .citizen-col-content { | ||
grid-column: 1 / -1 !important; | grid-column: 1 / -1 !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
} | } | ||
.mw-content-container, | .mw-content-container, | ||
.citizen-page-content { | .citizen-page-content { | ||
padding: 0 10px !important; | padding: 0 10px !important; | ||
} | } | ||
body:not(.page-Página_principal) header.mw-body-header, | body:not(.page-Página_principal) header.mw-body-header, | ||
body:not(.page-Página_principal) .citizen-page-header { | body:not(.page-Página_principal) .citizen-page-header { | ||
padding: 0 10px !important; | padding: 0 10px !important; | ||
} | } | ||
} | } | ||
Edição das 13h57min de 3 de dezembro de 2025
/* VISUAL GLOBAL (CITIZEN OVERRIDES) */
/* RESET & BOX MODEL */
* {
box-sizing: border-box !important;
}
/* RODAPÉ COMPACTO */
.citizen-page-footer {
padding: 0px !important;
margin-top: 0px !important;
margin-bottom: 0px;
}
.citizen-footer {
padding: 4px 20px !important;
margin-top: 30px !important;
border-top: 1px solid #eaecf0;
min-height: 0 !important;
}
.citizen-footer__content {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: space-between !important;
gap: 10px !important;
width: 100% !important;
}
#footer-info,
#footer-info ul,
#footer-info li {
margin: 0 !important;
padding: 0 !important;
line-height: 1.1 !important;
}
.citizen-footer__logo {
margin: 0 !important;
padding: 0 !important;
order: 1;
line-height: 0 !important;
}
.citizen-footer .mw-logo-wordmark {
display: none !important;
}
.citizen-footer .mw-logo-icon {
height: 45px !important;
width: auto !important;
display: block !important;
}
#footer-info {
order: 2;
text-align: center !important;
flex-grow: 1;
font-size: 0.85em !important;
color: #666;
}
#footer-info li {
display: inline-block !important;
}
#footer-icons {
order: 3;
margin: 0 !important;
padding: 0 !important;
display: flex !important;
align-items: center !important
}
#footer-icons img {
height: 28px !important;
width: auto !important;
}
#footer-info-lastmod,
.citizen-footer__lastmod {
display: none !important;
}
.citizen-footer__siteinfo {
display: block !important;
margin: 0 !important;
padding: 0 !important;
order: 1;
}
.citizen-footer__sitetitle {
display: block !important;
margin: 0 !important;
line-height: 0 !important;
}
@media (max-width: 768px) {
.citizen-footer__content {
flex-direction: column !important;
gap: 8px !important;
padding: 10px 0 !important;
}
}
/* TIPOGRAFIA GERAL */
body {
font-family: 'Segoe UI', Roboto, sans-serif !important;
}
html body:not(.page-Página_principal) h1,
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) h4 {
font-family: 'Segoe UI', Roboto, sans-serif !important;
color: #1e293b !important;
margin-top: 1.2em !important;
margin-bottom: 0.6em !important;
line-height: 1.2 !important;
}
.mw-body-content p {
font-size: 1em !important;
line-height: 1.5 !important;
color: #475569 !important;
margin-bottom: 1em !important;
max-width: 900px;
}
/* TITULOS H2 */
html body:not(.page-Página_principal) .mw-heading2 {
font-size: 1.4em !important;
font-weight: 700 !important;
color: #1e293b !important;
margin-top: 25px !important;
margin-bottom: 5px !important;
border-left: 3px solid #3366cc !important;
padding-left: 10px !important;
border-bottom: none !important;
border-right: none !important;
border-top: none !important;
position: relative;
display: flex;
align-items: center;
cursor: pointer;
}
html body:not(.page-Página_principal) .mw-heading2 h2 {
border: none !important;
margin: 0 !important;
padding: 5px !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: 1.2 !important;
}
/* Seta Indicadora H2 */
html body:not(.page-Página_principal) .mw-heading2::after {
content: "";
display: inline-block;
width: 8px;
height: 8px;
border-right: 2px solid #cbd5e1;
border-bottom: 2px solid #cbd5e1;
transform: rotate(45deg);
margin-left: 15px;
transition: transform 0.2s ease;
opacity: 0.7;
}
html body:not(.page-Página_principal) .mw-heading2:hover::after {
border-color: #3b82f6;
}
html body:not(.page-Página_principal) h2::before,
html body:not(.page-Página_principal) .mw-heading2::before {
content: none !important;
display: none !important;
}
/* TITULOS H3 */
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) .mw-heading3 {
font-size: 1.15em !important;
font-weight: 600 !important;
color: #334155 !important;
border: none !important;
padding-left: 0 !important;
margin-top: 10px !important;
margin-bottom: 0px !important;
}
/* LIMPEZA DE HEADER E UTILS */
#siteSub,
.citizen-section-indicator {
display: none !important;
}
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) h1#firstHeading {
display: none !important;
}
body:not(.page-Página_principal) header.mw-body-header,
body:not(.page-Página_principal) .citizen-page-header {
margin-bottom: 0 !important;
padding-bottom: 0px !important;
min-height: 0 !important;
border-bottom: none !important;
}
body:not(.page-Página_principal) .firstHeading-container,
body:not(.page-Página_principal) .citizen-header__text {
margin: 0 !important;
padding: 0 !important;
height: 0 !important;
display: none !important;
}
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
height: 40px !important;
width: auto !important;
margin-top: 2px !important;
}
/* LAYOUT TELA CHEIA (.celta-full-width) */
body:has(.celta-full-width) .citizen-col-toc {
display: none !important;
}
body:has(.celta-full-width) .citizen-col-content {
grid-column: 1 / -1 !important;
max-width: 100% !important;
}
body:has(.celta-full-width) .celta-page-header {
max-width: 1150px;
margin: 0 auto 40px auto;
}
body:has(.celta-full-width) .citizen-section-indicator {
display: none !important;
}
.citizen-col-toc {
padding-top: 60px !important;
}
.page-info {
opacity: 0.6;
font-size: 0.85em;
}
/* RESPONSIVIDADE GLOBAL DO LAYOUT */
@media (max-width: 768px) {
.citizen-col-toc {
display: none !important;
}
.citizen-col-content {
grid-column: 1 / -1 !important;
max-width: 100% !important;
}
.mw-content-container,
.citizen-page-content {
padding: 0 10px !important;
}
body:not(.page-Página_principal) header.mw-body-header,
body:not(.page-Página_principal) .citizen-page-header {
padding: 0 10px !important;
}
}