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 DO TEMA (TIPOGRAFIA E RODAPÉ) */ | |||
/* ================================================================= */ | |||
/* | /* 1. RODAPÉ COMPACTO (SLIM) */ | ||
.citizen-footer { | |||
padding: 4px 20px !important; | |||
margin- | margin-top: 30px !important; | ||
border-top: 1px solid #eaecf0; | |||
min-height: 0 !important; | 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: 32px !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; } | |||
/* Responsividade do Rodapé */ | |||
@media (max-width: 768px) { | |||
.citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; } | |||
} | } | ||
/* | |||
/* 2. TIPOGRAFIA GLOBAL (FONTE E TÍTULOS) */ | |||
body | /* Aplica fonte padrão no corpo todo */ | ||
body { | |||
font-family: 'Segoe UI', Roboto, sans-serif !important; | |||
} | } | ||
/* | /* Títulos Globais */ | ||
body:not(.page-Página_principal) . | html body:not(.page-Página_principal) h1, | ||
margin-top: | 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; /* Slate 800 */ | |||
margin-top: 1.5em !important; | |||
margin-bottom: 0.8em !important; | |||
line-height: 1.3 !important; | |||
} | } | ||
/* | /* Títulos H2 (Limpos e sem barra lateral) */ | ||
html body:not(.page-Página_principal) h2, | |||
html body:not(.page-Página_principal) .mw-heading2 { | |||
font-size: 1.5em !important; | |||
font-weight: 700 !important; | |||
border-bottom: 1px solid #e2e8f0 !important; | |||
border-left: none !important; | |||
padding-bottom: 0.3em !important; | |||
padding-left: 0 !important; | |||
margin-top: 40px !important; | |||
} | |||
/* | /* Títulos H3 */ | ||
html body:not(.page-Página_principal) h3, | |||
. | html body:not(.page-Página_principal) .mw-heading3 { | ||
.page- | font-size: 1.2em !important; | ||
font-weight: 600 !important; | |||
color: #334155 !important; | |||
border: none !important; | |||
padding-left: 0 !important; | |||
margin-top: 30px !important; | |||
} | } | ||
/* | /* Texto de Parágrafo */ | ||
. | .mw-body-content p { | ||
font-size: 1.05em !important; | |||
line-height: 1.7 !important; | |||
color: #475569 !important; | |||
margin-bottom: 1.2em !important; | |||
max-width: 900px; | |||
} | } | ||
/* | /* 3. LIMPEZA DA INTERFACE (ESCONDER ELEMENTOS NATIVOS) */ | ||
body | /* Esconde título nativo (pois usamos o Template:Cabecalho) */ | ||
body:not(.page-Página_principal) .mw-page-title-main, | |||
body:not(.page-Página_principal) h1#firstHeading, | |||
html body:not(.page-Página_principal) .citizen-section-indicator { | |||
display: none !important; | |||
} | } | ||
/* | /* Compacta o topo nativo do tema */ | ||
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: 5px !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; | |||
} | } | ||
/* Ajuste | /* Ajuste do Logo na Sidebar */ | ||
. | .citizen-header .mw-logo-icon, | ||
.citizen-drawer__header .mw-logo-icon { | |||
height: 40px !important; | |||
width: auto !important; | |||
margin-top: 2px !important; | |||
} | } | ||
Edição das 06h43min de 29 de novembro de 2025
/* ================================================================= */
/* 🎨 VISUAL GLOBAL DO TEMA (TIPOGRAFIA E RODAPÉ) */
/* ================================================================= */
/* 1. RODAPÉ COMPACTO (SLIM) */
.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: 32px !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; }
/* Responsividade do Rodapé */
@media (max-width: 768px) {
.citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; }
}
/* 2. TIPOGRAFIA GLOBAL (FONTE E TÍTULOS) */
/* Aplica fonte padrão no corpo todo */
body {
font-family: 'Segoe UI', Roboto, sans-serif !important;
}
/* Títulos Globais */
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; /* Slate 800 */
margin-top: 1.5em !important;
margin-bottom: 0.8em !important;
line-height: 1.3 !important;
}
/* Títulos H2 (Limpos e sem barra lateral) */
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) .mw-heading2 {
font-size: 1.5em !important;
font-weight: 700 !important;
border-bottom: 1px solid #e2e8f0 !important;
border-left: none !important;
padding-bottom: 0.3em !important;
padding-left: 0 !important;
margin-top: 40px !important;
}
/* Títulos H3 */
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) .mw-heading3 {
font-size: 1.2em !important;
font-weight: 600 !important;
color: #334155 !important;
border: none !important;
padding-left: 0 !important;
margin-top: 30px !important;
}
/* Texto de Parágrafo */
.mw-body-content p {
font-size: 1.05em !important;
line-height: 1.7 !important;
color: #475569 !important;
margin-bottom: 1.2em !important;
max-width: 900px;
}
/* 3. LIMPEZA DA INTERFACE (ESCONDER ELEMENTOS NATIVOS) */
/* Esconde título nativo (pois usamos o Template:Cabecalho) */
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) h1#firstHeading,
html body:not(.page-Página_principal) .citizen-section-indicator {
display: none !important;
}
/* Compacta o topo nativo do tema */
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: 5px !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;
}
/* Ajuste do Logo na Sidebar */
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
height: 40px !important;
width: auto !important;
margin-top: 2px !important;
}