MediaWiki:Common.css: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* === Site-wide black background with repeating top banner === */
/* Black background for entire site */
body {
  background-color: #000 !important;
  color: #fff !important;
}
/* Top gradient banner (desktop only) */
body::before {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  background-image: url("/wiki/File:Top-gradient.png");
  background-repeat: repeat-x;
  background-size: 100px 15px;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
/* Push content down to make room for banner */
body > *:first-child {
  margin-top: 15px;
}
/* Optional: hide banner on mobile */
@media (max-width: 599px) {
  body::before {
    display: none;
  }
  body > *:first-child {
    margin-top: 0;
  }
}


/* === QME Wiki Responsive Two-Column Layout === */
/* === QME Wiki Responsive Two-Column Layout === */

Revision as of 09:26, 9 July 2025

/* CSS placed here will be applied to all skins */

/* === Site-wide black background with repeating top banner === */

/* Black background for entire site */
body {
  background-color: #000 !important;
  color: #fff !important;
}

/* Top gradient banner (desktop only) */
body::before {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  background-image: url("/wiki/File:Top-gradient.png");
  background-repeat: repeat-x;
  background-size: 100px 15px;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Push content down to make room for banner */
body > *:first-child {
  margin-top: 15px;
}

/* Optional: hide banner on mobile */
@media (max-width: 599px) {
  body::before {
    display: none;
  }

  body > *:first-child {
    margin-top: 0;
  }
}

/* === QME Wiki Responsive Two-Column Layout === */
.qme-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 -8px;
  align-items: stretch;
}

/* Base styles for each column */
.qme-column {
  flex: 1 1 100%;
  min-height: 600px;
  padding: 12px;
  border: 1px solid #0000B6;
  background: #fcfcfc;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ✅ Force consistent font size in all nested elements */
.qme-column * {
  font-size: 16px !important;
  line-height: 1.5 !important;
  box-sizing: border-box;
}

/* ✅ Specifically target lists for mobile consistency */
.qme-column ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
  list-style-type: disc;
}

.qme-column ul li {
  margin-bottom: 0.5em;
}

/* Responsive: switch to 2-column layout at tablet width */
@media (min-width: 600px) {
  .qme-column {
    flex: 1 1 48%;
  }
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.