MediaWiki:Citizen.css: mudanças entre as edições
Página de Interface do MediaWiki
Mais ações
Sem resumo de edição Etiqueta: Revertido |
Etiqueta: Desfazer |
||
| Linha 1: | Linha 1: | ||
/* | /* VISUAL GLOBAL (CITIZEN OVERRIDES) */ | ||
/* RESET & BOX MODEL */ | |||
* { | |||
box-sizing: border-box !important; | |||
- | |||
} | } | ||
/* | /* RODAPÉ COMPACTO */ | ||
.citizen-page-footer { | |||
padding: 0px !important; | |||
margin-top: 0px !important; | |||
margin-bottom: 0px; | |||
} | } | ||
.citizen-footer { | |||
. | padding: 4px 20px !important; | ||
padding: | margin-top: 30px !important; | ||
margin | border-top: 1px solid #eaecf0; | ||
min-height: 0 !important; | |||
border- | |||
} | } | ||
. | .citizen-footer__content { | ||
display: flex !important; | |||
flex-direction: row !important; | |||
display: flex | align-items: center !important; | ||
justify-content: space-between !important; | |||
gap: 10px !important; | |||
width: 100% !important; | |||
gap: 10px | |||
width: 100% | |||
} | } | ||
#footer-info, | |||
#footer-info ul, | |||
#footer-info li { | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
line-height: 1.1 !important; | |||
} | } | ||
. | .citizen-footer__logo { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
order: 1; | |||
line-height: 0 !important; | |||
} | } | ||
. | .citizen-footer .mw-logo-wordmark { | ||
display | 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; | |||
color: # | |||
} | } | ||
#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; | |||
} | } | ||
@media (max-width: 768px) { | |||
.citizen-footer__content { | |||
flex-direction: column !important; | |||
gap: 8px !important; | |||
padding: 10px 0 !important; | |||
. | |||
} | } | ||
} | } | ||
/* | /* 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; | 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; | max-width: 900px; | ||
} | } | ||
/* TITULOS H2 */ | |||
html body:not(.page-Página_principal) .mw-heading2 { | |||
font-size: 1.4em !important; | |||
font-weight: 700 !important; | |||
color: #1e293b !important; | |||
margin-top: 25px !important; | |||
margin-bottom: 5px !important; | |||
border-left: 3px solid #3366cc !important; | |||
font-size: | padding-left: 10px !important; | ||
font-weight: 700; | border-bottom: none !important; | ||
border-right: none !important; | |||
border-top: none !important; | |||
margin-bottom: | position: relative; | ||
border- | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
cursor: pointer; | |||
} | } | ||
. | html body:not(.page-Página_principal) .mw-heading2 h2 { | ||
border: none !important; | |||
margin: 0 !important; | |||
padding: 5px !important; | |||
font-size: inherit !important; | |||
font-weight: inherit !important; | |||
line-height: 1.2 !important; | |||
} | } | ||
. | /* Seta Indicadora H2 */ | ||
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; | |||
} | } | ||
. | 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; | |||
} | } | ||
. | /* TITULOS H3 */ | ||
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: # | color: #334155 !important; | ||
border: none !important; | |||
padding-left: 0 !important; | |||
margin-top: 10px !important; | |||
margin-bottom: 0px !important; | |||
} | } | ||
. | /* LIMPEZA DE HEADER E UTILS */ | ||
#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; | |||
. | |||
. | |||
padding | |||
border-bottom: none !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; | margin: 0 !important; | ||
padding: 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: | margin-top: 2px !important; | ||
} | } | ||
.celta- | /* LAYOUT TELA CHEIA (.celta-full-width) */ | ||
body:has(.celta-full-width) .citizen-col-toc { | |||
display: none !important; | |||
} | } | ||
.celta- | body:has(.celta-full-width) .citizen-col-content { | ||
grid-column: 1 / -1 !important; | |||
max-width: 100% !important; | |||
} | } | ||
.celta- | body:has(.celta-full-width) .celta-page-header { | ||
max-width: 1150px; | |||
margin: 0 auto 40px auto; | |||
} | } | ||
.celta- | body:has(.celta-full-width) .citizen-section-indicator { | ||
display: none !important; | |||
} | } | ||
. | .citizen-col-toc { | ||
padding-top: 60px !important; | |||
} | } | ||
.page-info { | |||
. | opacity: 0.6; | ||
font-size: 0.85em; | |||
} | } | ||
/* RESPONSIVIDADE GLOBAL DO LAYOUT */ | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .citizen-col-toc { | ||
display: none !important; | |||
display | |||
} | } | ||
.citizen-col-content { | |||
grid-column: 1 / -1 !important; | |||
max-width: 100% !important; | |||
. | |||
} | } | ||
. | .mw-content-container, | ||
.citizen-page-content { | |||
padding: 0 10px !important; | |||
} | } | ||
. | body:not(.page-Página_principal) header.mw-body-header, | ||
body:not(.page-Página_principal) .citizen-page-header { | |||
padding: 0 10px !important; | |||
padding: | |||
} | } | ||
} | } | ||
Edição das 14h18min de 3 de dezembro de 2025
/* VISUAL GLOBAL (CITIZEN OVERRIDES) */
/* RESET & BOX MODEL */
* {
box-sizing: border-box !important;
}
/* RODAPÉ COMPACTO */
.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;
}
@media (max-width: 768px) {
.citizen-footer__content {
flex-direction: column !important;
gap: 8px !important;
padding: 10px 0 !important;
}
}
/* 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;
}
/* TITULOS H2 */
html body:not(.page-Página_principal) .mw-heading2 {
font-size: 1.4em !important;
font-weight: 700 !important;
color: #1e293b !important;
margin-top: 25px !important;
margin-bottom: 5px !important;
border-left: 3px solid #3366cc !important;
padding-left: 10px !important;
border-bottom: none !important;
border-right: none !important;
border-top: none !important;
position: relative;
display: flex;
align-items: center;
cursor: pointer;
}
html body:not(.page-Página_principal) .mw-heading2 h2 {
border: none !important;
margin: 0 !important;
padding: 5px !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: 1.2 !important;
}
/* Seta Indicadora H2 */
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;
}
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;
}
/* TITULOS H3 */
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: 10px !important;
margin-bottom: 0px !important;
}
/* LIMPEZA DE HEADER E UTILS */
#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;
}
/* LAYOUT TELA CHEIA (.celta-full-width) */
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;
}
.citizen-col-toc {
padding-top: 60px !important;
}
.page-info {
opacity: 0.6;
font-size: 0.85em;
}
/* RESPONSIVIDADE GLOBAL DO LAYOUT */
@media (max-width: 768px) {
.citizen-col-toc {
display: none !important;
}
.citizen-col-content {
grid-column: 1 / -1 !important;
max-width: 100% !important;
}
.mw-content-container,
.citizen-page-content {
padding: 0 10px !important;
}
body:not(.page-Página_principal) header.mw-body-header,
body:not(.page-Página_principal) .citizen-page-header {
padding: 0 10px !important;
}
}