MediaWiki:Citizen.css
Página de Interface do MediaWiki
Mais ações
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/* 1. ESCONDE O TÍTULO NATIVO */
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) h1#firstHeading {
display: none !important;
}
/* 2. COMPACTA O CABEÇALHO 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;
}
/* 3. REMOVE O ESPAÇO DO CONTAINER */
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;
}
/* 4. AJUSTE FINO (Puxa o template pra cima) */
body:not(.page-Página_principal) .celta-breadcrumb {
margin-top: -10px;
position: relative;
z-index: 10;
}
/* ================================================================= */
/* LIMPEZA DE RODAPÉ (FOOTER) */
/* ================================================================= */
/* 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 {
padding-block: 5px !important;
}
/* FONTE ROBOTO GLOBAL */
/* Garante que o texto base seja fácil de ler */
body {
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 */
h1, h2, h3, h4, h5, .mw-heading {
font-family: 'Roboto', sans-serif;
font-weight: 500; /* Medium - Fica muito chique em interfaces modernas */
letter-spacing: -0.02em; /* Títulos ficam melhores com letras levemente mais juntas */
}
/* Ajuste para o texto dentro das tabelas (para caber bem) */
.wikitable {
font-family: 'Roboto', sans-serif;
font-size: 0.95em; /* Levemente menor para tabelas complexas */
}