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 Etiqueta: Revertido |
||
| Linha 1: | Linha 1: | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* | /* 4. RODAPÉ PROFISSIONAL (CLEAN BAR) */ | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* | /* A Barra em si */ | ||
.citizen-footer { | .citizen-footer { | ||
background-color: #ffffff !important; /* Fundo Branco */ | |||
border-top: 1px solid #e2e8f0 !important; /* Linha sutil no topo */ | |||
padding: 25px 40px !important; /* Espaçamento interno */ | |||
margin-top: 60px !important; /* Empurra o rodapé para longe do conteúdo */ | |||
box-shadow: 0 -4px 20px rgba(0,0,0,0.01) !important; /* Sombra muito leve pra cima */ | |||
} | } | ||
/* O Container do conteúdo (Centralizado e Flexível) */ | |||
.citizen-footer__content { | .citizen-footer__content { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: row !important; | flex-direction: row !important; /* Força linha horizontal */ | ||
align-items: center !important; | align-items: center !important; /* Alinha verticalmente no centro */ | ||
justify-content: space-between !important; | justify-content: space-between !important; /* Joga Logo pra esq, Texto pra dir */ | ||
max-width: 1150px !important; /* Mesma largura do conteúdo principal */ | |||
margin: 0 auto !important; | |||
gap: 20px !important; | |||
} | } | ||
margin: 0 !important; padding: 0 !important; | /* 1. LOGOTIPO (Esquerda) */ | ||
.citizen-footer__logo { | |||
order: 1 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
opacity: 0.8 !important; | |||
transition: opacity 0.2s !important; | |||
} | } | ||
.citizen-footer__logo { | .citizen-footer__logo:hover { | ||
opacity: 1 !important; | |||
} | } | ||
.citizen-footer .mw-logo-icon { | .citizen-footer .mw-logo-icon { | ||
height: 32px !important; width: auto !important; display: block !important; | height: 32px !important; /* Tamanho discreto */ | ||
width: auto !important; | |||
display: block !important; | |||
} | } | ||
/* Esconde o texto "Celta Sistemas Wiki" que vem junto com o logo */ | |||
.citizen-footer .mw-logo-wordmark { display: none !important; } | |||
/* 2. TEXTO DE COPYRIGHT (Direita) */ | |||
#footer-info { | #footer-info { | ||
order: 2; text-align: | order: 2 !important; | ||
font-size: 0. | margin: 0 !important; | ||
padding: 0 !important; | |||
text-align: right !important; /* Texto alinhado à direita */ | |||
flex-grow: 1 !important; | |||
} | |||
#footer-info li { | |||
display: inline-block !important; | |||
font-size: 0.9em !important; | |||
color: #64748b !important; /* Cinza azulado profissional */ | |||
font-weight: 500 !important; | |||
line-height: 1.4 !important; | |||
} | } | ||
/* 3. LIMPEZA TOTAL (Esconder Botões MediaWiki) */ | |||
#footer-icons { | #footer-icons { | ||
display: none !important; /* Remove o botão "Powered by MediaWiki" */ | |||
display: | |||
} | } | ||
#footer-info-lastmod, | |||
#footer-info-lastmod, .citizen-footer__lastmod { display: none !important; } | .citizen-footer__lastmod { | ||
display: none !important; /* Remove "Modificado em..." */ | |||
} | |||
/* RESPONSIVIDADE (Celular) */ | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.citizen-footer__content { flex-direction: column !important; gap: | .citizen-footer__content { | ||
flex-direction: column !important; /* Empilha no celular */ | |||
gap: 15px !important; | |||
text-align: center !important; | |||
} | |||
#footer-info { | |||
text-align: center !important; | |||
} | |||
} | } | ||
/* 2. TIPOGRAFIA GLOBAL COMPACTA */ | /* 2. TIPOGRAFIA GLOBAL COMPACTA */ | ||
Edição das 05h27min de 30 de novembro de 2025
/* ================================================================= */
/* 4. RODAPÉ PROFISSIONAL (CLEAN BAR) */
/* ================================================================= */
/* A Barra em si */
.citizen-footer {
background-color: #ffffff !important; /* Fundo Branco */
border-top: 1px solid #e2e8f0 !important; /* Linha sutil no topo */
padding: 25px 40px !important; /* Espaçamento interno */
margin-top: 60px !important; /* Empurra o rodapé para longe do conteúdo */
box-shadow: 0 -4px 20px rgba(0,0,0,0.01) !important; /* Sombra muito leve pra cima */
}
/* O Container do conteúdo (Centralizado e Flexível) */
.citizen-footer__content {
display: flex !important;
flex-direction: row !important; /* Força linha horizontal */
align-items: center !important; /* Alinha verticalmente no centro */
justify-content: space-between !important; /* Joga Logo pra esq, Texto pra dir */
max-width: 1150px !important; /* Mesma largura do conteúdo principal */
margin: 0 auto !important;
gap: 20px !important;
}
/* 1. LOGOTIPO (Esquerda) */
.citizen-footer__logo {
order: 1 !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0.8 !important;
transition: opacity 0.2s !important;
}
.citizen-footer__logo:hover {
opacity: 1 !important;
}
.citizen-footer .mw-logo-icon {
height: 32px !important; /* Tamanho discreto */
width: auto !important;
display: block !important;
}
/* Esconde o texto "Celta Sistemas Wiki" que vem junto com o logo */
.citizen-footer .mw-logo-wordmark { display: none !important; }
/* 2. TEXTO DE COPYRIGHT (Direita) */
#footer-info {
order: 2 !important;
margin: 0 !important;
padding: 0 !important;
text-align: right !important; /* Texto alinhado à direita */
flex-grow: 1 !important;
}
#footer-info li {
display: inline-block !important;
font-size: 0.9em !important;
color: #64748b !important; /* Cinza azulado profissional */
font-weight: 500 !important;
line-height: 1.4 !important;
}
/* 3. LIMPEZA TOTAL (Esconder Botões MediaWiki) */
#footer-icons {
display: none !important; /* Remove o botão "Powered by MediaWiki" */
}
#footer-info-lastmod,
.citizen-footer__lastmod {
display: none !important; /* Remove "Modificado em..." */
}
/* RESPONSIVIDADE (Celular) */
@media (max-width: 768px) {
.citizen-footer__content {
flex-direction: column !important; /* Empilha no celular */
gap: 15px !important;
text-align: center !important;
}
#footer-info {
text-align: center !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.2em !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: 15px !important;
}
/* 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: 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;
}
/* ================================================================= */
/* 📐 AJUSTE DA BARRA LATERAL (ÍNDICE) */
/* ================================================================= */
/* Empurra a coluna da direita para baixo para alinhar com o Título */
.citizen-col-toc {
padding-top: 60px !important; /* Aumente ou diminua esse número para alinhar perfeito */
}
/* Opcional: Se quiser que o "Última modificação" fique menos chamativo */
.page-info {
opacity: 0.6;
font-size: 0.85em;
}