Vorlage:Note/styles.css: Unterschied zwischen den Versionen
aus dem Wiki des Entropia e.V., CCC Karlsruhe
(Die Seite wurde neu angelegt: „.note { background-position: left 7px top 50%; padding: 0.5em 0.5em 0.5em 40px; margin: 0.5em 0; overflow: hidden; background-color: #f8f9fa; background-repeat: no-repeat; border: 1px solid #ddd; } .note-inline { display: inline-block; vertical-align: middle; } .note-info { background-color: #eaf3ff; →[[File:OOjs_UI_icon_information-progressive.svg]]: background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_in…“) |
Keine Bearbeitungszusammenfassung |
||
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 6: | Zeile 6: | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border: | min-height: 25px; | ||
background-size: 25px; | |||
color: var(--color-base); | |||
border-radius: var(--border-radius--medium); | |||
border-color: var(--border-color-base); | |||
box-shadow: var(--box-shadow-card); | |||
} | } | ||
.note-inline { | .note-inline { | ||
display: inline-block; | display: inline-block; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.note-info { | .note-info { | ||
background-color: | background-color: var(--background-color-primary); | ||
/* [[File:OOjs_UI_icon_information-progressive.svg]] */ | /* [[File:OOjs_UI_icon_information-progressive.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg); | ||
} | } | ||
.note-reminder { | .note-reminder { | ||
background-color: | background-color: var(--color-surface-2); | ||
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */ | /* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg); | ||
} | } | ||
.note-warn { | .note-warn { | ||
background-color: | background-color: var(--background-color-warning); | ||
/* [[File:OOjs_UI_icon_alert-warning.svg]] */ | /* [[File:OOjs_UI_icon_alert-warning.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg); | ||
} | } | ||
.note-error { | .note-error { | ||
background-color: | background-color: var(--background-color-destructive); | ||
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */ | /* [[File:OOjs_UI_icon_notice-destructive.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg); | ||
} | } |
Aktuelle Version vom 5. März 2024, 20:01 Uhr
.note {
background-position: left 7px top 50%;
padding: 0.5em 0.5em 0.5em 40px;
margin: 0.5em 0;
overflow: hidden;
background-color: #f8f9fa;
background-repeat: no-repeat;
min-height: 25px;
background-size: 25px;
color: var(--color-base);
border-radius: var(--border-radius--medium);
border-color: var(--border-color-base);
box-shadow: var(--box-shadow-card);
}
.note-inline {
display: inline-block;
vertical-align: middle;
}
.note-info {
background-color: var(--background-color-primary);
/* [[File:OOjs_UI_icon_information-progressive.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg);
}
.note-reminder {
background-color: var(--color-surface-2);
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg);
}
.note-warn {
background-color: var(--background-color-warning);
/* [[File:OOjs_UI_icon_alert-warning.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
}
.note-error {
background-color: var(--background-color-destructive);
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg);
}