diff --git a/templates/index.html b/templates/index.html index 79b2781..f89ed54 100644 --- a/templates/index.html +++ b/templates/index.html @@ -37,9 +37,29 @@ border-radius: 20px; } - .el-card { - border-radius: 20px; + @media (prefers-color-scheme: dark) { + + body { + background-color: #18181c; + } + + .el-card, .el-button, .el-textarea__inner, .el-upload-dragger { + border-radius: 20px; + border: 1px solid transparent; + background-color: rgba(255, 255, 255, 0.1); + box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.2); + } + + * { + color: #ccc !important; + } + + .el-input-group__prepend, .el-input__inner, .el-input-group__append, .el-drawer, #el-drawer__title, .el-empty__description, .el-select-dropdown { + border: 1px solid transparent; + background-color: rgba(0, 0, 0, 0.1); + } } + @@ -47,7 +67,7 @@