MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 99: | Zeile 99: | ||
} | } | ||
/* ---- Seitenleiste (Portlets): größere Menüpunkte ---- */ | |||
/* ---- Seitenleiste (Portlets) ---- */ | |||
.portal .body, | .portal .body, | ||
.vector-menu-content { | .vector-menu-content { | ||
font-family: var(--ew-sans); | font-family: var(--ew-sans); | ||
font-size: | font-size: 1.15em; | ||
line-height: 1. | line-height: 1.9; | ||
} | |||
.portal .body li, | |||
.vector-menu-content li { | |||
margin-bottom: 4px; | |||
} | } | ||
| Zeile 120: | Zeile 116: | ||
font-family: var(--ew-sans); | font-family: var(--ew-sans); | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 0. | font-size: 0.95em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.7px; | letter-spacing: 0.7px; | ||
color: var(--ew-ink-soft); | color: var(--ew-ink-soft); | ||
border-bottom: 1px solid var(--ew-line); | border-bottom: 1px solid var(--ew-line); | ||
padding-bottom: | padding-bottom: 6px; | ||
margin-bottom: | margin-bottom: 10px; | ||
} | |||
/* ---- Obere Navigation (Namensräume, Ansichten, Werkzeuge) ---- */ | |||
#p-views .vector-menu-content-list li a, | |||
#p-cactions .vector-menu-content-list li a, | |||
#p-namespaces .vector-menu-content-list li a, | |||
.vectorTabs li a { | |||
font-size: 1.1em; | |||
padding-top: 0.6em !important; | |||
} | |||
/* ---- Persönliche Werkzeuge oben rechts ---- */ | |||
#p-personal ul { | |||
font-size: 1.05em; | |||
} | } | ||
Version vom 23. August 2026, 00:22 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
h1.firstHeading { display: none; }
#mw-panel { background-color: #ffffff; }
/* ==========================================================================
erfurt-web.de — Klassisch-seriös, aber modern & großzügig
Einfügen in MediaWiki:Common.css
========================================================================== */
:root {
--ew-ink: #211e1a;
--ew-ink-soft: #635a4d;
--ew-paper: #faf8f3;
--ew-paper-alt: #f2efe6;
--ew-line: #ddd6c5;
--ew-line-strong: #bcae8c;
--ew-red: #9c2b2b;
--ew-red-dark: #781f1f;
--ew-serif: 'Source Serif Pro', Georgia, 'PT Serif', 'Times New Roman', serif;
--ew-sans: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
body {
background: var(--ew-paper) !important;
color: var(--ew-ink);
font-family: var(--ew-sans);
font-size: 16px;
}
#content,
.mw-body {
background: #fff !important;
border: 1px solid var(--ew-line) !important;
border-radius: 10px !important;
box-shadow: 0 2px 14px rgba(40, 30, 10, 0.05) !important;
padding: 28px 34px !important;
}
/* ---- Überschriften: serif als modernes Editorial-Signal ---- */
#firstHeading,
.mw-body h1 {
font-family: var(--ew-serif);
font-weight: 500;
font-size: 2.6em;
line-height: 1.15;
letter-spacing: 0.1px;
color: var(--ew-ink);
border-bottom: 2px solid var(--ew-ink);
padding-bottom: 0.3em;
margin-bottom: 0.7em;
}
.mw-body h2 {
font-family: var(--ew-serif);
font-weight: 500;
font-size: 1.75em;
color: var(--ew-ink);
border-bottom: 1px solid var(--ew-line-strong);
padding-bottom: 0.25em;
margin-top: 1.6em;
}
.mw-body h3,
.mw-body h4 {
font-family: var(--ew-serif);
font-weight: 600;
font-size: 1.3em;
color: var(--ew-ink);
}
/* ---- Fließtext: großzügig und modern lesbar ---- */
.mw-body p,
.mw-body li {
font-family: var(--ew-sans);
line-height: 1.75;
font-size: 1.12em;
color: var(--ew-ink);
}
/* ---- Links: Rot nur als sparsamer Akzent ---- */
a {
color: var(--ew-red);
text-decoration: none;
}
a:hover {
color: var(--ew-red-dark);
text-decoration: underline;
}
a.new {
color: #a55a3a;
}
a:visited {
color: #6e4b4b;
}
/* ---- Kopfbereich & Logo-Box ---- */
#mw-head-base,
#mw-page-base {
background: var(--ew-paper-alt) !important;
}
/* ---- Seitenleiste (Portlets): größere Menüpunkte ---- */
.portal .body,
.vector-menu-content {
font-family: var(--ew-sans);
font-size: 1.15em;
line-height: 1.9;
}
.portal .body li,
.vector-menu-content li {
margin-bottom: 4px;
}
.portal h3,
.vector-menu-heading {
font-family: var(--ew-sans);
font-weight: 700;
font-size: 0.95em;
text-transform: uppercase;
letter-spacing: 0.7px;
color: var(--ew-ink-soft);
border-bottom: 1px solid var(--ew-line);
padding-bottom: 6px;
margin-bottom: 10px;
}
/* ---- Obere Navigation (Namensräume, Ansichten, Werkzeuge) ---- */
#p-views .vector-menu-content-list li a,
#p-cactions .vector-menu-content-list li a,
#p-namespaces .vector-menu-content-list li a,
.vectorTabs li a {
font-size: 1.1em;
padding-top: 0.6em !important;
}
/* ---- Persönliche Werkzeuge oben rechts ---- */
#p-personal ul {
font-size: 1.05em;
}
/* ---- Suche & Buttons: modern, abgerundet ---- */
#searchInput {
font-family: var(--ew-sans);
font-size: 1em;
border: 1px solid var(--ew-line-strong) !important;
border-radius: 6px !important;
background: #fff;
padding: 6px 10px !important;
}
.mw-ui-button,
input[type="submit"],
button {
font-family: var(--ew-sans);
font-size: 0.95em;
border: 1px solid var(--ew-red) !important;
background: #fff !important;
color: var(--ew-red) !important;
border-radius: 6px !important;
padding: 6px 14px !important;
transition: background 0.15s ease, color 0.15s ease;
}
.mw-ui-button:hover,
input[type="submit"]:hover,
button:hover {
background: var(--ew-red) !important;
color: #fff !important;
}
/* ---- Tabellen / Infoboxen ---- */
.wikitable,
.infobox {
border: 1px solid var(--ew-line-strong) !important;
border-radius: 8px !important;
overflow: hidden;
background: var(--ew-paper-alt) !important;
font-family: var(--ew-sans);
font-size: 1em;
}
.wikitable th,
.infobox th {
background: #ece5d3 !important;
font-weight: 700;
border-bottom: 1px solid var(--ew-line-strong) !important;
}
.wikitable td,
.wikitable th,
.infobox td,
.infobox th {
border-color: var(--ew-line) !important;
padding: 8px 12px !important;
}
/* ---- Fußbereich ---- */
#footer {
background: var(--ew-paper-alt) !important;
border-top: 1px solid var(--ew-line);
font-family: var(--ew-sans);
font-size: 0.85em;
color: var(--ew-ink-soft);
}
#footer a {
color: var(--ew-red);
}
/* ---- Inhaltsverzeichnis ---- */
#toc, .toc {
background: var(--ew-paper-alt) !important;
border: 1px solid var(--ew-line) !important;
border-radius: 8px !important;
font-family: var(--ew-sans);
font-size: 0.95em;
}
#toc #toctitle h2, .toc #toctitle h2 {
font-family: var(--ew-sans);
font-weight: 700;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.6px;
border: none;
}