MediaWiki:Monobook.css: Unterschied zwischen den Versionen

Aus Wolffiles
Zur Navigation springenZur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Allgemeiner Hintergrund */
/* Allgemeiner Seitenhintergrund */
body {
body {
     background-color: #1a1a1a; /* Dunkler Hintergrund */
     background-color: #2a2a2a; /* Dunkler Hintergrund */
     background-image: url("DEIN-BILD-URL"); /* Optional: Hintergrundbild */
     background-image: url("DEIN-BILD-URL"); /* Optional: Hintergrundbild */
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: cover;
     background-size: cover;
     color: #eaeaea; /* Helle Standardtextfarbe */
     color: #e0e0e0; /* Helle Textfarbe */
     font-family: Arial, sans-serif; /* Klare Schriftart */
     font-family: Arial, sans-serif; /* Moderne Schriftart */
}
}


/* Hauptinhaltsbereich */
/* Hauptcontainer für den Inhalt */
#content {
#content {
     margin: 50px auto; /* Zentriert den Inhaltsbereich */
     margin: 20px auto; /* Zentriert den Inhalt und fügt Abstand hinzu */
     max-width: 1100px; /* Maximale Breite */
     max-width: 1200px; /* Maximale Breite des Inhalts */
    background-color: #ffffff; /* Weißer Hintergrund für den Hauptinhalt */
    border: 1px solid #ccc; /* Dünner grauer Rahmen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
     padding: 20px; /* Innenabstand */
     padding: 20px; /* Innenabstand */
    background-color: #ffffff; /* Weißer Hintergrund für den Hauptinhalt */
    border: 1px solid #ccc; /* Dünner Rahmen */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Schatten für Tiefe */
    color: #333; /* Dunklere Textfarbe für bessere Lesbarkeit */
}
}


/* Navigationsleiste (linke Spalte) */
/* Navigation (linke Spalte) */
#column-one {
#column-one {
     background-color: #2d2d2d; /* Dunkelgrauer Hintergrund */
    width: 200px; /* Feste Breite für die Navigation */
     color: #eaeaea; /* Helle Schriftfarbe */
     background-color: #1a1a1a; /* Dunkler Hintergrund für Navigation */
     padding: 10px; /* Innenabstand */
     color: #e0e0e0; /* Helle Textfarbe */
     border-right: 1px solid #444; /* Trennlinie rechts */
    border-right: 1px solid #333; /* Trennlinie rechts */
    float: left; /* Navigation links positionieren */
    height: 100vh; /* Volle Höhe der Navigation */
     padding: 20px; /* Innenabstand */
     box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); /* Schatten rechts der Navigation */
}
}


/* Titel der Navigationsleiste */
#column-one h5 {
#column-one h5 {
     color: #ffffff; /* Helle Überschriftenfarbe */
     color: #f0a500; /* Hell-orange Farbe für die Titel */
     font-size: 1.1em; /* Etwas größere Schriftgröße */
     font-size: 1.2em; /* Etwas größere Schriftgröße */
     margin-bottom: 10px; /* Abstand unter Überschrift */
     margin-bottom: 15px; /* Abstand unter den Titeln */
    text-transform: uppercase; /* Überschrift in Großbuchstaben */
}
}


/* Links in der Navigationsleiste */
/* Links in der Navigation */
#column-one a {
#column-one a {
     color: #79c0ff; /* Hellblau für Links */
     color: #e0e0e0; /* Helle Farbe für Links */
     text-decoration: none;
     text-decoration: none; /* Entfernt die Unterstreichung */
    font-size: 1em;
    display: block; /* Jeder Link ist ein Blockelement */
    margin: 5px 0; /* Abstand zwischen den Links */
    padding: 5px; /* Innenabstand für die Links */
    border-radius: 4px; /* Leicht abgerundete Ecken */
    transition: background-color 0.3s ease; /* Sanfter Übergang bei Hover */
}
}


#column-one a:hover {
#column-one a:hover {
     color: #47a3ff; /* Dunkleres Blau beim Hover */
     background-color: #f0a500; /* Hell-orange Hintergrundfarbe beim Überfahren */
     text-decoration: underline;
     color: #1a1a1a; /* Dunkle Textfarbe */
}
}


/* Titel in der Navigationsleiste */
/* Hauptfenster (pBody) */
#p-navigation {
.pBody {
     margin-bottom: 20px; /* Abstand zur unteren Navigation */
     margin-left: 220px; /* Platz für die linke Navigation */
    padding: 20px; /* Innenabstand im Hauptfenster */
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 1px solid #ccc; /* Dünner Rahmen */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}
}


/* Kopfbereich (Header) */
/* Kopfzeile (Header) */
#p-logo {
#p-logo {
     margin: 20px auto; /* Zentriert das Logo */
     background-color: #1a1a1a; /* Dunkler Hintergrund */
    padding: 20px;
    text-align: center; /* Zentrierter Text */
    border-bottom: 2px solid #f0a500; /* Trennlinie in Orange */
}
}


#p-logo a {
#p-logo img {
     display: block;
     max-width: 100px; /* Maximale Breite des Logos */
    width: 200px; /* Größe des Logos */
     display: inline-block;
     height: 50px;
    background: url("DEIN-LOGO-URL") no-repeat center center;
    background-size: contain; /* Logo skaliert passend */
}
 
/* Links im Hauptinhalt */
a {
    color: #0077cc; /* Standard-Linkfarbe */
    text-decoration: none; /* Keine Unterstreichung */
}
 
a:hover {
    color: #005fa3; /* Dunklere Farbe beim Hover */
    text-decoration: underline;
}
}


/* Footer */
/* Footer */
#footer {
#footer {
     margin-top: 50px; /* Abstand oberhalb des Footers */
     margin-top: 20px; /* Abstand oberhalb des Fußbereichs */
     padding: 10px;
     padding: 20px; /* Innenabstand im Footer */
     background-color: #2d2d2d; /* Dunkelgrauer Hintergrund */
     background-color: #1a1a1a; /* Dunkler Hintergrund */
     color: #eaeaea; /* Helle Textfarbe */
     color: #e0e0e0; /* Helle Schriftfarbe */
     text-align: center; /* Zentrierter Text */
     text-align: center; /* Zentrierter Text */
     border-top: 1px solid #444; /* Trennlinie oben */
     border-top: 1px solid #333; /* Dünne Trennlinie oben */
}
}


/* Tabellen (Optional) */
/* Globale Anpassungen */
table {
h1, h2, h3 {
     border-collapse: collapse;
     color: #333; /* Dunkle Farbe für Überschriften */
     width: 100%;
     margin-bottom: 20px; /* Abstand unter den Überschriften */
    background-color: #f9f9f9;
}
}


table th,
a {
table td {
     color: #0077cc; /* Standard-Linkfarbe */
     border: 1px solid #ddd;
     text-decoration: none; /* Keine Unterstreichung */
     padding: 8px;
}
}


table th {
a:hover {
     background-color: #0077cc;
     color: #005fa3; /* Dunklere Farbe beim Überfahren */
    color: white;
     text-decoration: underline; /* Unterstreichung bei Hover */
     text-align: left;
}
}

Version vom 5. Januar 2025, 10:41 Uhr

/* Allgemeiner Seitenhintergrund */
body {
    background-color: #2a2a2a; /* Dunkler Hintergrund */
    background-image: url("DEIN-BILD-URL"); /* Optional: Hintergrundbild */
    background-repeat: no-repeat;
    background-size: cover;
    color: #e0e0e0; /* Helle Textfarbe */
    font-family: Arial, sans-serif; /* Moderne Schriftart */
}

/* Hauptcontainer für den Inhalt */
#content {
    margin: 20px auto; /* Zentriert den Inhalt und fügt Abstand hinzu */
    max-width: 1200px; /* Maximale Breite des Inhalts */
    background-color: #ffffff; /* Weißer Hintergrund für den Hauptinhalt */
    border: 1px solid #ccc; /* Dünner grauer Rahmen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    padding: 20px; /* Innenabstand */
}

/* Navigation (linke Spalte) */
#column-one {
    width: 200px; /* Feste Breite für die Navigation */
    background-color: #1a1a1a; /* Dunkler Hintergrund für Navigation */
    color: #e0e0e0; /* Helle Textfarbe */
    border-right: 1px solid #333; /* Trennlinie rechts */
    float: left; /* Navigation links positionieren */
    height: 100vh; /* Volle Höhe der Navigation */
    padding: 20px; /* Innenabstand */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); /* Schatten rechts der Navigation */
}

/* Titel der Navigationsleiste */
#column-one h5 {
    color: #f0a500; /* Hell-orange Farbe für die Titel */
    font-size: 1.2em; /* Etwas größere Schriftgröße */
    margin-bottom: 15px; /* Abstand unter den Titeln */
}

/* Links in der Navigation */
#column-one a {
    color: #e0e0e0; /* Helle Farbe für Links */
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-size: 1em;
    display: block; /* Jeder Link ist ein Blockelement */
    margin: 5px 0; /* Abstand zwischen den Links */
    padding: 5px; /* Innenabstand für die Links */
    border-radius: 4px; /* Leicht abgerundete Ecken */
    transition: background-color 0.3s ease; /* Sanfter Übergang bei Hover */
}

#column-one a:hover {
    background-color: #f0a500; /* Hell-orange Hintergrundfarbe beim Überfahren */
    color: #1a1a1a; /* Dunkle Textfarbe */
}

/* Hauptfenster (pBody) */
.pBody {
    margin-left: 220px; /* Platz für die linke Navigation */
    padding: 20px; /* Innenabstand im Hauptfenster */
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 1px solid #ccc; /* Dünner Rahmen */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

/* Kopfzeile (Header) */
#p-logo {
    background-color: #1a1a1a; /* Dunkler Hintergrund */
    padding: 20px;
    text-align: center; /* Zentrierter Text */
    border-bottom: 2px solid #f0a500; /* Trennlinie in Orange */
}

#p-logo img {
    max-width: 100px; /* Maximale Breite des Logos */
    display: inline-block;
}

/* Footer */
#footer {
    margin-top: 20px; /* Abstand oberhalb des Fußbereichs */
    padding: 20px; /* Innenabstand im Footer */
    background-color: #1a1a1a; /* Dunkler Hintergrund */
    color: #e0e0e0; /* Helle Schriftfarbe */
    text-align: center; /* Zentrierter Text */
    border-top: 1px solid #333; /* Dünne Trennlinie oben */
}

/* Globale Anpassungen */
h1, h2, h3 {
    color: #333; /* Dunkle Farbe für Überschriften */
    margin-bottom: 20px; /* Abstand unter den Überschriften */
}

a {
    color: #0077cc; /* Standard-Linkfarbe */
    text-decoration: none; /* Keine Unterstreichung */
}

a:hover {
    color: #005fa3; /* Dunklere Farbe beim Überfahren */
    text-decoration: underline; /* Unterstreichung bei Hover */
}