Content deleted Content added
actually, doesn't need to be high specificity |
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 |
||
Line 174:
* Less the usual @media screen because of @media print below
*/
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title,▼
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-title-with-pretitle {▼
background: transparent !important;▼
@media screen {
html.skin-theme-clientpref-night .sidebar .sidebar-title-with-pretitle a {▼
html.skin-theme-clientpref-night .sidebar-navbar {
color: var( --color-progressive ) !important;▼
background: black !important;
}
▲ html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title,
▲ html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-title-with-pretitle {
}
▲ html.skin-theme-clientpref-night .sidebar .sidebar-title-with-pretitle a {
}
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .sidebar-navbar {
background: black !important;
}
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title,
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-title-with-pretitle {
|