Editing Module:Sidebar/styles.css
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 148: | Line 148: | ||
} | } | ||
@media (max-width: | @media (max-width: 720px) { | ||
/* users have wide latitude to set arbitrary width and margin :( | /* users have wide latitude to set arbitrary width and margin :( | ||
"Super-specific" selector to prevent overriding this appearance by | "Super-specific" selector to prevent overriding this appearance by | ||
Line 167: | Line 167: | ||
/* Fixes: T367463 */ | /* Fixes: T367463 */ | ||
body.skin--responsive .sidebar a > img { | body.skin--responsive .sidebar a > img { | ||
max-width: none !important; | |||
} | } | ||
/* 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 */ | ||
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title, | |||
html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-title-with-pretitle { | |||
background: transparent !important; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
/* automatic mode */ | |||
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-list-title, | |||
html.skin-theme-clientpref-os .sidebar:not( .notheme ) .sidebar-title-with-pretitle { | |||
background: transparent !important; | |||
html.skin-theme-clientpref- | |||
} | } | ||
} | } |