Add Dark Mode support

This commit is contained in:
TotalCaesar659 2020-10-01 18:58:50 +03:00
parent 8064f6c670
commit bb292e031c
2 changed files with 25 additions and 0 deletions

View file

@ -107,3 +107,16 @@ textarea {
padding: 10px;
margin: 15px 0;
}
@media (prefers-color-scheme: dark) {
body,
textarea,
.note {
background-color: #313131;
color: #bfbfbf;
}
.admin {
background-color: #545709;
color: #bfbfbf;
}
}

View file

@ -249,3 +249,15 @@ body[data-android="true"] [data-cmd="window"] {
.hide {
visibility: hidden;
}
@media (prefers-color-scheme: dark) {
body,
th,
select,
input,
#view,
table {
background-color: #313131;
color: #bfbfbf;
}
}