Jump to content

MediaWiki:Common.css

From Arcscribe Public Wiki
Revision as of 11:47, 7 July 2026 by Hwashi (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. Constrain and center the entire top header layout (tabs, user links, search bar) */
#mw-head, 
#mw-page-base {
    max-width: 1200px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* 2. Constrain and center the main article container */
#content {
    max-width: 1200px;
    margin: 0 auto;
    border-left: 1px solid #a2a9b1;
    border-right: 1px solid #a2a9b1;
}

/* 3. Keep text lines at the optimal reading width while letting the infobox sit perfectly on the right edge */
#mw-content-text {
    max-width: 850px;
    line-height: 1.6;
}

/* 4. Fix sidebar padding so it doesn't get squished by the centering */
#mw-panel {
    padding-left: 1em;
}

/* 5. Clear floats cleanly at the bottom */
#catlinks, .printfooter, #footer {
    clear: both;
}