From 475ebb9b930796bde6d6a1e346fced4222a65433 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 11 Jun 2022 13:37:51 +0800 Subject: [PATCH] Update style.css --- static/style.css | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/static/style.css b/static/style.css index 3322285..93b5cd9 100755 --- a/static/style.css +++ b/static/style.css @@ -1055,3 +1055,66 @@ h3 { box-shadow: 0 0 24px 0 #dd4b39 } } + + +#update-message { + width: 600px; + height: 180px; + background-color: darkslategray; + border-radius: 30px; + position: fixed; /*Can also be `fixed`*/ + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + /*Solves a problem in which the content is being cut when the div is smaller than its' wrapper:*/ + max-width: 100%; + max-height: 100%; + overflow: auto; + z-index:99; + +} + +#update-p { + margin-top:50px; + margin-left:70px; + font-size: 20px; + margin-right:70px; + margin-bottom:20px; +} + + + +#wifi-message { + width: 350px; + height: 120px; + border-radius:20px; + background-color: darkslategray; + position: fixed; /*Can also be `fixed`*/ + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + /*Solves a problem in which the content is being cut when the div is smaller than its' wrapper:*/ + max-width: 100%; + max-height: 100%; + overflow: auto; + z-index:99; + +} + +#wifi-p { + margin-top:30px; + margin-left:70px; + font-size:20px; + margin-right:70px; + margin-bottom:20px; +} + + +#weather-api-p { + color:red; +} +