MediaWiki:Common.css

From QME Wiki
Revision as of 12:55, 9 July 2025 by Admin (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.
/* === Top fixed banner === */
.qme-top-banner {
  background-image: url("/wiki/Special:Redirect/file/Top-gradient.png");
  background-repeat: repeat-x;
  background-size: 300px 15px;
  height: 15px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Remove white spacer and apply top spacing only to content area */
body {
  background-color: #000 !important;
  color: #fff !important;
  margin: 0;
}

/* Offset the top banner only where needed */
#content {
  padding-top: 15px;
}

/* Eliminate margin or background from base elements */
#mw-page-base,
#mw-head-base {
  margin: 0;
  padding: 0;
  background: transparent !important;
  height: 0 !important;
}
/* === Top fixed banner === */
.qme-top-banner {
  background-image: url("/wiki/Special:Redirect/file/Top-gradient.png");
  background-repeat: repeat-x;
  background-size: 300px 15px;
  height: 15px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Remove white spacer and apply top spacing only to content area */
body {
  background-color: #000 !important;
  color: #fff !important;
  margin: 0;
}

/* Offset the top banner only where needed */
#content {
  padding-top: 15px;
}

/* Eliminate margin or background from base elements */
#mw-page-base,
#mw-head-base {
  margin: 0;
  padding: 0;
  background: transparent !important;
  height: 0 !important;
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.