Module:Sidebar/styles.css: Difference between revisions
Appearance
-sidebar-navbar entirely; upstream takes care of these |
ok I lied that makes sense to have since sidebars can be in other namespaces |
||
Line 172: | Line 172: | ||
/* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859 | /* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859 | ||
* https://en.wikipedia.org/w/index.php?title=Laissez-faire | * https://en.wikipedia.org/w/index.php?title=Laissez-faire | ||
*/ | */ | ||
Line 186: | Line 185: | ||
} | } | ||
@media (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title, | html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title, | ||
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-title-with-pretitle { | html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-title-with-pretitle { |