More actions
added test css |
fixed class name |
||
Line 1: | Line 1: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox { background-color: black; color: white; } | ||
} | } | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox { background-color: black; color: white; } | ||
} | } |
Revision as of 03:12, 27 March 2025
@media screen { html.skin-theme-clientpref-night .infobox { background-color: black; color: white; } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox { background-color: black; color: white; } }