Vorlage:Hugo-Notiz/style.css

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