MediaWiki:Vector.css

From ServantPedia™, the paid (but reliable) encyclopedia
Revision as of 13:47, 7 April 2025 by Nat (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.
/* All CSS here will be loaded for users of the Vector skin */
/* Create a central wrapper */
#mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, #footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Slight padding to keep text from hugging the edge */
#content {
    padding: 0 20px;
}

/* Make sure the sidebar doesn't stay way off to the side */
#mw-panel {
    position: relative;
}

/* Tabs (like View, Edit) also need to stay inside the container */
#p-cactions {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}