Update style.css

This commit is contained in:
Justin 2022-06-11 13:37:51 +08:00 committed by GitHub
parent 6321ce9759
commit 475ebb9b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1055,3 +1055,66 @@ h3 {
box-shadow: 0 0 24px 0 #dd4b39 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;
}