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 5: Linha 5:
/* 1. RODAPÉ COMPACTO (SLIM) */
/* 1. RODAPÉ COMPACTO (SLIM) */


/* (Este bloco não mudou, já estava compacto) */
.citizen-page-footer {
  padding: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px;
}


.citizen-footer {
.citizen-footer {

Edição das 23h02min de 1 de dezembro de 2025

/* ================================================================= */
/* 🎨 VISUAL GLOBAL DO TEMA (OVERRIDES) */
/* ================================================================= */

/* 1. RODAPÉ COMPACTO (SLIM) */

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

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

}

.citizen-footer__siteinfo {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 1;
}

/* Garante que o container do titulo/logo não tenha margem */
.citizen-footer__sitetitle {
  display: block !important;
  margin: 0 !important;
  line-height: 0 !important;

}

/* 2. 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;
}

/* 3. TÍTULOS H2 (SEÇÃO PRINCIPAL) */
/* Risco Azul Lateral Único */
html body:not(.page-Página_principal) .mw-heading2 {
  font-size: 1.4em !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-top: 40px !important;
  margin-bottom: 15px !important;
  border-left: 5px solid #3366cc !important;
  padding-left: 15px !important;
  border-bottom: none !important;
  border-right: none !important;
  border-top: none !important;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Limpeza do H2 Interno */
html body:not(.page-Página_principal) .mw-heading2 h2 {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Indicador de Expansão (Seta) */
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;
}

/* Limpa pseudos antigos */
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;
}

/* 4. TÍTULOS H3 (SUB-SEÇÃO) */
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: 25px !important;
  margin-bottom: 10px !important;
}

/* 5. LIMPEZA E TELA CHEIA */
#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;
}

/* Lógica para classe .celta-full-width (Tela Cheia) */
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;
}

/* Ajuste do Índice */
.citizen-col-toc {
  padding-top: 60px !important;
}

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