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
 
(58 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
/* ================================================================= */
/* =========================================
/* 🦶 RODAPÉ ULTRA-COMPACTO (SLIM) */
  CELTA WIKI - CITIZEN SKIN OVERRIDES
/* ================================================================= */
  ========================================= */


/* 1. Container Geral: Removemos gorduras verticais */
:root {
.citizen-footer {
  /* --- Palette --- */
    padding: 4px 20px !important; /* Apenas 4px de altura extra */
  --celta-blue: #3366cc;
    margin-top: 10px !important; /* Cola mais no conteúdo da página */
  --celta-dark: #151E32;
    border-top: 1px solid #eaecf0;
  --celta-green: #198754;
    min-height: 0 !important; /* Permite que ele fique bem fininho */
  --celta-yellow: #ffc107;
  --celta-red: #dc3545;
 
  /* --- Text & Borders --- */
  --celta-text-main: #333;
  --celta-text-muted: #64748b;
  --celta-border-light: #e2e8f0;
  --celta-border-code: #cbd5e1;
 
  /* --- Fonts --- */
  --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
  --celta-font-mono: 'Consolas', 'Monaco', monospace;
}
}


/* 2. Forçar layout em LINHA (Horizontal) */
/* =========================================
.citizen-footer__content {
  1. GLOBAL RESET & LAYOUT
    display: flex !important;
  ========================================= */
    flex-direction: row !important;
 
    align-items: center !important;
* {
    justify-content: space-between !important;
  box-sizing: border-box !important;
    gap: 10px !important;
    width: 100% !important;
}
}


/* 3. MATAR MARGENS INTERNAS (O Segredo do Slim) */
body {
/* Remove margens automáticas das listas de texto */
  font-family: var(--celta-font-sans) !important;
#footer-info,
#footer-info ul,
#footer-info li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important; /* Texto bem juntinho */
}
}


/* 4. LOGO (Esquerda) */
/* Full Width Layout Overrides */
.citizen-footer__logo {
body:has(.celta-full-width) .citizen-col-toc {
    margin: 0 !important;
  display: none !important;
    padding: 0 !important;
    order: 1;
    line-height: 0 !important; /* Remove espaço extra embaixo da imagem */
}
}


.citizen-footer .mw-logo-wordmark { display: none !important; }
body:has(.celta-full-width) .citizen-col-content {
  grid-column: 1 / -1 !important;
  max-width: 100% !important;
}


/* Tamanho da logo */
body:has(.celta-full-width) .celta-page-header {
.citizen-footer .mw-logo-icon {
  max-width: 1150px;
    height: 32px !important; /* Diminui um pouco para caber na barra fina */
  margin: 0 auto 40px auto;
    width: auto !important;
    display: block !important;
}
}


/* 5. TEXTO CENTRAL (Meio) */
body:has(.celta-full-width) .citizen-section-indicator {
#footer-info {
  display: none !important;
    order: 2;
    text-align: center !important;
    flex-grow: 1;
    font-size: 0.85em !important; /* Texto um pouco menor */
    color: #666;
}
}


#footer-info li {
/* =========================================
    display: inline-block !important;
  2. HEADER & PAGE TITLES (Top)
}
  ========================================= */


/* 6. ÍCONE MEDIAWIKI (Direita) */
/* Hide Default Wiki Elements */
#footer-icons {
#siteSub,
    order: 3;
.citizen-section-indicator,
    margin: 0 !important;
body:not(.pageInício) .mw-page-title-main,
    padding: 0 !important;
body:not(.pageInício) h1#firstHeading,
    display: flex !important;
body:not(.pageInício) .firstHeading-container,
    align-items: center !important;
body:not(.pageInício) .citizen-header__text {
  display: none !important;
}
}


#footer-icons img {
/* Header Container Adjustments */
    height: 28px !important; /* Ícone menorzinho */
body:not(.pageInício) header.mw-body-header,
    width: auto !important;
body:not(.pageInício) .citizen-page-header {
  margin-bottom: 0 !important;
  padding-bottom: 0px !important;
  min-height: 0 !important;
  border-bottom: none !important;
}
}


/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .citizen-footer__content {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 10px 0 !important;
    }
}
/* --- AJUSTE FINO DO LOGO NO TOPO (SIDEBAR) --- */
.citizen-header .mw-logo-icon,
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
.citizen-drawer__header .mw-logo-icon {
    height: 40px !important; /* Reduzi de 55px para 40px */
  height: 40px !important;
    width: auto !important;
  width: auto !important;
    max-height: none !important;
  margin-top: 2px !important;
    margin-top: 2px !important; /* Um leve ajuste para centralizar */
}
}
/* --- REMOVER MENU DE PREFERÊNCIAS --- */
 
/* 1. Bloqueia pelo ID exato que aparece no seu inspetor */
/* =========================================
#citizen-preferences-details {
  3. TYPOGRAPHY & CONTENT (Middle)
    display: none !important;
  ========================================= */
    visibility: hidden !important;
 
    opacity: 0 !important;
/* General Headings */
    pointer-events: none !important;
html body:not(.pageInício) h1,
}
html body:not(.pageInício) h2,
/* 2. Bloqueia pelo texto do título (visto no seu print: "Alternar menu de preferências") */
html body:not(.pageInício) h3,
summary[title="Alternar menu de preferências"],
html body:not(.pageInício) h4 {
summary[aria-label="Alternar menu de preferências"] {
  font-family: var(--celta-font-sans) !important;
    display: none !important;
  color: #1e293b !important;
  margin-top: 1.2em !important;
  margin-bottom: 0.6em !important;
  line-height: 1.2 !important;
}
}
/* 3. Garante que suma da barra lateral rodapé
.citizen-sidebar__footer details,
.citizen-sidebar__footer summary {
    display: none !important;
} */


/* --- RESPONSIVIDADE DAS TABELAS DA PÁGINA PRINCIPAL --- */
.mw-body-content p {
@media (max-width: 768px) {
  font-size: 1em !important;
    .categoria-table,
  line-height: 1.6 !important;
    .help-table {
  color: #475569 !important;
        display: block !important;
  margin-bottom: 1.5em !important;
    }
  max-width: 900px;
    .categoria-table tbody,
    .categoria-table tr,
    .categoria-table td,
    .help-table tbody,
    .help-table tr,
    .help-table td {
        display: block !important;
        width: 100% !important;
    }
    .categoria-table td,
    .help-table td {
        margin-bottom: 10px !important;
        border-spacing: 0 !important;
    }
}
}


/* --- REMOVER FUNDO CINZA DOS LINKS COM SPAN ---
/* H1 - Page Title */
a span,
html body:not(.pageInício) h1 {
a:visited span,
  font-size: 2.2rem !important;
a:hover span,
  font-weight: 700 !important;
a:active span {
  border-bottom: 1px solid #e2e8f0 !important;
    background: none !important;
  padding-bottom: 15px !important;
    background-color: transparent !important;
  margin-bottom: 30px !important;
}*/
  margin-top: 10px !important;
 
/* Remove o texto "De Celta Sistemas Wiki" */
#siteSub {
    display: none;
}
}


/* Ajuste do tamanho do título */
/* H2 - Section Block */
.citizen-page-header-inner .firstHeading,
html body:not(.pageInício) .mw-heading2 {
.citizen-page-header .firstHeading,
  background-color: #FFFF !important;
#firstHeading {
  border-left: 5px solid var(--celta-blue) !important;
    font-size: 1.3em !important;
  border-radius: 4px !important;
    font-weight: 400 !important;
  padding: 12px 20px !important;
    letter-spacing: -0.03em !important;
  margin-top: 30px !important;
    line-height: 1.2 !important;
  margin-bottom: 20px !important;
    padding-top: 0 !important;
  border-bottom: none !important;
    padding-bottom: 0.2em !important;
  border-top: none !important;
    margin: 0 !important;
  border-right: none !important;
  font-size: 1.35em !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
  cursor: pointer;
}
}


.citizen-page-header {
html body:not(.pageInício) .mw-heading2 h2 {
    padding-top: 0px !important;
  font-size: inherit !important;
    padding-bottom: 0px !important;
  font-weight: inherit !important;
    margin-bottom: -0.8em !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
}


.citizen-body-header {
/* H2 Arrow */
    padding-top: 0.3em !important;
html body:not(.pageInício) .mw-heading2::after {
    margin-top: 0 !important;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--celta-border-code);
  border-bottom: 2px solid var(--celta-border-code);
  transform: rotate(45deg);
  margin-left: 15px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
}


/* Sombra para imagens com a classe screenshot */
html body:not(.pageInício) .mw-heading2:hover::after {
.screenshot img {
  border-color: #3b82f6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border: 1px solid #ddd;
    border-radius: 4px;
}
}


/* --- FOOTER CORRIGIDO (PROTEGE A SIDEBAR) --- */
html body:not(.pageInício) .mw-heading2::before,
/* 1. Configuração do Container Principal */
html body:not(.pageInício) h2::before {
.citizen-footer {
  content: none !important;
    padding: 8px 20px !important;
  display: none !important;
    margin-top: 30px !important;
}
/* 2. Forçar layout horizontal (Linha) */
.citizen-footer__content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Centraliza verticalmente */
    justify-content: space-between !important; /* Espalha: Esq - Meio - Dir */
    gap: 20px !important;
}
/* Oculta o texto "Celta Sistemas Wiki" SÓ no footer */
.citizen-footer .mw-logo-wordmark {
    display: none !important;
}
/* Ajusta o tamanho da logo SÓ no footer */
.citizen-footer .citizen-footer__sitetitle {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex-shrink: 0; /* Impede que a logo seja esmagada */
}
.citizen-footer .mw-logo-icon {
    height: 40px !important; /* Altura fixa para garantir que não fique minúscula */
    width: auto !important;
    display: block !important;
}
/* ----------------------------------------------------------- */
/* 3. TEXTO CENTRAL */
#footer-info {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    flex-grow: 1; /* Faz o texto ocupar o espaço central */
}
#footer-info li {
    display: inline-block !important;
    margin: 0 10px !important;
    font-size: 0.85em !important;
    line-height: 1 !important;
    color: #666;
}
/* 4. ÍCONE MEDIAWIKI (DIREITA) */
#footer-icons {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}
/* Ajuste para Celular (volta a empilhar para não quebrar) */
@media (max-width: 768px) {
    .citizen-footer__content {
        flex-direction: column !important;
        gap: 10px !important;
    }
}
/* --- AJUSTE FINO DO LOGO NO TOPO (SIDEBAR) --- */
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
    height: 40px !important; /* Reduzi de 55px para 40px */
    width: auto !important;
    max-height: none !important;
    margin-top: 2px !important; /* Um leve ajuste para centralizar */
}
/* --- REMOVER MENU DE PREFERÊNCIAS --- */
/* 1. Bloqueia pelo ID exato que aparece no seu inspetor */
#citizen-preferences-details {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* 2. Bloqueia pelo texto do título (visto no seu print: "Alternar menu de preferências") */
summary[title="Alternar menu de preferências"],
summary[aria-label="Alternar menu de preferências"] {
    display: none !important;
}
}
/* 3. Garante que suma da barra lateral rodapé
.citizen-sidebar__footer details,
.citizen-sidebar__footer summary {
    display: none !important;
} */


/* --- RESPONSIVIDADE DAS TABELAS DA PÁGINA PRINCIPAL --- */
/* H3 Styles */
@media (max-width: 768px) {
html body:not(.pageInício) h3,
    .categoria-table,
html body:not(.pageInício) .mw-heading3 {
    .help-table {
  font-size: 1.15em !important;
        display: block !important;
  font-weight: 600 !important;
    }
  color: #334155 !important;
    .categoria-table tbody,
  border: none !important;
    .categoria-table tr,
  padding-left: 0 !important;
    .categoria-table td,
  margin-top: 10px !important;
    .help-table tbody,
  margin-bottom: 0px !important;
    .help-table tr,
    .help-table td {
        display: block !important;
        width: 100% !important;
    }
    .categoria-table td,
    .help-table td {
        margin-bottom: 10px !important;
        border-spacing: 0 !important;
    }
}
}


/* --- REMOVER FUNDO CINZA DOS LINKS COM SPAN ---
/* =========================================
a span,
  4. CODE BLOCKS & UTILS
a:visited span,
  ========================================= */
a:hover span,
a:active span {
    background: none !important;
    background-color: transparent !important;
}*/


/* Remove o texto "De Celta Sistemas Wiki" */
pre,
#siteSub {
.mw-highlight,
    display: none;
.mw-code {
  background-color: #243342 !important;
  color: #f8f9fa !important;
  font-family: var(--celta-font-mono) !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border: 1px solid #34495e !important;
  position: relative;
  margin: 20px 0;
  overflow-x: auto;
  white-space: pre-wrap !important;
  font-size: 0.9em;
  line-height: 1.6;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
}


/* Ajuste do tamanho do título */
pre code,
.citizen-page-header-inner .firstHeading,
.mw-highlight code {
.citizen-page-header .firstHeading,
  background: transparent !important;
#firstHeading {
  color: inherit !important;
    font-size: 1.3em !important;
  border: none !important;
    font-weight: 400 !important;
  padding: 0 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    padding-top: 0 !important;
    padding-bottom: 0.2em !important;
    margin: 0 !important;
}
}


.citizen-page-header {
/* Copy Button */
    padding-top: 0px !important;
.mw-copy-btn {
    padding-bottom: 0px !important;
  position: absolute;
    margin-bottom: -0.8em !important;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 6px;
}
}


.citizen-body-header {
.mw-copy-btn svg {
    padding-top: 0.3em !important;
  width: 16px;
    margin-top: 0 !important;
  height: 16px;
  stroke: #a0aec0;
  transition: stroke 0.2s;
}
}


/* Sombra para imagens com a classe screenshot */
.mw-copy-btn:hover {
.screenshot img {
  background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-color: rgba(255, 255, 255, 0.3);
    border: 1px solid #ddd;
  transform: translateY(-1px);
    border-radius: 4px;
}
}


/* ================================================================= */
.mw-copy-btn:hover svg {
/* 🛡️ PADRÃO CELTA ERP (CSS INTELIGENTE) */
  stroke: #fff;
/* Aplica o visual de manual em tudo, MENOS na Página Principal */
/* ================================================================= */
 
/* 1. EXTERMÍNIO DA SETA (COLLAPSE ICON) */
html body:not(.page-Página_principal) .citizen-section-indicator,
html body:not(.page-Página_principal) .mw-heading .indicator,
html body:not(.page-Página_principal) .citizen-sections-enabled .citizen-section-indicator {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
}


/* 2. CORREÇÃO DOS TÍTULOS H2 (BARRA AZUL) */
.mw-copy-btn.copied {
html body:not(.page-Página_principal) .mw-heading.mw-heading2,
  background: rgba(34, 197, 94, 0.2);
html body:not(.page-Página_principal) .citizen-section-heading {
  border-color: rgba(34, 197, 94, 0.4);
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
}
}


/* ================================================================= */
.mw-copy-btn.copied svg {
/* 📐 ESPAÇAMENTOS E TIPOGRAFIA (VERTICAL RHYTHM) */
  stroke: #4ade80;
/* ================================================================= */
 
/* 1. TÍTULOS H2 (Seções Principais) */
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) .mw-heading2 {
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    border-left: 4px solid var(--color-primary, #3366cc) !important;
    padding-left: 15px !important;
    font-weight: 700 !important;
    font-size: 1.2em !important;
    line-height: 1.2 !important;
    font-family: "Roboto", sans-serif !important;  
}
}


/* 2. TÍTULOS H3 (Subseções) */
.citizen-col-toc {
html body:not(.page-Página_principal) h3,
  padding-top: 60px !important;
html body:not(.page-Página_principal) .mw-heading3 {
    margin-top: 30px !important;
    margin-bottom: 10px !important;
   
    padding-left: 10px !important;
    border-left: 3px solid #c8ccd1 !important;
    font-weight: 600 !important;
    font-size: 1.15em !important;
    font-family: "Roboto", sans-serif !important;  
}
}


/* 3. PARÁGRAFOS (Texto Comum) */
.page-info {
/* Dá um respiro padrão entre blocos de texto */
  opacity: 0.6;
.mw-body-content p {
  font-size: 0.85em;
    margin-bottom: 1em !important;
    line-height: 1.6 !important; /* Melhora leitura */
    color: #202122; /* Cinza quase preto (menos cansativo que preto puro) */
}
}


/* 4. LISTAS (Bullet points e Numeradas) */
/* =========================================
.mw-body-content ul,
  5. FOOTER OVERRIDES (Bottom)
.mw-body-content ol {
  ========================================= */
    margin-bottom: 1em !important;
    margin-top: 0.5em !important;
}


/* Espaço entre os itens da lista (para não ficar tudo grudado) */
.citizen-page-footer {
.mw-body-content li {
  padding: 0px !important;
    margin-bottom: 0.3em !important;
  margin-top: 0px !important;
  margin-bottom: 0px;
}
}


/* 5. IMAGENS, PRINTS E LEGENDAS */
.citizen-footer {
/* Container da imagem: Garante espaçamento e centralização */
   padding: 4px 20px !important;
.mw-file-description figcaption,
  margin-top: 30px !important;
.thumbcaption {
  border-top: 1px solid #eaecf0;
    font-size: 0.85em !important;   /* Letra pequena (<small>) */
  min-height: 0 !important;
    color: #7f8c8d !important;     /* Cinza suave */
    text-align: center !important; /* Centralizado */
    margin-top: 4px !important;     /* Grudado na imagem (apenas 4px de respiro) */
    line-height: 1.2 !important;
    font-weight: 400 !important;
    display: block !important;
}
}


/* Garante que a imagem e a legenda fiquem centralizadas na página */
.citizen-footer__content {
.mw-file-description,
  display: flex !important;
figure[typeof~="mw:File/Thumb"] {
  flex-direction: row !important;
    display: table !important;     /* Mantém a legenda da largura da imagem */
  align-items: center !important;
    margin-left: auto !important;
  justify-content: space-between !important;
    margin-right: auto !important;
  gap: 10px !important;
    text-align: center !important;
  width: 100% !important;
}
}


/* 6. TABELAS */
#footer-info,
.wikitable {
#footer-info ul,
    margin-bottom: 25px !important;
#footer-info li {
    margin-top: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}
}


/* 4. LINHA HORIZONTAL (HR) */
.citizen-footer__logo {
html body:not(.page-Página_principal) hr {
  margin: 0 !important;
    margin: 20px 0 !important;
  padding: 0 !important;
    height: 1px;
  order: 1;
    border: none;
  line-height: 0 !important;
    background-color: #eaecf0;
}
}


/* 5. ÍNDICE LATERAL (TOC) AZUL */
.citizen-footer .mw-logo-wordmark {
html body:not(.page-Página_principal) .citizen-toc__item--active > a,
  display: none !important;
html body:not(.page-Página_principal) .citizen-toc__item--active > .citizen-toc__link {
    color: #3366cc !important;
    font-weight: 700 !important;
    border-left: 3px solid #3366cc !important;
    background-color: rgba(51, 102, 204, 0.08) !important;
    padding-left: 10px !important;
    text-decoration: none !important;
}
}


/* 6. TEMPLATES (BREADCRUMB, META, NOTAS) */
.citizen-footer .mw-logo-icon {
/* Estes podem ser globais para manter consistência de cor */
  height: 45px !important;
.celta-breadcrumb a { color: #3366cc !important; text-decoration: none; font-weight: 600; }
  width: auto !important;
.celta-breadcrumb a:hover { text-decoration: underline; }
  display: block !important;
 
.celta-note-box {
    background-color: rgba(51, 102, 204, 0.03) !important;
    border: 1px solid rgba(51, 102, 204, 0.2) !important;
    border-left: 4px solid #3366cc !important;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
}
.celta-note-title {
    font-weight: 700; font-size: 0.95em;
    color: #3366cc !important;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
}
}


/* 7. INTRODUÇÃO (<BIG>) */
#footer-info {
html body:not(.page-Página_principal) big {
  order: 2;
    display: block !important;
  text-align: center !important;
    background-color: #f8f9fa;
  flex-grow: 1;
    border: 1px solid #eaecf0;
  font-size: 0.85em !important;
    border-left: 4px solid #3366cc;
  color: #666;
    border-radius: 4px;
    padding: 15px !important;
    margin-bottom: 20px !important;
    font-size: 1.05em !important;
}
}


/* 8. BADGES DE VERSÃO (Globais) */
#footer-info li {
.celta-badge {
  display: inline-block !important;
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 0.6em; font-weight: 700; text-transform: uppercase;
    margin-left: 10px; vertical-align: middle; position: relative; top: -2px;
}
}
.celta-badge-novo { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.celta-badge-versao { background: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; }


/* ================================================================= */
#footer-icons {
/* ✂️ REMOÇÃO DO TÍTULO NATIVO (APENAS EM MANUAIS) */
  order: 3;
/* ================================================================= */
  margin: 0 !important;
 
  padding: 0 !important;
/* 1. ESCONDE O TÍTULO NATIVO */
  display: flex !important;
body:not(.page-Página_principal) .mw-page-title-main,
  align-items: center !important
body:not(.page-Página_principal) h1#firstHeading {
    display: none !important;
}
}


/* 2. COMPACTA O CABEÇALHO DO TEMA */
#footer-icons img {
body:not(.page-Página_principal) header.mw-body-header,
  height: 28px !important;
body:not(.page-Página_principal) .citizen-page-header {
  width: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
    min-height: 0 !important;
    border-bottom: none !important;
}
}


/* 3. REMOVE O ESPAÇO DO CONTAINER */
#footer-info-lastmod,
body:not(.page-Página_principal) .firstHeading-container,
.citizen-footer__lastmod {
body:not(.page-Página_principal) .citizen-header__text {
  display: none !important;
    margin: 0 !important; padding: 0 !important; height: 0 !important; display: none !important;
}
}


/* 4. AJUSTE FINO (Puxa o template pra cima) */
.citizen-footer__siteinfo {
body:not(.page-Página_principal) .celta-breadcrumb {
  display: block !important;
    margin-top: -10px;
  margin: 0 !important;
    position: relative;
  padding: 0 !important;
    z-index: 10;
  order: 1;
}
}


/* ================================================================= */
.citizen-footer__sitetitle {
/* 🧹 LIMPEZA DE RODAPÉ (FOOTER) */
  display: block !important;
/* ================================================================= */
  margin: 0 !important;
 
  line-height: 0 !important;
/* Esconde a linha "Esta página foi modificada pela última vez..." */
#footer-info-lastmod,
.citizen-footer__lastmod,
.page-info-lastmod {
    display: none !important;
}
}


/* Espaçamento leve no cabeçalho (padrão costuma ser uns 20px, aqui reduzimos para 5px) */
/* =========================================
.citizen-page-header-inner {
  6. MOBILE RESPONSIVENESS
    padding-block: 5px !important;
  ========================================= */
}


/* FONTE ROBOTO GLOBAL */
@media (max-width: 768px) {
  .citizen-footer__content {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }


/* Garante que o texto base seja fácil de ler */
  .citizen-col-toc {
body {
     display: none !important;
    font-family: 'Roboto', sans-serif;
  }
     font-weight: 400; /* Regular */
    letter-spacing: 0.01em; /* Um leve espaçamento ajuda na leitura */
}


/* Deixa os títulos mais imponentes, mas sem ser "gordo" demais */
  .citizen-col-content {
h1, h2, h3, h4, h5, .mw-heading {
     grid-column: 1 / -1 !important;
     font-family: 'Roboto', sans-serif;
     max-width: 100% !important;
     font-weight: 500; /* Medium - Fica muito chique em interfaces modernas */
    display: flex !important;
     letter-spacing: -0.02em; /* Títulos ficam melhores com letras levemente mais juntas */
     align-items: center !important;
  }
}
}


/* Ajuste para o texto dentro das tabelas (para caber bem) */
.erp-menu-item.active {
.wikitable {
     background-color: #e3f2fd !important;
     font-family: 'Roboto', sans-serif;
    color: #1565c0 !important;
     font-size: 0.95em; /* Levemente menor para tabelas complexas */
     border-left-color: #3366cc !important;
}
}

Edição atual tal como às 20h16min de 13 de dezembro de 2025

/* =========================================
   CELTA WIKI - CITIZEN SKIN OVERRIDES
   ========================================= */

:root {
  /* --- Palette --- */
  --celta-blue: #3366cc;
  --celta-dark: #151E32;
  --celta-green: #198754;
  --celta-yellow: #ffc107;
  --celta-red: #dc3545;

  /* --- Text & Borders --- */
  --celta-text-main: #333;
  --celta-text-muted: #64748b;
  --celta-border-light: #e2e8f0;
  --celta-border-code: #cbd5e1;

  /* --- Fonts --- */
  --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
  --celta-font-mono: 'Consolas', 'Monaco', monospace;
}

/* =========================================
   1. GLOBAL RESET & LAYOUT
   ========================================= */

* {
  box-sizing: border-box !important;
}

body {
  font-family: var(--celta-font-sans) !important;
}

/* Full Width Layout Overrides */
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;
}

/* =========================================
   2. HEADER & PAGE TITLES (Top)
   ========================================= */

/* Hide Default Wiki Elements */
#siteSub,
.citizen-section-indicator,
body:not(.pageInício) .mw-page-title-main,
body:not(.pageInício) h1#firstHeading,
body:not(.pageInício) .firstHeading-container,
body:not(.pageInício) .citizen-header__text {
  display: none !important;
}

/* Header Container Adjustments */
body:not(.pageInício) header.mw-body-header,
body:not(.pageInício) .citizen-page-header {
  margin-bottom: 0 !important;
  padding-bottom: 0px !important;
  min-height: 0 !important;
  border-bottom: none !important;
}

.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
  height: 40px !important;
  width: auto !important;
  margin-top: 2px !important;
}

/* =========================================
   3. TYPOGRAPHY & CONTENT (Middle)
   ========================================= */

/* General Headings */
html body:not(.pageInício) h1,
html body:not(.pageInício) h2,
html body:not(.pageInício) h3,
html body:not(.pageInício) h4 {
  font-family: var(--celta-font-sans) !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.6 !important;
  color: #475569 !important;
  margin-bottom: 1.5em !important;
  max-width: 900px;
}

/* H1 - Page Title */
html body:not(.pageInício) h1 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-bottom: 15px !important;
  margin-bottom: 30px !important;
  margin-top: 10px !important;
}

/* H2 - Section Block */
html body:not(.pageInício) .mw-heading2 {
  background-color: #FFFF !important;
  border-left: 5px solid var(--celta-blue) !important;
  border-radius: 4px !important;
  padding: 12px 20px !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
  border-bottom: none !important;
  border-top: none !important;
  border-right: none !important;
  font-size: 1.35em !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
  cursor: pointer;
}

html body:not(.pageInício) .mw-heading2 h2 {
  font-size: inherit !important;
  font-weight: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* H2 Arrow */
html body:not(.pageInício) .mw-heading2::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--celta-border-code);
  border-bottom: 2px solid var(--celta-border-code);
  transform: rotate(45deg);
  margin-left: 15px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

html body:not(.pageInício) .mw-heading2:hover::after {
  border-color: #3b82f6;
}

html body:not(.pageInício) .mw-heading2::before,
html body:not(.pageInício) h2::before {
  content: none !important;
  display: none !important;
}

/* H3 Styles */
html body:not(.pageInício) h3,
html body:not(.pageInício) .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;
}

/* =========================================
   4. CODE BLOCKS & UTILS
   ========================================= */

pre,
.mw-highlight,
.mw-code {
  background-color: #243342 !important;
  color: #f8f9fa !important;
  font-family: var(--celta-font-mono) !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border: 1px solid #34495e !important;
  position: relative;
  margin: 20px 0;
  overflow-x: auto;
  white-space: pre-wrap !important;
  font-size: 0.9em;
  line-height: 1.6;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

pre code,
.mw-highlight code {
  background: transparent !important;
  color: inherit !important;
  border: none !important;
  padding: 0 !important;
}

/* Copy Button */
.mw-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 6px;
}

.mw-copy-btn svg {
  width: 16px;
  height: 16px;
  stroke: #a0aec0;
  transition: stroke 0.2s;
}

.mw-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.mw-copy-btn:hover svg {
  stroke: #fff;
}

.mw-copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
}

.mw-copy-btn.copied svg {
  stroke: #4ade80;
}

.citizen-col-toc {
  padding-top: 60px !important;
}

.page-info {
  opacity: 0.6;
  font-size: 0.85em;
}

/* =========================================
   5. FOOTER OVERRIDES (Bottom)
   ========================================= */

.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;
}

/* =========================================
   6. MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 768px) {
  .citizen-footer__content {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }

  .citizen-col-toc {
    display: none !important;
  }

  .citizen-col-content {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
}

.erp-menu-item.active {
    background-color: #e3f2fd !important;
    color: #1565c0 !important;
    border-left-color: #3366cc !important;
}