MediaWiki:Citizen.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Eiki (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Eiki (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 40: | Zeile 40: | ||
/* Standardbreite des Inhalts (Citizen-Vorgabe: 1080px) */ | /* Standardbreite des Inhalts (Citizen-Vorgabe: 1080px) */ | ||
:root.citizen-feature-custom-width-clientpref-standard { | :root.citizen-feature-custom-width-clientpref-standard { | ||
--width-layout: | --width-layout: 1080px; | ||
} | } | ||
Version vom 12. November 2026, 17:01 Uhr
/* Das folgende CSS wird für Benutzer des Citizen-Skins geladen */
/* =====================================================================
Cubeside-Farbschema für Citizen
Citizen leitet ALLE Farben (Links, Buttons, Hintergründe, Text-Tönung)
aus einer Grundfarbe ab. Hier wird sie auf Cubeside-Grün gesetzt.
===================================================================== */
/* Hell: dunkleres Grün, damit Links gut lesbar sind (Kontrast 5:1) */
:root {
--color-progressive-oklch__l: 52%;
--color-progressive-oklch__c: 0.16;
--color-progressive-oklch__h: 138;
--color-primary-oklch__h: 138;
/* Fallback für ältere Browser ohne OKLCH */
--color-progressive-hsl__h: 96;
--color-progressive-hsl__s: 97%;
--color-progressive-hsl__l: 24%;
--color-primary__h: 96;
--color-primary__s: 97%;
--color-primary__l: 24%;
}
/* Dunkel: helleres Cubeside-Grün, gut lesbar auf dunklem Grund */
:root.skin-theme-clientpref-night {
--color-progressive-oklch__l: 70%;
--color-progressive-oklch__c: 0.18;
--color-progressive-hsl__l: 45%;
--color-primary__l: 45%;
}
@media ( prefers-color-scheme: dark ) {
:root.skin-theme-clientpref-os {
--color-progressive-oklch__l: 70%;
--color-progressive-oklch__c: 0.18;
--color-progressive-hsl__l: 45%;
--color-primary__l: 45%;
}
}
/* Standardbreite des Inhalts (Citizen-Vorgabe: 1080px) */
:root.citizen-feature-custom-width-clientpref-standard {
--width-layout: 1080px;
}