Fixed darkmode button position to be responsive

This commit is contained in:
2023-06-29 18:55:59 +02:00
parent f8d4f03cf8
commit cf0104d387
2 changed files with 10 additions and 3 deletions

View File

@ -278,13 +278,20 @@ hr {
url('../fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
#darkmode-toggle {
display: none;
}
label {
width:70px;
height:35px;
position: relative;
display: block;
top: -40px;
left: 265px;
top: -20px;
left: 44%;
/* left: 265px; */
text-align: center;
/* left: 44%; */
background: #ebebeb;
border-radius: 20px;
box-shadow: inset 0px 0px 10px rgba(0,0,0,0.4), inset 0px 0px 10px rgba(255,255,255,0.4);