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:
/* 1. ESCONDE O TÍTULO NATIVO */
/* ================================================================= */
body:not(.page-Página_principal) .mw-page-title-main,
/* 🎨 VISUAL GLOBAL DO TEMA (TIPOGRAFIA E RODAPÉ) */
body:not(.page-Página_principal) h1#firstHeading {
/* ================================================================= */
    display: none !important;
}


/* 2. COMPACTA O CABEÇALHO DO TEMA */
/* 1. RODAPÉ COMPACTO (SLIM) */
body:not(.page-Página_principal) header.mw-body-header,
.citizen-footer {
body:not(.page-Página_principal) .citizen-page-header {
    padding: 4px 20px !important;
     margin-bottom: 0 !important;
     margin-top: 30px !important;
     padding-bottom: 5px !important;
     border-top: 1px solid #eaecf0;
     min-height: 0 !important;
     min-height: 0 !important;
     border-bottom: none !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; }
}
}


/* 3. REMOVE O ESPAÇO DO CONTAINER */
 
body:not(.page-Página_principal) .firstHeading-container,
/* 2. TIPOGRAFIA GLOBAL (FONTE E TÍTULOS) */
body:not(.page-Página_principal) .citizen-header__text {
/* Aplica fonte padrão no corpo todo */
     margin: 0 !important; padding: 0 !important; height: 0 !important; display: none !important;
body {
     font-family: 'Segoe UI', Roboto, sans-serif !important;
}
}


/* 4. AJUSTE FINO (Puxa o template pra cima) */
/* Títulos Globais */
body:not(.page-Página_principal) .celta-breadcrumb {
html body:not(.page-Página_principal) h1,
     margin-top: -10px;
html body:not(.page-Página_principal) h2,
     position: relative;
html body:not(.page-Página_principal) h3,
     z-index: 10;
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) */
/* LIMPEZA DE RODAPÉ (FOOTER) */
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;
}


/* Esconde a linha "Esta página foi modificada pela última vez..." */
/* Títulos H3 */
#footer-info-lastmod,
html body:not(.page-Página_principal) h3,
.citizen-footer__lastmod,
html body:not(.page-Página_principal) .mw-heading3 {
.page-info-lastmod {
     font-size: 1.2em !important;
     display: none !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border: none !important;
    padding-left: 0 !important;
    margin-top: 30px !important;
}
}


/* Espaçamento leve no cabeçalho (padrão costuma ser uns 20px, aqui reduzimos para 5px) */
/* Texto de Parágrafo */
.citizen-page-header-inner {
.mw-body-content p {
     padding-block: 5px !important;
    font-size: 1.05em !important;
    line-height: 1.7 !important;
    color: #475569 !important;
     margin-bottom: 1.2em !important;
    max-width: 900px;
}
}


/* FONTE ROBOTO GLOBAL */


/* Garante que o texto base seja fácil de ler */
/* 3. LIMPEZA DA INTERFACE (ESCONDER ELEMENTOS NATIVOS) */
body {
/* Esconde título nativo (pois usamos o Template:Cabecalho) */
    font-family: 'Roboto', sans-serif;
body:not(.page-Página_principal) .mw-page-title-main,
    font-weight: 400; /* Regular */
body:not(.page-Página_principal) h1#firstHeading,
     letter-spacing: 0.01em; /* Um leve espaçamento ajuda na leitura */
html body:not(.page-Página_principal) .citizen-section-indicator {
     display: none !important;
}
}


/* Deixa os títulos mais imponentes, mas sem ser "gordo" demais */
/* Compacta o topo nativo do tema */
h1, h2, h3, h4, h5, .mw-heading {
body:not(.page-Página_principal) header.mw-body-header,
     font-family: 'Roboto', sans-serif;
body:not(.page-Página_principal) .citizen-page-header {
     font-weight: 500; /* Medium - Fica muito chique em interfaces modernas */
     margin-bottom: 0 !important;
    letter-spacing: -0.02em; /* Títulos ficam melhores com letras levemente mais juntas */
    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 para o texto dentro das tabelas (para caber bem) */
/* Ajuste do Logo na Sidebar */
.wikitable {
.citizen-header .mw-logo-icon,
     font-family: 'Roboto', sans-serif;
.citizen-drawer__header .mw-logo-icon {
     font-size: 0.95em; /* Levemente menor para tabelas complexas */
     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;
}