Jump to content

Module:Sidebar/styles.css: Difference between revisions

(Defensively add color white important to make sure these do not get mixed)
-sidebar-navbar entirely; upstream takes care of these
Line 176: Line 176:


@media screen {
@media screen {
    html.skin-theme-clientpref-night .sidebar-navbar {
      background: black !important;
      color: white !important;
    }
     html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title,
     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:not( .notheme ) .sidebar-title-with-pretitle {
Line 191: Line 187:


@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .sidebar-navbar {
      background: black !important;
      color: white !important;
    }
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 {