Jump to content

Module:Sidebar/styles.css: Difference between revisions

Also apply to .sidebar-title-with-pretitle (see previous edit)
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-list-title,
html.skin-theme-clientpref-night .sidebar-title-with-pretitle {
     background: transparent !important;
     background: transparent !important;
}
}
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     /* automatic mode */
     /* automatic mode */
     html.skin-theme-clientpref-os .sidebar-list-title {
     html.skin-theme-clientpref-os .sidebar-list-title,
    html.skin-theme-clientpref-os .sidebar-title-with-pretitle {
       background: transparent !important;
       background: transparent !important;
     }
     }
}
}