diff --git a/css/dark-mode.css b/css/dark-mode.css new file mode 100644 index 0000000..4272c02 --- /dev/null +++ b/css/dark-mode.css @@ -0,0 +1,10 @@ +.bar-color {color:#000!important;background-color:#f1f1f1!important} +@media (prefers-color-scheme: dark) { + body {background-color: black;color: white;} + .bar-color{color:#000!important;background-color:#707070!important} + .w3-button{color: white} + .w3-container p{color: white} + input[type=text], select{background-color: #4c4c4c;} + input[type=text]::placeholder, select::placeholder{color: #9e9e9e;opacity: 1;} + .w3-green,.w3-hover-green:hover{color:#fff!important;background-color:#37823a!important} +} \ No newline at end of file diff --git a/css/form.css b/css/form.css index 0895aaf..f3cef90 100644 --- a/css/form.css +++ b/css/form.css @@ -10,7 +10,7 @@ input[type=text], select { .optional::before { content: "optional "; - color: grey + color: grey; } input[type=submit] { diff --git a/index.html b/index.html index 465ea8d..582186d 100644 --- a/index.html +++ b/index.html @@ -5,17 +5,17 @@