MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Green Campus Wiki
Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: @media screen { .color-left, .color-middle, .color-right { background-color: #097609; } #mw-content-container { border-bottom-color: #097609; } }“ |
Keine Bearbeitungszusammenfassung |
||
Zeile 4: | Zeile 4: | ||
.color-left, .color-middle, .color-right { background-color: #097609; } | .color-left, .color-middle, .color-right { background-color: #097609; } | ||
#mw-content-container { border-bottom-color: #097609; } | #mw-content-container { border-bottom-color: #097609; } | ||
} | |||
/* CSS for check box template */ | |||
/* this is here because sanitized-css doesn't allow some of the tricks used here */ | |||
*:has(> input:checked) + * > .hide-when-checked { | |||
display: none; | |||
} | |||
*:has(> input:not(:checked)) + * > .hide-when-unchecked { | |||
display: none; | |||
} | |||
*:has(> input:not(:checked)) ~ * > .show-when-all-checked { | |||
display: none; | |||
} | |||
.hide-when-all-checked { | |||
display: none; | |||
} | |||
*:has(> input:not(:checked)) ~ * > .hide-when-all-checked { | |||
display: unset; | |||
} | } |
Version vom 17. März 2024, 15:04 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ @media screen { .color-left, .color-middle, .color-right { background-color: #097609; } #mw-content-container { border-bottom-color: #097609; } } /* CSS for check box template */ /* this is here because sanitized-css doesn't allow some of the tricks used here */ *:has(> input:checked) + * > .hide-when-checked { display: none; } *:has(> input:not(:checked)) + * > .hide-when-unchecked { display: none; } *:has(> input:not(:checked)) ~ * > .show-when-all-checked { display: none; } .hide-when-all-checked { display: none; } *:has(> input:not(:checked)) ~ * > .hide-when-all-checked { display: unset; }