MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 268: | Line 268: | ||
/* ===================================== | /* ===================================== | ||
🕯️ Light Mode — Final Fix for Sidebar & Gutter | |||
Targets outer wrappers Vector-2022 ignores | |||
===================================== */ | ===================================== */ | ||
html.skin-theme-clientpref-day, | /* Make the sidebar and its pinned container match the light theme background */ | ||
html.skin-theme-clientpref- | html.skin-theme-clientpref-day .vector-main-menu-container, | ||
html.skin-theme-clientpref-day .vector-sticky-pinned-container, | |||
html.skin-theme-clientpref-day .vector-toc, | |||
html.skin-theme-clientpref-day .vector-skin-container, | |||
html.skin-theme-clientpref-day .vector-main-container { | |||
background-color: #f8f8f2 !important; | background-color: #f8f8f2 !important; | ||
color: #101418 !important; | color: #101418 !important; | ||
} | } | ||
/* | /* Ensure the menu itself and its headings inherit correctly */ | ||
html.skin-theme-clientpref-day .vector-main-menu, | |||
html.skin-theme-clientpref-day .vector- | html.skin-theme-clientpref-day .vector-main-menu .vector-menu-heading, | ||
html.skin-theme-clientpref-day .vector- | html.skin-theme-clientpref-day .vector-main-menu .vector-menu-content { | ||
html.skin-theme-clientpref-day .vector- | |||
background-color: #f8f8f2 !important; | background-color: #f8f8f2 !important; | ||
color: #101418 !important; | color: #101418 !important; | ||
} | |||
/* Also unify the area behind the pinned menu toggle (hamburger zone) */ | |||
html.skin-theme-clientpref-day .vector-header-start, | |||
html.skin-theme-clientpref-day .vector-header-start .vector-menu-checkbox, | |||
html.skin-theme-clientpref-day .vector-header-start .mw-logo { | |||
background-color: #f8f8f2 !important; | |||
} | |||
/* Optional: subtle border for definition */ | |||
html.skin-theme-clientpref-day .vector-main-menu-container, | |||
html.skin-theme-clientpref-day .vector-sticky-pinned-container { | |||
border-right: 1px solid #6272a4 !important; | |||
} | } | ||