MediaWiki:Common.css: Difference between revisions
From The Taylor Archive
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Strip the background and styling from empty sidebar wrapper containers in Timeless */ | ||
#mw-site-navigation .sidebar-chunk: | #mw-site-navigation .sidebar-inner:empty, | ||
#mw-site-navigation .sidebar-chunk:empty, | |||
#p-lang-sidebar, | #p-lang-sidebar, | ||
#p-lang { | #p-lang { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Fallback: Make the bottom container transparent if it contains no links */ | |||
#mw-site-navigation .sidebar-inner { | |||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
#mw-site-navigation .sidebar-chunk { | |||
background: #ffffff; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); | |||
} | } | ||
Revision as of 19:06, 20 July 2026
/* Strip the background and styling from empty sidebar wrapper containers in Timeless */
#mw-site-navigation .sidebar-inner:empty,
#mw-site-navigation .sidebar-chunk:empty,
#p-lang-sidebar,
#p-lang {
display: none !important;
}
/* Fallback: Make the bottom container transparent if it contains no links */
#mw-site-navigation .sidebar-inner {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
#mw-site-navigation .sidebar-chunk {
background: #ffffff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}