Module:Sidebar/styles.css: Difference between revisions
mw:Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis Improve for dark mode (fixes 2024_Democratic_Party_presidential_primaries) and removes styles from print stylesheet |
(Defensively add color white important to make sure these do not get mixed) |
||
Line 178: | Line 178: | ||
html.skin-theme-clientpref-night .sidebar-navbar { | html.skin-theme-clientpref-night .sidebar-navbar { | ||
background: black !important; | background: black !important; | ||
color: white !important; | |||
} | } | ||
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title, | html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title, | ||
Line 192: | Line 193: | ||
html.skin-theme-clientpref-os .sidebar-navbar { | html.skin-theme-clientpref-os .sidebar-navbar { | ||
background: black !important; | background: black !important; | ||
color: white !important; | |||
} | } | ||
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title, | html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title, |