MediaWiki:Common.css: Difference between revisions
Appearance
Font color overrides to blue, green-on-hover, redlink default |
m Padding between text and border lines |
||
| Line 1: | Line 1: | ||
/* ===== Sun Keeperverse — Vector 2022 parchment theme (clean) ===== */ | |||
/* ===== Sun Keeperverse — Vector 2022 parchment theme ===== */ | |||
/* --- Force LIGHT palette even if user/browser prefers dark --- */ | |||
background: #f4f1e6; | html.skin-theme-clientpref-dark, | ||
html.skin-theme-clientpref-os, | |||
html.skin-theme-clientpref-auto { | |||
color-scheme: light !important; | |||
--background-color-base: #f4f1e6 !important; /* page */ | |||
--background-color-neutral: #fffdfa !important; /* content */ | |||
--background-color-secondary: #f8f5e9 !important; /* cards/boxes */ | |||
--color-base: #2b2414 !important; | |||
--color-base--subtle: #5b4a22 !important; | |||
--border-color-base: #d8caa0 !important; | |||
} | } | ||
/* Apply directly as well */ | |||
html, body { background: #f4f1e6 !important; color: #2b2414 !important; } | |||
/* --- Main containers --- */ | |||
.vector-page, .mw-page-container, .mw-body, .mw-content-container { | .vector-page, .mw-page-container, .mw-body, .mw-content-container { | ||
background: #fffdfa; | background: #fffdfa; | ||
border: 1px solid #d8caa0; | border: 1px solid #d8caa0; | ||
box-shadow: 0 1px 3px rgba(0,0,0,.06); | box-shadow: 0 1px 3px rgba(0,0,0,.06); | ||
border-radius: | border-radius: 0; /* square corners site-wide */ | ||
} | } | ||
.mw-body-content, .vector-body { | .mw-body-content, .vector-body { | ||
max-width: 1100px; | max-width: 1100px; | ||
margin: 1.5rem auto; | margin: 1.5rem auto; | ||
padding: 1.25rem 1.5rem; | padding: 1.25rem 1.5rem; /* base padding; more below */ | ||
} | } | ||
/* Typography */ | /* --- Typography: Verdana 13pt --- */ | ||
body, .mw-body-content { | body, | ||
font-family: | .mw-body-content, | ||
.vector-body, | |||
line-height: 1. | .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 { | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4 { | ||
font-family: | font-family: Verdana, Geneva, sans-serif !important; | ||
font-weight: 700; | |||
color: #2b2414; | color: #2b2414; | ||
} | } | ||
/* Links */ | /* --- Links: default blue, mossy-green hover, keep redlinks --- */ | ||
a, a:visited { color: # | a, a:visited { color: var(--color-link, #36c) !important; } | ||
a:hover { color: # | a:hover { color: #547c4b !important; text-decoration: underline; } | ||
a.new, a.new:visited { color: var(--color-link-new, #d33) !important; } | |||
a.new:hover { color: #b00000 !important; text-decoration: underline; } | |||
/* Headings */ | /* --- Headings and title bar spacing --- */ | ||
.mw-body h2 { | .mw-body h2 { | ||
border-bottom: 2px solid #e4d9b0; | border-bottom: 2px solid #e4d9b0; | ||
padding-bottom: . | padding-bottom: .45rem; | ||
margin-top: 1.2em; | margin-top: 1.2em; | ||
margin-bottom: .6rem; | |||
} | } | ||
.mw-body h1 { | |||
border-bottom: 2px solid #e4d9b0; | |||
padding-bottom: .45rem; | |||
margin-bottom: .6rem; | |||
} | |||
.vector-page-titlebar { /* "Page | Discussion" row */ | |||
padding: 6px 0; | |||
} | |||
/* --- Paragraphs, lists, content padding --- */ | |||
.mw-body-content { padding: 0.75rem 1rem; } /* more breathing room */ | |||
.mw-body-content p { margin: .85em 0; } | |||
.mw-body-content ul, .mw-body-content ol { margin: .5em 0 .8em 1.6em; } | |||
/* --- TOC --- */ | |||
#toc, .toc { | |||
background: #f7f1de; | |||
border: 1px solid #d8caa0; | |||
border-radius: 0; | |||
padding: .5em .75em; | |||
} | |||
#toc .toctitle { color: #5b4a22; } | |||
#toc ul { margin-left: 1.2em; } | |||
/* Tables */ | /* --- Tables --- */ | ||
.wikitable { | .wikitable { | ||
background: #fffdf7; | background: #fffdf7; | ||
border: 1px solid #d8caa0; | border: 1px solid #d8caa0; | ||
border-radius: 0; | |||
} | } | ||
.wikitable th, .wikitable td { padding: .5em .75em; } | |||
.wikitable > tr > th, .wikitable > * > tr > th { | .wikitable > tr > th, .wikitable > * > tr > th { | ||
background: #efe7cc; | background: #efe7cc; | ||
| Line 55: | Line 100: | ||
} | } | ||
/* | /* --- Generic infobox/navbox (and your templates align to this) --- */ | ||
.infobox, .navbox, .metadata, .worldnav { | |||
.infobox, .navbox, .metadata { | |||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| Line 72: | Line 109: | ||
background: #f8f5e9; | background: #f8f5e9; | ||
border: 1px solid #c6b480; | border: 1px solid #c6b480; | ||
border-radius: | border-radius: 0; | ||
box-shadow: 0 1px 3px rgba(0,0,0,.08); | box-shadow: 0 1px 3px rgba(0,0,0,.08); | ||
padding: 6px; | |||
} | } | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.infobox, .navbox, .metadata { | .infobox, .navbox, .metadata, .worldnav { | ||
float:none; | float: none; | ||
width:auto; | width: auto; | ||
max-width:100%; | max-width: 100%; | ||
margin:8px auto; | margin: 8px auto; | ||
} | } | ||
} | } | ||
/* Sidebar */ | /* --- Sidebar + footer polish --- */ | ||
.vector-feature-zebra-design-enabled .vector-sidebar-container { | .vector-feature-zebra-design-enabled .vector-sidebar-container { background: transparent; } | ||
} | |||
.mw-footer { | .mw-footer { | ||
background: transparent; | background: transparent; | ||
| Line 95: | Line 129: | ||
color: #6e5d33; | color: #6e5d33; | ||
} | } | ||
Revision as of 07:32, 30 October 2025
/* ===== Sun Keeperverse — Vector 2022 parchment theme (clean) ===== */
/* --- Force LIGHT palette even if user/browser prefers dark --- */
html.skin-theme-clientpref-dark,
html.skin-theme-clientpref-os,
html.skin-theme-clientpref-auto {
color-scheme: light !important;
--background-color-base: #f4f1e6 !important; /* page */
--background-color-neutral: #fffdfa !important; /* content */
--background-color-secondary: #f8f5e9 !important; /* cards/boxes */
--color-base: #2b2414 !important;
--color-base--subtle: #5b4a22 !important;
--border-color-base: #d8caa0 !important;
}
/* Apply directly as well */
html, body { background: #f4f1e6 !important; color: #2b2414 !important; }
/* --- Main containers --- */
.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: 0; /* square corners site-wide */
}
.mw-body-content, .vector-body {
max-width: 1100px;
margin: 1.5rem auto;
padding: 1.25rem 1.5rem; /* base padding; more below */
}
/* --- 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: 700;
color: #2b2414;
}
/* --- Links: default blue, mossy-green hover, keep redlinks --- */
a, a:visited { color: var(--color-link, #36c) !important; }
a:hover { color: #547c4b !important; text-decoration: underline; }
a.new, a.new:visited { color: var(--color-link-new, #d33) !important; }
a.new:hover { color: #b00000 !important; text-decoration: underline; }
/* --- Headings and title bar spacing --- */
.mw-body h2 {
border-bottom: 2px solid #e4d9b0;
padding-bottom: .45rem;
margin-top: 1.2em;
margin-bottom: .6rem;
}
.mw-body h1 {
border-bottom: 2px solid #e4d9b0;
padding-bottom: .45rem;
margin-bottom: .6rem;
}
.vector-page-titlebar { /* "Page | Discussion" row */
padding: 6px 0;
}
/* --- Paragraphs, lists, content padding --- */
.mw-body-content { padding: 0.75rem 1rem; } /* more breathing room */
.mw-body-content p { margin: .85em 0; }
.mw-body-content ul, .mw-body-content ol { margin: .5em 0 .8em 1.6em; }
/* --- TOC --- */
#toc, .toc {
background: #f7f1de;
border: 1px solid #d8caa0;
border-radius: 0;
padding: .5em .75em;
}
#toc .toctitle { color: #5b4a22; }
#toc ul { margin-left: 1.2em; }
/* --- Tables --- */
.wikitable {
background: #fffdf7;
border: 1px solid #d8caa0;
border-radius: 0;
}
.wikitable th, .wikitable td { padding: .5em .75em; }
.wikitable > tr > th, .wikitable > * > tr > th {
background: #efe7cc;
border: 1px solid #d8caa0;
color: #2b2414;
}
.wikitable > tr > td, .wikitable > * > tr > td {
border: 1px solid #e6d9b1;
}
/* --- Generic infobox/navbox (and your templates align to this) --- */
.infobox, .navbox, .metadata, .worldnav {
float: right;
clear: right;
width: 340px;
max-width: 42%;
margin: 0 0 12px 18px;
background: #f8f5e9;
border: 1px solid #c6b480;
border-radius: 0;
box-shadow: 0 1px 3px rgba(0,0,0,.08);
padding: 6px;
}
@media (max-width: 900px) {
.infobox, .navbox, .metadata, .worldnav {
float: none;
width: auto;
max-width: 100%;
margin: 8px auto;
}
}
/* --- Sidebar + footer polish --- */
.vector-feature-zebra-design-enabled .vector-sidebar-container { background: transparent; }
.mw-footer {
background: transparent;
border-top: 1px solid #e4d9b0;
color: #6e5d33;
}