MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 149: | Zeile 149: | ||
#footer-places li a:hover { | #footer-places li a:hover { | ||
color: #0dcaf0 !important; /* Leuchtet im Kontrastblau beim Drüberfahren */ | color: #0dcaf0 !important; /* Leuchtet im Kontrastblau beim Drüberfahren */ | ||
} | |||
/* Links im Footer (Datenschutz, Impressum etc.) untereinander statt nebeneinander listig anordnen */ | |||
#footer-places ul { | |||
display: flex !important; | |||
flex-direction: column !important; /* Erzwingt die Anordnung untereinander */ | |||
gap: 8px !important; /* Angenehmer vertikaler Abstand zwischen den Links */ | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
list-style: none !important; /* Entfernt eventuelle Standard-Aufzählungspunkte */ | |||
} | |||
#footer-places li { | |||
display: block !important; | |||
margin: 0 !important; | |||
} | } | ||
Version vom 31. Mai 2026, 17:37 Uhr
/* ==========================================================================
1. SCHRIFTEN & GLOBALE ÜBERSCHRIFTEN (Gilt für Hell UND Dunkel)
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400&family=Open+Sans&display=swap');
body {
font-family: 'Open Sans', sans-serif !important;
}
/* Überschriften: Montserrat, sehr schlank und in ALL CAPS */
h1, h2, h3 {
font-family: 'Montserrat', sans-serif !important;
font-weight: 200 !important;
text-transform: uppercase !important; /* All Caps */
letter-spacing: 1.5px;
position: relative;
display: table; /* Korrekte Längenberechnung für die Unterstreichung */
margin-bottom: 25px;
padding-bottom: 8px;
border-bottom: none !important; /* MediaWiki-Standard entfernen */
}
/* ==========================================================================
2. STANDARD / HELL (Elegantes Weiß mit angenehmer Dunkelschrift)
========================================================================== */
:root, body, .mw-body, #content {
background-color: #ffffff !important;
background-image: none !important;
color: #001b4c !important; /* Augenfreundliches Tiefblau statt Hartschwarz */
}
/* Textfarben im hellen Layout */
p, li, dd, span, td, th {
color: #001b4c !important;
}
h1, h2, h3 {
color: #001b4c !important;
}
/* Hyperlinks im hellen Layout (Verwendung des Kontrastblaus #0dcaf0) */
a, a.external {
color: #0dcaf0 !important;
}
/* Unterstreichung im hellen Layout */
h1::after, h2::after, h3::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 2px;
width: 120%; /* 20% Überhang */
background: linear-gradient(to right, #0dcaf0 0%, #0dcaf0 60%, #e5e5e5 60%, #e5e5e5 100%);
}
/* ==========================================================================
3. DARK DESIGN (Go-Medical Dark Schema)
========================================================================== */
@media (prefers-color-scheme: dark) {
:root, body, .mw-body, #content, .citizen-page-container {
background-color: #1a222d !important;
background-image: none !important;
color: #cbd5e1 !important; /* Vorgabe für Standard-Text */
}
/* Standard-Textelemente im Dark Mode */
p, li, dd, span, td, th {
color: #cbd5e1 !important;
}
.mw-header, .citizen-sidebar, .citizen-drawer, .mw-portlet {
background-color: #131a22 !important;
border-color: #2e3c4e !important;
}
/* Überschriften im Dark Mode (Weiß für maximale Lesbarkeit vor Dunkelblau) */
h1, h2, h3 {
color: #ffffff !important;
}
/* Hyperlinks im Dark Layout (Kontrastblau #0dcaf0) */
a, a.external {
color: #0dcaf0 !important;
}
/* Unterstreichung im Dark Mode (Rechter Auslauf angepasst) */
h1::after, h2::after, h3::after {
background: linear-gradient(to right, #0dcaf0 0%, #0dcaf0 60%, #2e3c4e 60%, #2e3c4e 100%) !important;
}
/* Suchfeld-Korrekturen für das Dark Layout */
.mw-search-form-wrapper, .oo-ui-textInputWidget-type-search input {
background-color: #131a22 !important;
color: #cbd5e1 !important;
border-color: #2e3c4e !important;
}
}
/* ==========================================================================
4. PERMANENTER FUSSTEXT-BEREICH (Egal ob Hell oder Dunkel immer #171717)
========================================================================== */
/* Den gesamten Footer-Hintergrund auf das gewünschte tiefe Anthrazit fixieren */
.citizen-footer {
background-color: #171717 !important;
background-image: none !important;
border-top: 1px solid #2b2b2b !important;
padding: 30px 20px !important;
}
/* --- REINIGUNG: Überflüssige Elemente ausblenden --- */
/* 1. Die alte Wortmarke ("GO Medical Wiki") im Footer komplett ausblenden */
.citizen-footer__sitetitle .mw-logo-wordmark {
display: none !important;
}
/* 2. Das überflüssige "Powered-by"-Icon unten rechts komplett entfernen */
#footer-icons, .citizen-footer__bottom {
display: none !important;
}
/* --- RESTRUKTURIERUNG: Neues Kombi-Logo einsetzen --- */
/* Das alte quadratische Icon im Footer unsichtbar machen */
.citizen-footer__sitetitle .mw-logo-icon {
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
padding: 0 !important;
}
/* Den Container nutzen, um dein großes Kombi-Logo als Hintergrund zu laden */
.citizen-footer__sitetitle {
display: block !important;
width: 260px !important; /* Breite des neuen Kombi-Logos */
height: 60px !important; /* Höhe des Logos – falls nötig leicht anpassen */
background-image: url('/resources/assets/GOMedicalWiki-gross.png') !important;
background-size: contain !important;
background-position: left center !important;
background-repeat: no-repeat !important;
}
/* Textfarben für die verbleibenden Links (Datenschutz, Impressum etc.) */
#footer-places li a {
color: #94a3b8 !important;
}
#footer-places li a:hover {
color: #0dcaf0 !important; /* Leuchtet im Kontrastblau beim Drüberfahren */
}
/* Links im Footer (Datenschutz, Impressum etc.) untereinander statt nebeneinander listig anordnen */
#footer-places ul {
display: flex !important;
flex-direction: column !important; /* Erzwingt die Anordnung untereinander */
gap: 8px !important; /* Angenehmer vertikaler Abstand zwischen den Links */
padding: 0 !important;
margin: 0 !important;
list-style: none !important; /* Entfernt eventuelle Standard-Aufzählungspunkte */
}
#footer-places li {
display: block !important;
margin: 0 !important;
}