More actions
Tabula Rasa (talk | contribs) No edit summary |
Tabula Rasa (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox-table { | html.skin-theme-clientpref-night .infobox-table { | ||
background-color: | background-color: black; | ||
color: | color: white; | ||
} | |||
} | |||
/* automatic mode */ | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox-table { | |||
background-color: black; | |||
color: white; | |||
} | } | ||
} | } |
Revision as of 08:21, 19 February 2025
/* CSS placed here will be applied to all skins */ .infobox-table th { vertical-align: top; } .infobox-table td { vertical-align: top; } @media screen { html.skin-theme-clientpref-night .infobox-table { background-color: black; color: white; } } /* automatic mode */ @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox-table { background-color: black; color: white; } }