Module:Sidebar/styles.css: Difference between revisions

Allow templates such as Elections_in_India to opt out of night mode styles via a notheme class.
Also apply to night theme.
Line 167: Line 167:


/* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859 / https://en.wikipedia.org/w/index.php?title=Laissez-faire */
/* 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:not( .notheme ) .sidebar-list-title,
html.skin-theme-clientpref-night .sidebar-title-with-pretitle {
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-title-with-pretitle {
     background: transparent !important;
     background: transparent !important;
}
}