Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
Line 3: Line 3:
--table-border: #a2a9b1;
--table-border: #a2a9b1;
--table-background-color: #f8f9fa;
--table-background-color: #f8f9fa;
--code-background-color: #f8f9fa;
--code-border: #eaecf0;
--default-text-color: #000000;
}
}


Line 8: Line 11:
--table-header-background: #444444;
--table-header-background: #444444;
--table-background-color: #222226;
--table-background-color: #222226;
--code-background-color: #000011;
--code-border: #222222;
--default-text-color: #dddddd;
}
}


Line 51: Line 57:
align-items: center;
align-items: center;
border: 1px solid var(--table-border);
border: 1px solid var(--table-border);
background-color: ;
background-color: var(--table-background-color);
padding: 5px;
padding: 5px;
width: 14em;
width: 14em;
Line 98: Line 104:
.client-darkmode #content, .client-darkmode #content h1, .client-darkmode #content h2, .client-darkmode #content h3, .client-darkmode #content h4, .client-darkmode #content h5, .client-darkmode #content h6 {
.client-darkmode #content, .client-darkmode #content h1, .client-darkmode #content h2, .client-darkmode #content h3, .client-darkmode #content h4, .client-darkmode #content h5, .client-darkmode #content h6 {
     background-color: #111116;
     background-color: #111116;
     color: #ddd;
     color: var(--default-text-color);
}
}


Line 119: Line 125:


/* ignore the errors, this code is perfectly valid and compatible with most modern browsers */
/* ignore the errors, this code is perfectly valid and compatible with most modern browsers */
.client-darkmode pre:not(.documentation pre), .client-darkmode code:not(.documentation code), .client-darkmode .mw-code:not(.documentation .mw-code), .client-darkmode table code {
pre:not(.documentation pre), code:not(.documentation code), .mw-code:not(.documentation .mw-code), table code {
     filter: invert(1) hue-rotate(180deg);
     background-color: var(--code-background-color);
    color: #fff;
    border: 1px solid var(--code-border);
}
}