early dark mode support using #dark

This commit is contained in:
2022-12-02 21:38:05 -05:00
parent 7dc7c10f61
commit 596065b7c8
2 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,7 @@
html {
font-size: 14px;
height: 100%;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (min-width: 768px) {
@ -35,6 +35,11 @@ textarea {
border-width: 0;
}
textarea.dark {
background-color: #222;
color: #ddd;
}
#saved-indicator {
position: fixed;
bottom: -40px;
@ -47,6 +52,6 @@ textarea {
transition: bottom 0.2s;
}
#saved-indicator.show {
bottom: 0;
}
#saved-indicator.show {
bottom: 0;
}