Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 10:47, 8 March 2026 by QTPi (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.
/* All CSS here will be loaded for users of the Citizen skin */


/* ======================================================
   TREEVERSE DARK ARTICLE LAYOUT
   ====================================================== */


/* Page background (keeps artwork visible on sides) */
body {
  background-color: #0b0b0b;
}


/* Main article container */
.mw-parser-output {
  background: #0f1115;
  color: #e6e6e6;
  max-width: 950px;
  margin: auto;
  padding: 24px;
  border-radius: 10px;
}


/* Fix readability of headings */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
  color: #ffffff;
}


/* Improve paragraph readability */
.mw-parser-output p {
  font-size: 1.05rem;
  line-height: 1.6;
}


/* Links */
a {
  color: #7fd3ff;
}

a:visited {
  color: #c49cff;
}


/* =========================
   Tables
========================= */

.wikitable {
  background: #161a22;
  border: 1px solid #2a2f38;
  border-radius: 8px;
}

.wikitable th {
  background: #1f2430;
  color: #ffffff;
}

.wikitable td {
  background: #161a22;
}


/* =========================
   Infobox
========================= */

.infobox {
  background: #161a22;
  border: 1px solid #2a2f38;
  border-radius: 8px;
}

.infobox th {
  background: #1f2430;
}


/* =========================
   Images
========================= */

.mw-parser-output img {
  max-width: 100%;
  height: auto;
}


/* =========================
   Code blocks
========================= */

pre,
code {
  background: #111;
  color: #e6e6e6;
  overflow-x: auto;
}


/* ======================================================
   MOBILE FIXES
   ====================================================== */

@media (max-width: 720px) {

  .mw-parser-output {
    padding: 16px;
  }

  /* tables scroll on mobile instead of breaking */
  .mw-parser-output table {
    display: block;
    overflow-x: auto;
  }

  .mw-parser-output table td,
  .mw-parser-output table th {
    white-space: normal;
  }

  .infobox {
    float: none;
    width: 100%;
    margin: 1em auto;
  }

}