MediaWiki:Common.css

From Evidence Driven Dev
Revision as of 08:21, 7 January 2026 by EruIluvatar (talk | contribs)
Jump to navigation Jump to search

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. Reset the Logo and Panel width globally */
#p-logo, 
#mw-panel, 
.vector-legacy-sidebar {
    width: 120px !important;
    min-width: 120px !important;
}

/* 2. Shrink the actual logo image to fit the new 120px lane */
.mw-wiki-logo {
    width: 100px !important;
    height: 100px !important;
    margin-left: 10px !important;
    background-size: contain !important;
}

/* 3. Force the vertical spacing of the logo container */
#p-logo {
    height: 110px !important;
    margin-bottom: 0 !important;
}

/* 4. Force the content margin on EVERY page type (including Special) */
/* This kills the 160px gap */
body #content, 
body #mw-head-base, 
body #footer, 
body #left-navigation {
    margin-left: 120px !important;
}

/* 5. Clean up Sidebar Links */
#mw-panel .portal {
    padding-left: 10px !important;
    margin: 0 !important;
}

#mw-panel .portal h3 {
    font-size: 0.75em !important;
}