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 UI FINAL STABLE
   ============================================================ */

/* 1. GLOBALER HINTERGRUND & HEADER-FIX */
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. HAUPTCONTAINER (Die große Box in der Mitte) */
.mw-body {
    background-color: rgba(27, 34, 45, 0.92) !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 15px !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    padding: 25px !important; /* Sorgt für Abstand des Textes zum Rand */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* 3. SIDEBAR-BOXEN (Inhaltsverzeichnis & Widgets) */
.vector-toc, 
.vector-pinned-container, 
.vector-appearance-dropdown-menu,
#vector-appearance-pinned-container {
    background-color: rgba(30, 41, 59, 0.95) !important;
    background-image: none !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    box-shadow: none !important; /* Entfernt die hellen Balken/Schatten */
}

/* 4. ENTFERNEN VON TRENNLINIEN & BALKEN */
.vector-pinnable-header, 
.vector-toc-pinnable-header,
.mw-portlet {
    border-bottom: none !important;
    background-image: none !important;
}

/* 5. TEXT-FINISH & UEBERSCHRIFTEN */
h1, h2, h3, .mw-headline, .vector-toc-text {
    color: #5891ff !important;
    padding-left: 0 !important; /* Padding kommt vom Hauptcontainer */
}

a { color: #82aaff !important; }
a:visited { color: #c792ea !important; }

/* 6. ICONS & HAMBURGER (Weiß machen) */
.mw-ui-icon, .vector-icon, .vector-main-menu-dropdown .mw-ui-icon {
    filter: invert(1) brightness(1.5) !important;
}

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

.cdx-button {
    background-color: #1e293b !important;
    color: #fff !important;
    border: 1px solid #5891ff !important;
}

/* 8. FOOTER */
.mw-footer {
    background: transparent !important;
    margin-top: 30px !important;
}