Vorlage:Hugo-Notiz/style.css
Aus KGS-Wiki
div.notices {
margin: 2rem 0;
position: relative;
}
div.notices > * {
padding: 15px;
display: block;
font-size: 1rem;
margin-top: 0rem;
margin-bottom: 0rem;
color: #666;
background: #ddd;
}
div.notices > *:first-child {
border-top: 30px solid #888;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
div.notices > *:last-child {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
div.notices > *:first-child:before {
position: absolute;
top: 2px;
color: #fff;
font-weight: 900;
content: "ℹ️";
left: 10px;
}
div.notices > *:first-child:after {
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
font-weight: bold;
}