Anonymous user
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: | 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 */ | ||
pre:not(.documentation pre), code:not(.documentation code), .mw-code:not(.documentation .mw-code), table code { | |||
background-color: var(--code-background-color); | |||
color: #fff; | |||
border: 1px solid var(--code-border); | |||
} | } | ||