Module:Sidebar/styles.css: Difference between revisions
Orangestar (talk | contribs) m 1 revision imported: Add Infobox stuff and templates |
Orangestar (talk | contribs) m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 163: | Line 163: | ||
* query. | * query. | ||
*/ | */ | ||
} | |||
/* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859 / https://en.wikipedia.org/w/index.php?title=Laissez-faire */ | |||
html.skin-theme-clientpref-night .sidebar-list-title, | |||
html.skin-theme-clientpref-night .sidebar-title-with-pretitle { | |||
background: transparent !important; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
/* automatic mode */ | |||
html.skin-theme-clientpref-os .sidebar-list-title, | |||
html.skin-theme-clientpref-os .sidebar-title-with-pretitle { | |||
background: transparent !important; | |||
} | |||
} | } |