notice: make restyling of notice boxes more robust #20

This commit is contained in:
Sören Weber 2021-07-16 20:00:21 +02:00
parent edbebe2ff3
commit c718115da0
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -475,6 +475,8 @@ blockquote cite {
font-size: 1.2rem;
}
div.notices {
border-top-width: 2rem;
border-top-style: solid;
margin: 2rem 0;
padding-bottom: .1px;
padding-left: 1rem;
@ -497,8 +499,8 @@ div.notices > div.label:first-child:before {
margin-right: .35rem;
}
div.notices.info {
border-top: 30px solid #6AB0DE;
background: #E7F2FA;
border-color: #6AB0DE;
background-color: #E7F2FA;
}
div.notices.info > div.label:first-child:before {
content: "\f05a";
@ -507,8 +509,8 @@ div.notices.info > div.label:first-child:after {
content: 'Info';
}
div.notices.warning {
border-top: 30px solid rgba(217, 83, 79, 0.8);
background: #FAE2E2;
border-color: rgba(217, 83, 79, 0.8);
background-color: #FAE2E2;
}
div.notices.warning > div.label:first-child:before {
content: "\f071";
@ -517,8 +519,8 @@ div.notices.warning > div.label:first-child:after {
content: 'Warning';
}
div.notices.note {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
border-color: #F0B37E;
background-color: #FFF2DB;
}
div.notices.note > div.label:first-child:before {
content: "\f06a";
@ -527,8 +529,8 @@ div.notices.note > div.label:first-child:after {
content: 'Note';
}
div.notices.tip {
border-top: 30px solid rgba(92, 184, 92, 0.8);
background: #E6F9E6;
border-color: rgba(92, 184, 92, 0.8);
background-color: #E6F9E6;
}
div.notices.tip > div.label:first-child:before {
content: "\f0eb";