MediaWiki:Common.css

From Distant Sands 11
Revision as of 11:53, 7 November 2025 by Funnylilcreachure (talk | contribs)
Jump to navigationJump 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.
/* CSS placed here will be applied to all skins */
body {
    background: url('https://wiki.distantsands.org/images/b/bc/Rdefgrey.png') repeat;
    background-attachment: fixed;
    background-size: auto;
}

body > div,
#mw-page-base,
#content,
.mw-body,
#mw-panel,
.vector-menu-container,
#mw-head,
.vector-header-container,
.vector-tabs,
.vector-menu-tabs,
.vector-tab-container,
.mw-portlet-views,
.mw-portlet-cactions,
.vector-menu-dropdown {
    background: transparent;
}
#mw-page-base,
#content,
.mw-body,
.vector-body,
.vector-container,
.vector-feature-limited-width-disabled .vector-page-container,
.vector-page-container {
    max-width: 1000px;
    margin: 0 auto

}
.vector-body,
.mw-body-content {
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ensure header and navigation also respect the width limit */
#mw-head,
.vector-header-container,
.vector-sticky-header,
.vector-tabs {
    max-width: 700px;
    margin: 0 auto;
    left: 0;
    right: 0;
}