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