Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus FISI Wissendatenbank
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Keine Bearbeitungszusammenfassung
Zeile 21: Zeile 21:
     background: #1b222d url("/resources/assets/background.jpg") fixed center/cover !important;
     background: #1b222d url("/resources/assets/background.jpg") fixed center/cover !important;
     max-width: 100% !important;
     max-width: 100% !important;
}
/* ============================================================
  SPEZIALSEITEN & LOGIN-DARK-FORCE
  ============================================================ */
/* 1. Den weißen Hintergrund am Fundament zerstören */
html.mw-helper-class-is-special,
body.mw-special-Userlogin,
.mw-special-Userlogin #content,
.mw-special-Userlogin #mw-content-text {
    background: none !important;
    background-color: transparent !important;
}
/* 2. Globaler Hintergrund-Reset für die Login-Seite */
.mw-special-Userlogin .mw-page-container {
    background: #1b222d url("/resources/assets/background.jpg") fixed center/cover !important;
}
/* 3. Die Login-Box selbst stylen */
.mw-ui-vform,
.mw-ui-container {
    background-color: rgba(27, 34, 45, 0.95) !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7) !important;
    padding: 30px !important;
    color: #e2e8f0 !important;
}
/* 4. Texte auf der Login-Seite (Username, Passwort, etc.) */
.mw-ui-vform fieldset legend,
.mw-ui-vform label {
    color: #5891ff !important;
    background: transparent !important;
}
/* 5. Buttons auf der Login-Seite */
#wpLoginAttempt {
    background-color: #5891ff !important;
    border: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}
/* 6. Fix für die "Erscheinungsbild"-Box auf der Login-Seite (falls sie da wieder auftaucht) */
.mw-special-Userlogin .vector-appearance-pinned-container {
    display: none !important;
}
}



Version vom 29. April 2026, 11:43 Uhr

/* ============================================================
   FISI WISSENDATENBANK - CORE DESIGN SYSTEM
   ============================================================ */

/* 1. GLOBALE FARB-VARIABLEN (Dein Screenshot-Fix) */
:root {
    --color-base: #e2e8f0;
    --color-base-fixed: #e2e8f0;
    --background-color-base: #1b222d;
    --color-emphasized: #5891ff;
    --color-progressive: #5891ff;
    --box-shadow-color-base: rgba(0, 0, 0, 0.5);
    
    /* Wir überschreiben hier die Standard-MediaWiki-Werte */
    --mw-color-link: #5891ff;
    --mw-color-link-hover: #7eb0ff;
}

/* 2. LAYOUT & BREITE */
html, body, .mw-page-container {
    background: #1b222d url("/resources/assets/background.jpg") fixed center/cover !important;
    max-width: 100% !important;
}

/* ============================================================
   SPEZIALSEITEN & LOGIN-DARK-FORCE
   ============================================================ */

/* 1. Den weißen Hintergrund am Fundament zerstören */
html.mw-helper-class-is-special, 
body.mw-special-Userlogin,
.mw-special-Userlogin #content,
.mw-special-Userlogin #mw-content-text {
    background: none !important;
    background-color: transparent !important;
}

/* 2. Globaler Hintergrund-Reset für die Login-Seite */
.mw-special-Userlogin .mw-page-container {
    background: #1b222d url("/resources/assets/background.jpg") fixed center/cover !important;
}

/* 3. Die Login-Box selbst stylen */
.mw-ui-vform, 
.mw-ui-container {
    background-color: rgba(27, 34, 45, 0.95) !important;
    border: 1px solid rgba(88, 145, 255, 0.3) !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7) !important;
    padding: 30px !important;
    color: #e2e8f0 !important;
}

/* 4. Texte auf der Login-Seite (Username, Passwort, etc.) */
.mw-ui-vform fieldset legend,
.mw-ui-vform label {
    color: #5891ff !important;
    background: transparent !important;
}

/* 5. Buttons auf der Login-Seite */
#wpLoginAttempt {
    background-color: #5891ff !important;
    border: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

/* 6. Fix für die "Erscheinungsbild"-Box auf der Login-Seite (falls sie da wieder auftaucht) */
.mw-special-Userlogin .vector-appearance-pinned-container {
    display: none !important;
}

/* 3. HEADER-REPARATUR: Verteilung auf volle Breite */
.vector-header {
    display: flex !important;
    justify-content: space-between !important; /* Verteilt Elemente nach außen */
    align-items: center !important;
    padding: 0 40px !important; /* Abstand zu den Bildschirmrändern */
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(88, 145, 255, 0.2) !important;
    max-width: 100% !important;
}

/* Logo & Suche gruppieren */
.vector-header-start {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

/* Suchleiste in die Mitte rücken */
.vector-header-central {
    flex: 2 !important;
    display: flex !important;
    justify-content: center !important;
}

/* Benutzer-Tools (Rechts) */
.vector-header-end {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* 4. LOGO-SKALIERUNG */
.mw-logo {
    height: 150px !important;
    transition: transform 0.3s ease;
}

.mw-logo-icon {
    height: 145px;
    width: auto;
}

.mw-logo:hover {
    transform: scale(1.05);
}

/* 5. BOX-DESIGN (TOC & MAIN) */
.mw-body, 
#vector-toc-pinned-container,
.vector-pinned-container {
    background-color: rgba(27, 34, 45, 0.94) !important;
    border: 1px solid rgba(88, 145, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(12px) !important;
    padding: 25px !important;
}

/* 6. UI-CLEANUP (Erscheinungsbild & After-Fix) */
#vector-appearance-pinned-container,
.vector-appearance-dropdown,
.vector-pinnable-header-toggle-button,
.vector-column-start::after,
.vector-sticky-pinned-container::after {
    display: none !important;
    content: none !important;
}

/* 7. FORMULAR-ELEMENTE (Suche & Buttons) */
.cdx-text-input__input {
    background-color: #0f172a !important;
    color: white !important;
    border: 1px solid #5891ff !important;
    border-radius: 8px !important;
}

/* 8. ICONS & LINKS */
.mw-ui-icon {
    filter: invert(1) brightness(1.5) !important;
}

h1, h2, h3, .mw-headline {
    color: var(--color-emphasized) !important;
    border-bottom: 1px solid rgba(88, 145, 255, 0.1) !important;
}