Module:Documentation/styles.css: Difference between revisions
From WikiOasis Meta
More actions
m 1 revision imported Tags: Mobile edit Mobile web edit Advanced mobile edit |
Miraheze >Rodejong Darkmode (from Dev) |
||
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; | |||
} | |||
} | } |