Ativa o menu
Alternar menu de preferências
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: mudanças entre as edições

Página de Interface do MediaWiki
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
/* ================================================================= */
/* ================================================================= */
/* 🎨 VISUAL GLOBAL DO TEMA (TIPOGRAFIA E RODAPÉ) */
/* 🎨 VISUAL GLOBAL DO TEMA (TIPOGRAFIA COMPACTA E RODAPÉ) */
/* ================================================================= */
/* ================================================================= */


/* 1. RODAPÉ COMPACTO (SLIM) */
/* 1. RODAPÉ COMPACTO (SLIM) */
/* (Este bloco não mudou, já estava compacto) */
.citizen-footer {
.citizen-footer {
     padding: 4px 20px !important;
     padding: 4px 20px !important;
Linha 39: Linha 40:
#footer-icons img { height: 28px !important; width: auto !important; }
#footer-icons img { height: 28px !important; width: auto !important; }
#footer-info-lastmod, .citizen-footer__lastmod { display: none !important; }
#footer-info-lastmod, .citizen-footer__lastmod { display: none !important; }
/* Responsividade do Rodapé */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; }
     .citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; }
Linha 45: Linha 45:




/* 2. TIPOGRAFIA GLOBAL (FONTE E TÍTULOS) */
/* 2. TIPOGRAFIA GLOBAL COMPACTA */
/* Aplica fonte padrão no corpo todo */
body {
body {
     font-family: 'Segoe UI', Roboto, sans-serif !important;
     font-family: 'Segoe UI', Roboto, sans-serif !important;
}
}


/* Títulos Globais */
/* Títulos Globais - Margens Base Reduzidas */
html body:not(.page-Página_principal) h1,
html body:not(.page-Página_principal) h1,
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) h2,
Linha 57: Linha 56:
html body:not(.page-Página_principal) h4 {
html body:not(.page-Página_principal) h4 {
     font-family: 'Segoe UI', Roboto, sans-serif !important;
     font-family: 'Segoe UI', Roboto, sans-serif !important;
     color: #1e293b !important; /* Slate 800 */
     color: #1e293b !important;
     margin-top: 1.5em !important;
     margin-top: 1.2em !important; /* REDUZIDO: Era 1.5em */
     margin-bottom: 0.8em !important;
     margin-bottom: 0.6em !important; /* REDUZIDO: Era 0.8em */
     line-height: 1.3 !important;
     line-height: 1.2 !important;
}
}


/* Títulos H2 (Limpos e sem barra lateral) */
/* Títulos H2 (Seções) */
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) .mw-heading2 {
html body:not(.page-Página_principal) .mw-heading2 {
     font-size: 1.5em !important;
     font-size: 1.4em !important; /* REDUZIDO: Era 1.5em */
     font-weight: 700 !important;
     font-weight: 700 !important;
     border-bottom: 1px solid #e2e8f0 !important;
     border-bottom: 1px solid #e2e8f0 !important;
Linha 72: Linha 71:
     padding-bottom: 0.3em !important;
     padding-bottom: 0.3em !important;
     padding-left: 0 !important;
     padding-left: 0 !important;
     margin-top: 40px !important;
     margin-top: 30px !important; /* REDUZIDO: Era 40px */
}
}


/* Títulos H3 */
/* Títulos H3 (Subseções) */
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 {
     font-size: 1.2em !important;
     font-size: 1.15em !important; /* REDUZIDO: Era 1.2em */
     font-weight: 600 !important;
     font-weight: 600 !important;
     color: #334155 !important;
     color: #334155 !important;
     border: none !important;
     border: none !important;
     padding-left: 0 !important;
     padding-left: 0 !important;
     margin-top: 30px !important;
     margin-top: 20px !important; /* REDUZIDO: Era 30px */
}
}


/* Texto de Parágrafo */
/* Texto de Parágrafo (Corpo) */
.mw-body-content p {
.mw-body-content p {
     font-size: 1.05em !important;
     font-size: 1em !important; /* REDUZIDO: Era 1.05em (Voltou ao padrão) */
     line-height: 1.7 !important;
     line-height: 1.5 !important; /* REDUZIDO: Era 1.7 (Linhas mais próximas) */
     color: #475569 !important;
     color: #475569 !important;
     margin-bottom: 1.2em !important;
     margin-bottom: 1em !important; /* REDUZIDO: Era 1.2em */
     max-width: 900px;
     max-width: 900px;
}
}




/* 3. LIMPEZA DA INTERFACE (ESCONDER ELEMENTOS NATIVOS) */
/* 3. LIMPEZA DA INTERFACE */
/* Esconde título nativo (pois usamos o Template:Cabecalho) */
/* (Este bloco não mudou, apenas esconde itens nativos) */
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) h1#firstHeading,
body:not(.page-Página_principal) h1#firstHeading,
Linha 103: Linha 102:
     display: none !important;
     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) header.mw-body-header,
body:not(.page-Página_principal) .citizen-page-header {
body:not(.page-Página_principal) .citizen-page-header {
Linha 116: Linha 113:
     margin: 0 !important; padding: 0 !important; height: 0 !important; display: none !important;
     margin: 0 !important; padding: 0 !important; height: 0 !important; display: none !important;
}
}
/* Ajuste do Logo na Sidebar */
.citizen-header .mw-logo-icon,
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
.citizen-drawer__header .mw-logo-icon {

Edição das 06h44min de 29 de novembro de 2025

/* ================================================================= */
/* 🎨 VISUAL GLOBAL DO TEMA (TIPOGRAFIA COMPACTA E RODAPÉ) */
/* ================================================================= */

/* 1. RODAPÉ COMPACTO (SLIM) */
/* (Este bloco não mudou, já estava compacto) */
.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; }
@media (max-width: 768px) {
    .citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; }
}


/* 2. TIPOGRAFIA GLOBAL COMPACTA */
body {
    font-family: 'Segoe UI', Roboto, sans-serif !important;
}

/* Títulos Globais - Margens Base Reduzidas */
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; /* REDUZIDO: Era 1.5em */
    margin-bottom: 0.6em !important; /* REDUZIDO: Era 0.8em */
    line-height: 1.2 !important;
}

/* Títulos H2 (Seções) */
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) .mw-heading2 {
    font-size: 1.4em !important; /* REDUZIDO: Era 1.5em */
    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: 30px !important; /* REDUZIDO: Era 40px */
}

/* Títulos H3 (Subseções) */
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) .mw-heading3 {
    font-size: 1.15em !important; /* REDUZIDO: Era 1.2em */
    font-weight: 600 !important;
    color: #334155 !important;
    border: none !important;
    padding-left: 0 !important;
    margin-top: 20px !important; /* REDUZIDO: Era 30px */
}

/* Texto de Parágrafo (Corpo) */
.mw-body-content p {
    font-size: 1em !important; /* REDUZIDO: Era 1.05em (Voltou ao padrão) */
    line-height: 1.5 !important; /* REDUZIDO: Era 1.7 (Linhas mais próximas) */
    color: #475569 !important;
    margin-bottom: 1em !important; /* REDUZIDO: Era 1.2em */
    max-width: 900px;
}


/* 3. LIMPEZA DA INTERFACE */
/* (Este bloco não mudou, apenas esconde itens nativos) */
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;
}
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;
}
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
    height: 40px !important;
    width: auto !important;
    margin-top: 2px !important;
}