MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus wiki.rbs-it.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* --- Perfekter Enterprise-Look: Dunkelgrau mit rotem Akzent --- */
/* --- Modernes Hellgrau-Design mit schwarzem Text --- */


/* 1. Haupt-Box (Tabellen): Schwarzer Außenrand, schicker Schatten */
/* 1. Haupt-Box (Tabellen): Schwarzer Außenrand, schicker Schatten */
table.wikitable, .mw-parser-output table.wikitable {
table.wikitable, .mw-parser-output table.wikitable {
     background-color: #2A2A2A !important; /* Edles Dunkelgrau für den Innenbereich */
     background-color: #F4F4F4 !important; /* Angenehmes, helles Grau */
     border: 4px solid #111111 !important; /* Kräftiger schwarzer Außenrand */
     border: 4px solid #111111 !important; /* Kräftiger schwarzer Außenrand */
     border-collapse: separate !important;
     border-collapse: separate !important;
Zeile 23: Zeile 23:
}
}


/* 3. Zellen: Dunkelgrauer Hintergrund, weiße Schrift für optimalen Kontrast */
/* 3. Zellen: Hellgrauer Hintergrund, schwarze Schrift */
table.wikitable td, .mw-parser-output table.wikitable td {
table.wikitable td, .mw-parser-output table.wikitable td {
     background-color: #2A2A2A !important; /* Dunkelgrauer Bereich */
     background-color: #F4F4F4 !important;
     color: #FFFFFF !important; /* Weiße Schrift auf dunklem Grund */
     color: #000000 !important; /* Schwarze Schrift für perfekte Lesbarkeit */
     border: none !important;
     border: none !important;
     border-top: 1px solid #3A3A3A !important; /* Dezent dunklere Trennlinie */
     border-top: 1px solid #E0E0E0 !important; /* Dezente Trennlinie */
     padding: 12px 15px !important;
     padding: 12px 15px !important;
}
}


/* 4. Links in den Zellen in hellem Weiß/Blau, damit man sie gut liest */
/* 4. Links in den Zellen in klassischem Schwarz / bei Hover in Firmen-Rot */
table.wikitable td a, .mw-parser-output table.wikitable td a {
table.wikitable td a, .mw-parser-output table.wikitable td a {
     color: #E0E0E0 !important;
     color: #111111 !important;
     text-decoration: none !important;
     text-decoration: none !important;
}
}


table.wikitable td a:hover {
table.wikitable td a:hover {
     color: #DE2126 !important; /* Beim Drüberfahren werden sie rot */
     color: #DE2126 !important;
}
}


/* 5. Bullet Points (Aufzählungen) in den Boxen auf Rot umfärben */
/* 5. Bullet Points (Aufzählungen) wieder normal anzeigen und sichtbar machen */
table.wikitable td ul li, .mw-parser-output table.wikitable td ul li {
table.wikitable td ul li, .mw-parser-output table.wikitable td ul li {
     list-style-type: disc !important;
     list-style-type: disc !important;
     color: #DE2126 !important; /* Macht den Punkt selbst rot als Akzent */
     color: #333333 !important;
}
}


/* Text innerhalb der Aufzählung wieder weiß machen */
table.wikitable td ul li span,  
table.wikitable td ul li span,  
table.wikitable td ul li a {
table.wikitable td ul li a {
     color: #FFFFFF !important;
     color: #000000 !important;
}
}



Version vom 11. August 2026, 09:11 Uhr

/* --- Modernes Hellgrau-Design mit schwarzem Text --- */

/* 1. Haupt-Box (Tabellen): Schwarzer Außenrand, schicker Schatten */
table.wikitable, .mw-parser-output table.wikitable {
    background-color: #F4F4F4 !important; /* Angenehmes, helles Grau */
    border: 4px solid #111111 !important; /* Kräftiger schwarzer Außenrand */
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin-bottom: 20px !important;
}

/* 2. Tabellenkopf: Sattes Schwarz, zentriert, weißer Text */
table.wikitable th, .mw-parser-output table.wikitable th {
    background-color: #111111 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 15px !important;
    text-align: center !important;
    font-size: 14px;
}

/* 3. Zellen: Hellgrauer Hintergrund, schwarze Schrift */
table.wikitable td, .mw-parser-output table.wikitable td {
    background-color: #F4F4F4 !important;
    color: #000000 !important; /* Schwarze Schrift für perfekte Lesbarkeit */
    border: none !important;
    border-top: 1px solid #E0E0E0 !important; /* Dezente Trennlinie */
    padding: 12px 15px !important;
}

/* 4. Links in den Zellen in klassischem Schwarz / bei Hover in Firmen-Rot */
table.wikitable td a, .mw-parser-output table.wikitable td a {
    color: #111111 !important;
    text-decoration: none !important;
}

table.wikitable td a:hover {
    color: #DE2126 !important;
}

/* 5. Bullet Points (Aufzählungen) wieder normal anzeigen und sichtbar machen */
table.wikitable td ul li, .mw-parser-output table.wikitable td ul li {
    list-style-type: disc !important;
    color: #333333 !important;
}

table.wikitable td ul li span, 
table.wikitable td ul li a {
    color: #000000 !important;
}

/* Allgemeine Überschriften */
h1, h2, h3, h4 {
    border-bottom: 2px solid #DE2126 !important;
    padding-bottom: 4px;
}