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 |
||
| Linha 1: | Linha 1: | ||
/* --- FOOTER | /* --- FOOTER CORRIGIDO (PROTEGE A SIDEBAR) --- */ | ||
/* 1. Configuração do Container Principal */ | /* 1. Configuração do Container Principal */ | ||
.citizen-footer { | .citizen-footer { | ||
padding: 8px 20px !important; | padding: 8px 20px !important; | ||
margin-top: 30px !important; | margin-top: 30px !important; | ||
} | } | ||
/* 2. Forçar | /* 2. Forçar layout horizontal (Linha) */ | ||
.citizen-footer__content { | .citizen-footer__content { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: row !important; | flex-direction: row !important; | ||
align-items: center !important; /* Centraliza verticalmente */ | align-items: center !important; /* Centraliza verticalmente */ | ||
justify-content: space-between !important; /* | justify-content: space-between !important; /* Espalha: Esq - Meio - Dir */ | ||
gap: 20px !important; | gap: 20px !important; | ||
} | } | ||
/* | /* --- AQUI ESTAVA O ERRO ANTERIOR: AGORA RESTRITO AO FOOTER --- */ | ||
.citizen-footer__sitetitle { | |||
/* 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; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
display: block !important; | display: block !important; | ||
flex-shrink: 0; /* Impede que a logo seja esmagada */ | |||
} | } | ||
.mw-logo-icon { | .citizen-footer .mw-logo-icon { | ||
height: | height: 40px !important; /* Altura fixa para garantir que não fique minúscula */ | ||
width: auto !important; | width: auto !important; | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* ----------------------------------------------------------- */ | |||
/* | /* 3. TEXTO CENTRAL */ | ||
#footer-info { | #footer-info { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
text-align: | text-align: center !important; | ||
flex-grow: 1; /* | flex-grow: 1; /* Faz o texto ocupar o espaço central */ | ||
} | } | ||
#footer-info li { | #footer-info li { | ||
display: inline-block !important; | display: inline-block !important; | ||
margin | margin: 0 10px !important; | ||
font-size: 0.85em !important; | font-size: 0.85em !important; | ||
line-height: 1 !important; | line-height: 1 !important; | ||
color: #666; | |||
} | } | ||
/* | /* 4. ÍCONE MEDIAWIKI (DIREITA) */ | ||
#footer-icons { | #footer-icons { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
flex-shrink: 0; | |||
} | } | ||
/* | /* Ajuste para Celular (volta a empilhar para não quebrar) */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.citizen-footer__content { | .citizen-footer__content { | ||
flex-direction: column !important; | flex-direction: column !important; | ||
gap: 10px !important; | gap: 10px !important; | ||
} | } | ||
} | } | ||
Edição das 04h34min de 23 de novembro de 2025
/* --- FOOTER CORRIGIDO (PROTEGE A SIDEBAR) --- */
/* 1. Configuração do Container Principal */
.citizen-footer {
padding: 8px 20px !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;
}
/* --- AQUI ESTAVA O ERRO ANTERIOR: AGORA RESTRITO AO FOOTER --- */
/* 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;
}
}