From 2941418c1255e924c84632f4078e5e8c71c17743 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Thu, 2 Nov 2023 03:24:20 +0700 Subject: [PATCH] make top warning banner look prettier --- style.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 22472ea..9ddafcf 100644 --- a/style.css +++ b/style.css @@ -154,15 +154,17 @@ html * } .banner { + position: fixed; background-color: #BFD7F3; color: black; - width: 90%; + width: 100%; + top: 0px; + left: 0px; justify-content: center; align-items: center; display: flex; font-weight: bold; padding: 0.2cm; - border-radius:10px; text-align: center; } } @@ -292,15 +294,17 @@ html * } .banner { + position: fixed; background-color: #29415E; color: white; - width: 90%; + width: 100%; + top: 0px; + left: 0px; justify-content: center; align-items: center; display: flex; font-weight: bold; padding: 0.2cm; - border-radius:10px; text-align: center; } }