Module:Documentation/styles.css: Difference between revisions
metawikimedia>GeneralNotability m 23 revisions imported from w:Module:Documentation/styles.css: blame User:Barkeep49 |
m 1 revision imported |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 75: | Line 75: | ||
.ts-doc-sandbox { | .ts-doc-sandbox { | ||
clear: both; | clear: both; | ||
} | |||
/* Darkmode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .documentation, | |||
html.skin-theme-clientpref-night .documentation-metadata { | |||
background-color: #0b1e1c; | |||
} | |||
} | |||
@media screen and ( prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .documentation, | |||
html.skin-theme-clientpref-os .documentation-metadata { | |||
background-color: #0b1e1c; | |||
} | |||
} | } |