From c718115da05d8e20df625a3350e91773d5ee08be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 16 Jul 2021 20:00:21 +0200 Subject: [PATCH] notice: make restyling of notice boxes more robust #20 --- static/css/theme.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/static/css/theme.css b/static/css/theme.css index e1acdb5752..fa7fd7a911 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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";