MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 102: | Zeile 102: | ||
========================================================================== */ | ========================================================================== */ | ||
.citizen-footer { | .citizen-footer { | ||
background-color: #171717 !important; /* Permanentes, tiefes Anthrazit | background-color: #171717 !important; /* Permanentes, tiefes Anthrazit */ | ||
background-image: none !important; | background-image: none !important; | ||
border-top: 1px solid #2b2b2b !important; | border-top: 1px solid #2b2b2b !important; | ||
padding: | padding: 40px 20px !important; /* Etwas mehr Platz nach oben/unten */ | ||
} | } | ||
/* | /* Alle Standard-Texte, Titel und Icons von Citizen unsichtbar machen */ | ||
.citizen-footer, | .citizen-footer__title, | ||
. | .citizen-footer__logo, | ||
.citizen- | .footer-icons, | ||
.mw-footer-impl-poweredby, | |||
.citizen-footer__poweredby { | |||
display: none !important; | |||
} | } | ||
/* Logo | /* Den Header-Container als Klick-Bereich für dein großes Logo umbauen */ | ||
.citizen-footer__header { | .citizen-footer__header { | ||
display: | display: block !important; | ||
margin: 0 auto !important; | |||
width: 260px !important; /* Exakte Breite deines Logos */ | |||
height: 60px !important; /* Ungefähre Höhe deines Logos - ggf. anpassen */ | |||
background-image: url('/resources/assets/GOMedicalWiki-gross.png') !important; | |||
background-size: contain !important; | |||
background-position: center center !important; | |||
background-repeat: no-repeat !important; | |||
cursor: pointer; | |||
transition: transform 0.2s ease; | |||
} | } | ||
/* | /* Kleiner, eleganter Hover-Effekt */ | ||
.citizen- | .citizen-footer__header:hover { | ||
transform: scale(1.03); | |||
} | } | ||
Version vom 31. Mai 2026, 17:30 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)
========================================================================== */
.citizen-footer {
background-color: #171717 !important; /* Permanentes, tiefes Anthrazit */
background-image: none !important;
border-top: 1px solid #2b2b2b !important;
padding: 40px 20px !important; /* Etwas mehr Platz nach oben/unten */
}
/* Alle Standard-Texte, Titel und Icons von Citizen unsichtbar machen */
.citizen-footer__title,
.citizen-footer__logo,
.footer-icons,
.mw-footer-impl-poweredby,
.citizen-footer__poweredby {
display: none !important;
}
/* Den Header-Container als Klick-Bereich für dein großes Logo umbauen */
.citizen-footer__header {
display: block !important;
margin: 0 auto !important;
width: 260px !important; /* Exakte Breite deines Logos */
height: 60px !important; /* Ungefähre Höhe deines Logos - ggf. anpassen */
background-image: url('/resources/assets/GOMedicalWiki-gross.png') !important;
background-size: contain !important;
background-position: center center !important;
background-repeat: no-repeat !important;
cursor: pointer;
transition: transform 0.2s ease;
}
/* Kleiner, eleganter Hover-Effekt */
.citizen-footer__header:hover {
transform: scale(1.03);
}