badge now supports browser auto theming

This commit is contained in:
discollizard 2024-07-19 23:30:29 -04:00
parent 34a2a92090
commit 3f64e3f439

View File

@ -22,18 +22,21 @@ body {
margin-right: 10px;
}
.dark-theme .length-watch-page{
position: relative;
background-color: #fff;
color: rgba(35, 35, 35, 1);
border-radius: 2px;
padding: 4px;
font-size: 20px;
right: 0.25em;
bottom: 0.25em;
margin-left: 10px;
margin-right: 10px;
}
@media (prefers-color-scheme: dark) {
.length-watch-page{
background-color: #fff;
color: rgba(35, 35, 35, 1);
}
.light-theme .length-watch-page {
background-color: rgba(35, 35, 35, 0.75);
color: #fff;
}
}
#contents {