Vorlage:Hugo-Notiz/style.css: Unterschied zwischen den Versionen
Aus KGS-Wiki
Sn (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Sn (Diskussion | Beiträge) K (Nächster Versuch.) |
||
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
margin: 2rem 0; | margin: 2rem 0; | ||
position: relative; | position: relative; | ||
display: flow-root; | |||
} | } | ||
div.notices | div.notices div.notices-content { | ||
padding: 15px; | padding: 15px; | ||
display: | display: flow-root; | ||
margin-top: 0rem; | margin-top: 0rem; | ||
margin-bottom: 0rem; | margin-bottom: 0rem; | ||
color: #666; | color: #666; | ||
background-color: #ddd; | |||
border-top: 30px solid #888; | |||
border-radius: 8px; | |||
} | } | ||
div.notices | div.notices > div.notices-icon { | ||
position: absolute; | position: absolute; | ||
top: 2px; | top: 2px; | ||
color: #fff; | color: #fff; | ||
font-weight: 900; | font-weight: 900; | ||
left: 10px; | left: 10px; | ||
} | } | ||
div.notices | div.notices > div.notices-title{ | ||
position: absolute; | position: absolute; | ||
top: 2px; | top: 2px; | ||
color: #fff; | color: #fff; | ||
left: 2rem; | left: 2rem; | ||
font-weight: bold; | |||
} | } |
Aktuelle Version vom 1. Oktober 2024, 06:22 Uhr
div.notices {
margin: 2rem 0;
position: relative;
display: flow-root;
}
div.notices div.notices-content {
padding: 15px;
display: flow-root;
margin-top: 0rem;
margin-bottom: 0rem;
color: #666;
background-color: #ddd;
border-top: 30px solid #888;
border-radius: 8px;
}
div.notices > div.notices-icon {
position: absolute;
top: 2px;
color: #fff;
font-weight: 900;
left: 10px;
}
div.notices > div.notices-title{
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
font-weight: bold;
}