MediaWiki:Common.css

Aus Hytalebase
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* =====================================================
   Modern Minimal MediaWiki Theme
   Author: Custom
   Target: Vector / Vector-2022
   ===================================================== */

/* ---------- Base Typography ---------- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #1f2933;
    background-color: #ffffff;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #111827;
}

h1 {
    font-size: 2.1em;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.6em;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.2em;
}

/* ---------- Links ---------- */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ---------- Content Area ---------- */
.mw-parser-output {
    max-width: 860px;
}

/* ---------- Paragraphs & Lists ---------- */
p {
    margin: 0.7em 0;
}

ul, ol {
    padding-left: 1.5em;
}

/* ---------- Tables ---------- */
table.wikitable {
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95em;
}

table.wikitable th,
table.wikitable td {
    border: 1px solid #e5e7eb;
    padding: 0.5em 0.6em;
}

table.wikitable th {
    background: #f8fafc;
    font-weight: 600;
}

/* ---------- Code & Pre ---------- */
code {
    background: #f3f4f6;
    padding: 0.15em 0.35em;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
}

/* ---------- Blockquotes ---------- */
blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1em;
    color: #4b5563;
    background: #f9fafb;
    margin: 1em 0;
}

/* ---------- Infobox ---------- */
.infobox {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 0.9em;
}

.infobox th {
    background: #f8fafc;
    font-weight: 600;
}

/* ---------- Navigation Cleanup ---------- */
#mw-panel {
    font-size: 0.9em;
}

.vector-menu-heading {
    font-weight: 600;
}

/* ---------- Buttons ---------- */
.mw-ui-button {
    background: #2563eb;
    border: none;
    color: #ffffff;
    border-radius: 6px;
}

.mw-ui-button:hover {
    background: #1d4ed8;
}

/* ---------- Footer ---------- */
#footer {
    font-size: 0.85em;
    color: #6b7280;
}

/* ---------- Images ---------- */
img {
    border-radius: 6px;
}