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 293: | Linha 293: | ||
@media (max-width: 768px) { | @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 */ | |||
.citizen-footer__content { | .citizen-footer__content { | ||
flex-direction: column !important; | flex-direction: column !important; | ||
| Linha 493: | Linha 689: | ||
} | } | ||
/* Copy | /* Copy Button (Injected via JS) */ | ||
.mw-copy-btn { | |||
.mw- | |||
position: absolute; | position: absolute; | ||
top: 12px; | top: 12px; | ||
right: 12px; | right: 12px; | ||
width: | width: 32px; | ||
height: | height: 32px; | ||
background: rgba(255, 255, 255, 0.1); | |||
border: 1px solid rgba(255, 255, 255, 0.2); | |||
border-radius: 6px; | |||
cursor: pointer; | cursor: pointer; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
transition: all 0.2s ease; | |||
z-index: 10; | z-index: 10; | ||
padding: 6px; | |||
} | |||
.mw-copy-btn svg { | |||
width: 16px; | |||
height: 16px; | |||
stroke: #a0aec0; | |||
transition: stroke 0.2s; | |||
} | |||
.mw-copy-btn:hover { | |||
background: rgba(255, 255, 255, 0.2); | |||
border-color: rgba(255, 255, 255, 0.3); | |||
transform: translateY(-1px); | |||
} | |||
.mw-copy-btn:hover svg { | |||
stroke: #fff; | |||
} | |||
.mw-copy-btn.copied { | |||
background: rgba(34, 197, 94, 0.2); | |||
border-color: rgba(34, 197, 94, 0.4); | |||
} | } | ||
.mw-copy-btn.copied svg { | |||
.mw- | stroke: #4ade80; | ||
} | } | ||
Edição das 17h39min 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 */
.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 Button (Injected via JS) */
.mw-copy-btn {
position: absolute;
top: 12px;
right: 12px;
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
z-index: 10;
padding: 6px;
}
.mw-copy-btn svg {
width: 16px;
height: 16px;
stroke: #a0aec0;
transition: stroke 0.2s;
}
.mw-copy-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}
.mw-copy-btn:hover svg {
stroke: #fff;
}
.mw-copy-btn.copied {
background: rgba(34, 197, 94, 0.2);
border-color: rgba(34, 197, 94, 0.4);
}
.mw-copy-btn.copied svg {
stroke: #4ade80;
}
/* Fix for code inside pre */
pre code,
.mw-highlight code {
background: transparent !important;
color: inherit !important;
border: none !important;
padding: 0 !important;
}