MediaWiki:Monobook.css

Aus Wolffiles
Version vom 5. Januar 2025, 11:18 Uhr von Wahke (Diskussion | Beiträge) (Der Seiteninhalt wurde durch einen anderen Text ersetzt: „Allgemeine Layout-Reset: body, html { margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f0f0f0; Heller Hintergrund: color: #000; } Globale Link-Stile: a { color: #0645ad; Standard-Linkfarbe: text-decoration: none; } a:hover { text-decoration: underline; } a.new { color: #ba0000; Farbe für neue Links: } Header-Überschriften: h1, h2, h3…“)
Zur Navigation springenZur 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
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Allgemeine Layout-Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; /* Heller Hintergrund */
    color: #000;
}

/* Globale Link-Stile */
a {
    color: #0645ad; /* Standard-Linkfarbe */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.new {
    color: #ba0000; /* Farbe für neue Links */
}

/* Header-Überschriften */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1em 0;
    padding: 0;
    font-weight: bold;
    color: #000;
}

h1 {
    font-size: 2em;
    border-bottom: 2px solid #ddd;
}

h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #ddd;
}

h3, h4, h5, h6 {
    font-size: 1.2em;
}

/* Inhaltsbereich */
#content {
    margin: 2em auto; /* Zentriert und Abstand nach oben */
    padding: 1.5em;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}

/* Navigation */
#p-navigation {
    margin: 0;
    padding: 1em;
    background: #f8f8f8;
    border: 1px solid #ccc;
}

#p-navigation a {
    color: #0645ad;
}

#p-navigation a:hover {
    color: #002bb8;
}

/* Tabelle */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}

table th, table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ccc;
}

table th {
    background: #f0f0f0;
    font-weight: bold;
}

/* Druckansicht */
@media print {
    .noprint, .hidden-print, #navigation, #footer {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    #content {
        margin: 0;
        box-shadow: none;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}