Jump to content

MediaWiki:Common.css: Difference between revisions

From Sun Keeperverse Wiki
Forcing light parchment view
Changed to Verdana font
Line 119: Line 119:
   background: #f4f1e6 !important;
   background: #f4f1e6 !important;
   color: #2b2414 !important;
   color: #2b2414 !important;
}
/* ---- Typography: Verdana 13pt ---- */
body,
.mw-body-content,
.vector-body,
.mw-content-ltr,
.mw-parser-output {
  font-family: Verdana, Geneva, sans-serif !important;
  font-size: 13pt !important;
  line-height: 1.55;
  color: #2b2414;
}
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
  font-family: Verdana, Geneva, sans-serif !important;
  font-weight: bold;
  color: #2b2414;
}
}

Revision as of 07:18, 30 October 2025

/* CSS placed here will be applied to all skins */
/* ===== Sun Keeperverse — Vector 2022 parchment theme ===== */

body {
  background: #f4f1e6;                       /* parchment backdrop */
}

.vector-page, .mw-page-container, .mw-body, .mw-content-container {
  background: #fffdfa;
  border: 1px solid #d8caa0;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border-radius: 8px;
}

.mw-body-content, .vector-body {
  max-width: 1100px;
  margin: 1.5rem auto;
  padding: 1.25rem 1.5rem;
}

/* Typography */
body, .mw-body-content {
  font-family: "Georgia", "Book Antiqua", serif;
  color: #2f2a1e;
  line-height: 1.6;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4 {
  font-family: "Georgia", "Book Antiqua", serif;
  color: #2b2414;
}

/* Links */
a, a:visited { color: #8b6d00; }
a:hover { color: #c09e2b; text-decoration: underline; }

/* Headings */
.mw-body h2 {
  border-bottom: 2px solid #e4d9b0;
  padding-bottom: .15rem;
  margin-top: 1.2em;
}

/* Tables */
.wikitable {
  background: #fffdf7;
  border: 1px solid #d8caa0;
}
.wikitable > tr > th, .wikitable > * > tr > th {
  background: #efe7cc;
  border: 1px solid #d8caa0;
  color: #2b2414;
}
.wikitable > tr > td, .wikitable > * > tr > td {
  border: 1px solid #e6d9b1;
}

/* TOC */
#toc, .toc {
  background: #f7f1de;
  border: 1px solid #d8caa0;
  border-radius: 8px;
}
#toc .toctitle { color: #5b4a22; }

/* Infobox / navbox */
.infobox, .navbox, .metadata {
  float: right;
  clear: right;
  width: 340px;
  max-width: 42%;
  margin: 0 0 12px 18px;
  background: #f8f5e9;
  border: 1px solid #c6b480;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
@media (max-width: 900px) {
  .infobox, .navbox, .metadata {
    float:none;
    width:auto;
    max-width:100%;
    margin:8px auto;
  }
}

/* Sidebar */
.vector-feature-zebra-design-enabled .vector-sidebar-container {
  background: transparent;
}

/* Footer */
.mw-footer {
  background: transparent;
  border-top: 1px solid #e4d9b0;
  color: #6e5d33;
}

/* ---- Force light parchment mode for Vector 2022 ---- */

/* Disable dark-mode variables that the skin injects */
html.skin-theme-clientpref-dark,
html.skin-theme-clientpref-os,
html.skin-theme-clientpref-auto {
  color-scheme: light !important;
  --background-color-base: #f4f1e6 !important;
  --background-color-neutral: #fffdfa !important;
  --background-color-secondary: #f8f5e9 !important;
  --color-base: #2b2414 !important;
  --color-base--subtle: #5b4a22 !important;
  --border-color-base: #d8caa0 !important;
}

/* Apply directly in case variables are ignored */
html,
body,
.vector-body,
.mw-body,
.mw-content-container {
  background: #f4f1e6 !important;
  color: #2b2414 !important;
}

/* ---- Typography: Verdana 13pt ---- */
body,
.mw-body-content,
.vector-body,
.mw-content-ltr,
.mw-parser-output {
  font-family: Verdana, Geneva, sans-serif !important;
  font-size: 13pt !important;
  line-height: 1.55;
  color: #2b2414;
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
  font-family: Verdana, Geneva, sans-serif !important;
  font-weight: bold;
  color: #2b2414;
}