Zum Inhalt springen

MediaWiki:Common.css

Aus FISI Wissendatenbank

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
/* Z-Evolutions Corporate Design - Final Polish */

/* 1. Globaler Hintergrund & Header */
html, body, .mw-page-container, .mw-header, .vector-header {
    background-color: #1b222d !important;
    background-image: url("/resources/assets/background.jpg") !important;
    background-attachment: fixed !important; 
    background-size: cover !important; 
    background-position: center !important;
    color: #e2e8f0 !important;
}

/* 2. Inhaltsbereich (Content) */
.mw-body {
    background-color: rgba(27, 34, 45, 0.88) !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 12px;
    color: #e2e8f0 !important;
    backdrop-filter: blur(10px);
}

/* 3. FIX FÜR WEISSE BOXEN (TOC, Widgets, Menüs) */
/* Wir erzwingen hier Dunkelheit für alle Container-Typen */
.toc, .mw-parser-output .toc, .vector-toc, 
.vector-appearance-dropdown-menu, .vector-dropdown-content,
.vector-main-menu, .vector-sidebar-container,
.mw-portlet, .cdx-menu {
    background-color: rgba(23, 30, 43, 0.95) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 8px !important;
}

/* Spezieller Fix für das weiße Erscheinungsbild-Widget */
.vector-appearance-dropdown-menu, 
.vector-appearance-dropdown-menu * {
    background-color: transparent !important;
    color: #f1f5f9 !important;
}

/* 4. Überschriften in Branding-Blau */
h1, h2, h3, .mw-headline {
    color: #5891ff !important;
    border-bottom: 1px solid rgba(88, 145, 255, 0.2) !important;
}

/* 5. Links & Interaktion */
a { color: #82aaff !important; }
a:visited { color: #c792ea !important; }
a:hover { color: #ffffff !important; text-decoration: underline !important; }

/* 6. Suchleiste & Formulare */
.cdx-text-input__input {
    background-color: #0f172a !important;
    color: white !important;
    border: 1px solid #5891ff !important;
}

/* 7. Footer */
.mw-footer {
    background: transparent !important;
    color: #94a3b8 !important;
}