MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde geleert.) Markierungen: Geleert Manuelle Zurücksetzung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* =============================== | |||
Minecraft.wiki-inspiriertes MediaWiki CSS | |||
Ziel: clean, technisch, ruhig, blockartig | |||
=============================== */ | |||
/* ---------- Grundlayout ---------- */ | |||
body { | |||
background-color: #f5f5f5; | |||
color: #202020; | |||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; | |||
line-height: 1.6; | |||
} | |||
#content, | |||
.mw-body { | |||
background-color: #ffffff; | |||
border-radius: 6px; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.06); | |||
padding: 1.5em; | |||
} | |||
/* ---------- Überschriften ---------- */ | |||
h1, h2, h3, h4, h5 { | |||
font-weight: 600; | |||
color: #2a2a2a; | |||
} | |||
h1 { | |||
border-bottom: 2px solid #4caf50; | |||
padding-bottom: 0.3em; | |||
} | |||
h2 { | |||
border-bottom: 1px solid #cfcfcf; | |||
padding-bottom: 0.25em; | |||
} | |||
/* ---------- Links ---------- */ | |||
a { | |||
color: #2e7d32; | |||
text-decoration: none; | |||
} | |||
a:hover { | |||
color: #1b5e20; | |||
text-decoration: underline; | |||
} | |||
a.new { | |||
color: #b71c1c; | |||
} | |||
/* ---------- Infoboxen ---------- */ | |||
.infobox { | |||
background-color: #fafafa; | |||
border: 1px solid #dcdcdc; | |||
border-radius: 6px; | |||
padding: 0.6em; | |||
font-size: 0.95em; | |||
} | |||
.infobox th { | |||
background-color: #eeeeee; | |||
font-weight: 600; | |||
} | |||
.infobox caption { | |||
background-color: #4caf50; | |||
color: #ffffff; | |||
font-weight: bold; | |||
padding: 0.4em; | |||
} | |||
/* ---------- Tabellen ---------- */ | |||
.wikitable { | |||
background-color: #ffffff; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 6px; | |||
overflow: hidden; | |||
} | |||
.wikitable th { | |||
background-color: #eeeeee; | |||
font-weight: 600; | |||
} | |||
.wikitable tr:nth-child(even) { | |||
background-color: #f7f7f7; | |||
} | |||
/* ---------- Code & Vorlagen ---------- */ | |||
pre, code, .mw-code { | |||
background-color: #eeeeee; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 4px; | |||
padding: 0.4em 0.6em; | |||
font-family: "Consolas", "Courier New", monospace; | |||
} | |||
/* ---------- Navigationsboxen ---------- */ | |||
.navbox { | |||
background-color: #fafafa; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 6px; | |||
} | |||
.navbox-title { | |||
background-color: #4caf50; | |||
color: #ffffff; | |||
font-weight: bold; | |||
} | |||
/* ---------- Kategorien ---------- */ | |||
.catlinks { | |||
background-color: #f2f2f2; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 6px; | |||
padding: 0.4em; | |||
} | |||
/* ---------- Seitenleiste ---------- */ | |||
.vector-menu-portal .vector-menu-heading { | |||
color: #2e7d32; | |||
font-weight: 600; | |||
} | |||
/* ---------- Hinweise & Boxen ---------- */ | |||
.mw-message-box { | |||
border-radius: 6px; | |||
} | |||
.mw-message-box-warning { | |||
background-color: #fff8e1; | |||
border-color: #ffb300; | |||
} | |||
.mw-message-box-error { | |||
background-color: #ffebee; | |||
border-color: #c62828; | |||
} | |||
/* ---------- Footer ---------- */ | |||
#footer { | |||
font-size: 0.85em; | |||
color: #666666; | |||
} | |||
Version vom 17. Januar 2026, 18:02 Uhr
/* ===============================
Minecraft.wiki-inspiriertes MediaWiki CSS
Ziel: clean, technisch, ruhig, blockartig
=============================== */
/* ---------- Grundlayout ---------- */
body {
background-color: #f5f5f5;
color: #202020;
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
}
#content,
.mw-body {
background-color: #ffffff;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
padding: 1.5em;
}
/* ---------- Überschriften ---------- */
h1, h2, h3, h4, h5 {
font-weight: 600;
color: #2a2a2a;
}
h1 {
border-bottom: 2px solid #4caf50;
padding-bottom: 0.3em;
}
h2 {
border-bottom: 1px solid #cfcfcf;
padding-bottom: 0.25em;
}
/* ---------- Links ---------- */
a {
color: #2e7d32;
text-decoration: none;
}
a:hover {
color: #1b5e20;
text-decoration: underline;
}
a.new {
color: #b71c1c;
}
/* ---------- Infoboxen ---------- */
.infobox {
background-color: #fafafa;
border: 1px solid #dcdcdc;
border-radius: 6px;
padding: 0.6em;
font-size: 0.95em;
}
.infobox th {
background-color: #eeeeee;
font-weight: 600;
}
.infobox caption {
background-color: #4caf50;
color: #ffffff;
font-weight: bold;
padding: 0.4em;
}
/* ---------- Tabellen ---------- */
.wikitable {
background-color: #ffffff;
border: 1px solid #d0d0d0;
border-radius: 6px;
overflow: hidden;
}
.wikitable th {
background-color: #eeeeee;
font-weight: 600;
}
.wikitable tr:nth-child(even) {
background-color: #f7f7f7;
}
/* ---------- Code & Vorlagen ---------- */
pre, code, .mw-code {
background-color: #eeeeee;
border: 1px solid #d0d0d0;
border-radius: 4px;
padding: 0.4em 0.6em;
font-family: "Consolas", "Courier New", monospace;
}
/* ---------- Navigationsboxen ---------- */
.navbox {
background-color: #fafafa;
border: 1px solid #d0d0d0;
border-radius: 6px;
}
.navbox-title {
background-color: #4caf50;
color: #ffffff;
font-weight: bold;
}
/* ---------- Kategorien ---------- */
.catlinks {
background-color: #f2f2f2;
border: 1px solid #d0d0d0;
border-radius: 6px;
padding: 0.4em;
}
/* ---------- Seitenleiste ---------- */
.vector-menu-portal .vector-menu-heading {
color: #2e7d32;
font-weight: 600;
}
/* ---------- Hinweise & Boxen ---------- */
.mw-message-box {
border-radius: 6px;
}
.mw-message-box-warning {
background-color: #fff8e1;
border-color: #ffb300;
}
.mw-message-box-error {
background-color: #ffebee;
border-color: #c62828;
}
/* ---------- Footer ---------- */
#footer {
font-size: 0.85em;
color: #666666;
}