MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus RI Wiki
Zur Navigation springenZur Suche springen
Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: →Style for highlighted text using <mark> tag: mark { background-color: yellow; color: black; padding: 0.1em 0.2em; border-radius: 3px; } →Optional: Different colors for different contexts: mark.warning { background-color: #ffcc00; } mark.important { background-color: #ff6666; color: white; }“ |
Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
/* Style for highlighted text using <mark> tag */ | /* Style for highlighted text using <mark> tag */ | ||
mark { | mark { | ||
background-color: | background-color: #fffd54; | ||
color: | color: #000; | ||
padding: 0.1em 0.2em; | padding: 0.1em 0.2em; | ||
border-radius: | border-radius: 0.2em; | ||
box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |||
} | } | ||
Aktuelle Version vom 5. September 2025, 12:58 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Style for highlighted text using <mark> tag */
mark {
background-color: #fffd54;
color: #000;
padding: 0.1em 0.2em;
border-radius: 0.2em;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
/* Optional: Different colors for different contexts */
mark.warning {
background-color: #ffcc00;
}
mark.important {
background-color: #ff6666;
color: white;
}