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 70: | Linha 70: | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 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: var(--celta-font-sans) !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: var(--celta-font-sans) !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 var(--celta-blue) !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 var(--celta-border-code); | |||
border-bottom: 2px solid var(--celta-border-code); | |||
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; | |||
} | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important | align-items: center !important | ||
| Linha 274: | Linha 469: | ||
padding: 0 10px !important; | padding: 0 10px !important; | ||
} | } | ||
} | |||
/* GLOBAL CODE BLOCKS (Dark Mode Override) */ | |||
pre, | |||
.mw-highlight, | |||
.mw-code { | |||
background-color: #243342 !important; | |||
/* Dark Slate */ | |||
color: #f8f9fa !important; | |||
/* Ice White */ | |||
font-family: var(--celta-font-mono) !important; | |||
padding: 20px !important; | |||
border-radius: 8px !important; | |||
border: 1px solid #34495e !important; | |||
position: relative; | |||
margin: 20px 0; | |||
overflow-x: auto; | |||
white-space: pre-wrap !important; | |||
/* Fix whitespace */ | |||
font-size: 0.9em; | |||
line-height: 1.6; | |||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |||
} | |||
/* Copy Icon */ | |||
pre::before, | |||
.mw-highlight::before { | |||
content: ""; | |||
position: absolute; | |||
top: 12px; | |||
right: 12px; | |||
width: 20px; | |||
height: 20px; | |||
cursor: pointer; | |||
opacity: 0.6; | |||
transition: all 0.2s; | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E"); | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
z-index: 10; | |||
} | |||
pre:hover::before, | |||
.mw-highlight:hover::before { | |||
opacity: 1; | |||
transform: scale(1.1); | |||
} | |||
/* Fix for code inside pre */ | |||
pre code, | |||
.mw-highlight code { | |||
background: transparent !important; | |||
color: inherit !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
} | } | ||
Edição das 17h08min 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: var(--celta-font-sans) !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: var(--celta-font-sans) !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 var(--celta-blue) !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 var(--celta-border-code);
border-bottom: 2px solid var(--celta-border-code);
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;
}
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: var(--celta-font-sans) !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: var(--celta-font-sans) !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 var(--celta-blue) !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 var(--celta-border-code);
border-bottom: 2px solid var(--celta-border-code);
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;
}
}
/* GLOBAL CODE BLOCKS (Dark Mode Override) */
pre,
.mw-highlight,
.mw-code {
background-color: #243342 !important;
/* Dark Slate */
color: #f8f9fa !important;
/* Ice White */
font-family: var(--celta-font-mono) !important;
padding: 20px !important;
border-radius: 8px !important;
border: 1px solid #34495e !important;
position: relative;
margin: 20px 0;
overflow-x: auto;
white-space: pre-wrap !important;
/* Fix whitespace */
font-size: 0.9em;
line-height: 1.6;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Copy Icon */
pre::before,
.mw-highlight::before {
content: "";
position: absolute;
top: 12px;
right: 12px;
width: 20px;
height: 20px;
cursor: pointer;
opacity: 0.6;
transition: all 0.2s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
z-index: 10;
}
pre:hover::before,
.mw-highlight:hover::before {
opacity: 1;
transform: scale(1.1);
}
/* Fix for code inside pre */
pre code,
.mw-highlight code {
background: transparent !important;
color: inherit !important;
border: none !important;
padding: 0 !important;
}