MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Green Campus Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 8: Zeile 8:
/* CSS for check box template */
/* CSS for check box template */
/* this is here because sanitized-css doesn't allow some of the tricks used here */
/* this is here because sanitized-css doesn't allow some of the tricks used here */
.marker {
  display: none;
}
[contenteditable="true"] .marker {
  display: unset;
  border: 1px solid gray;
  border-radius: .2em;
  padding-left: .2em;
  padding-right: .2em;
  background-color: lightgray;
}


:has(> input:checked) + :has(> .hide-when-checked) {
:has(> input:checked) + :has(> .hide-when-checked) {

Version vom 17. März 2024, 15:24 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 */

.marker {
  display: none;
}

[contenteditable="true"] .marker {
  display: unset;
  border: 1px solid gray;
  border-radius: .2em;
  padding-left: .2em;
  padding-right: .2em;
  background-color: lightgray;
}

:has(> input:checked) + :has(> .hide-when-checked) {
  display:none
}
:has(> input:not(:checked)) + :has(> .hide-when-unchecked) {
  display:none
}
:has(> input:not(:checked)) ~ :has(> .show-when-all-checked) {
  display:none
}
:has(> .hide-when-all-checked) {
  display:none
}
:has(> input:not(:checked)) ~ :has(> .hide-when-all-checked) {
  display:unset
}