MediaWiki:Common.css

From Evidence Driven Dev
Revision as of 08:22, 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. Global Width Force - Matches the 'Vector Legacy' grid priority */
.skin-vector-legacy #mw-panel,
.skin-vector-legacy #p-logo {
    width: 120px !important;
}

/* 2. Alignment Fix - Force the content gap to 120px on all pages */
.skin-vector-legacy #content,
.skin-vector-legacy #mw-head-base,
.skin-vector-legacy #footer,
.skin-vector-legacy #left-navigation {
    margin-left: 120px !important;
}

/* 3. Logo Scaling - Shrinks the image and the container height */
.skin-vector-legacy #p-logo {
    height: 110px !important;
    margin-bottom: 0 !important;
}

.skin-vector-legacy .mw-wiki-logo {
    width: 100px !important;
    height: 100px !important;
    margin-left: 10px !important;
    background-size: contain !important;
    background-position: center left !important;
    background-repeat: no-repeat !important;
    display: block !important;
}

/* 4. Link Spacing - Keeps them in a vertical list with a 10px gutter */
.skin-vector-legacy #mw-panel .portal {
    margin: 0 !important;
    padding: 0 0 0 10px !important;
}

.skin-vector-legacy #mw-panel .portal h3 {
    font-size: 0.75em !important;
    margin: 0.5em 0 !important;
}