MediaWiki:Common.css: Difference between revisions
Appearance
m Verdana 12pt |
Font color overrides to blue, green-on-hover, redlink default |
||
| Line 141: | Line 141: | ||
color: #2b2414; | color: #2b2414; | ||
} | } | ||
/* === Link colors: default blue, mossy-green hover, keep redlinks === */ | |||
a, a:visited { color: var(--color-link, #36c) !important; } /* MW default blue */ | |||
a:hover { color: #547c4b !important; text-decoration: underline; } /* mossy green */ | |||
a.new, a.new:visited { color: var(--color-link-new, #d33) !important; } /* redlinks */ | |||
a.new:hover { color: #b00000 !important; text-decoration: underline; } | |||
/* === Square corners everywhere (UESP-like) === */ | |||
.vector-page, .mw-page-container, .mw-body, .mw-content-container, | |||
.wikitable, #toc, .toc, .infobox, .navbox, .metadata, | |||
.worldbox, .worldnav, .mw-footer { border-radius: 0 !important; } | |||
/* === Heading and titlebar breathing room === */ | |||
.mw-body h1, .mw-body h2 { | |||
border-bottom: 2px solid #e4d9b0; | |||
padding-bottom: .35rem; /* more room under the text */ | |||
margin-bottom: .5rem; | |||
} | |||
.vector-page-titlebar { /* "Page | Discussion" row */ | |||
padding-top: .35rem; | |||
padding-bottom: .35rem; | |||
} | |||
/* Slight extra padding inside infobox/navboxes */ | |||
.infobox, .navbox, .metadata { padding: 6px; } | |||
Revision as of 07:24, 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 12pt ---- */
body,
.mw-body-content,
.vector-body,
.mw-content-ltr,
.mw-parser-output {
font-family: Verdana, Geneva, sans-serif !important;
font-size: 12pt !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;
}
/* === Link colors: default blue, mossy-green hover, keep redlinks === */
a, a:visited { color: var(--color-link, #36c) !important; } /* MW default blue */
a:hover { color: #547c4b !important; text-decoration: underline; } /* mossy green */
a.new, a.new:visited { color: var(--color-link-new, #d33) !important; } /* redlinks */
a.new:hover { color: #b00000 !important; text-decoration: underline; }
/* === Square corners everywhere (UESP-like) === */
.vector-page, .mw-page-container, .mw-body, .mw-content-container,
.wikitable, #toc, .toc, .infobox, .navbox, .metadata,
.worldbox, .worldnav, .mw-footer { border-radius: 0 !important; }
/* === Heading and titlebar breathing room === */
.mw-body h1, .mw-body h2 {
border-bottom: 2px solid #e4d9b0;
padding-bottom: .35rem; /* more room under the text */
margin-bottom: .5rem;
}
.vector-page-titlebar { /* "Page | Discussion" row */
padding-top: .35rem;
padding-bottom: .35rem;
}
/* Slight extra padding inside infobox/navboxes */
.infobox, .navbox, .metadata { padding: 6px; }