MediaWiki:Common.css

From The Taylor Archive
Revision as of 19:22, 20 July 2026 by Admin (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 1. Kill any pseudo-element boxes generated at the bottom of the navigation sidebar */
#mw-site-navigation::before,
#mw-site-navigation::after,
#mw-site-navigation .sidebar-chunk::before,
#mw-site-navigation .sidebar-chunk::after,
.sidebar-chunk:last-child::before,
.sidebar-chunk:last-child::after {
    display: none !important;
    content: none !important;
    background: none !important;
    height: 0 !important;
}

/* 2. Target any leftover un-clickable wrapper containers and strip their white card styling */
#mw-site-navigation > div:last-child,
#mw-site-navigation .sidebar-chunk:last-child,
#mw-related-navigation > div:last-child {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

/* 3. Re-apply the crisp white background only to populated chunks */
#mw-site-navigation .sidebar-chunk {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}