From 423168edf7c9f76800544ec691d58bee47449c9b Mon Sep 17 00:00:00 2001 From: fyr77 Date: Sat, 31 Oct 2020 10:53:07 +0100 Subject: [PATCH] add dark mode --- css/dark-mode.css | 10 ++++++++++ css/form.css | 2 +- index.html | 6 +++--- legal.html | 4 ++-- premades.html | 4 ++-- tool.html | 3 ++- 6 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 css/dark-mode.css 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 @@ DNS Profile Creator - + -
+

This website uses technical cookies. By continuing you agree to the use of these cookies. No personal data is stored or shared. Learn more

Secure DNS profile creator

For iOS 14 or later and macOS Big Sur or later

-
+
About Tool Pre-made profiles diff --git a/legal.html b/legal.html index 476dd44..98cd145 100644 --- a/legal.html +++ b/legal.html @@ -5,13 +5,13 @@ DNS Profile Creator - +

Secure DNS profile creator

For iOS 14 or later and macOS Big Sur or later

-
+
About Tool Pre-made profiles diff --git a/premades.html b/premades.html index a012054..6f3815e 100644 --- a/premades.html +++ b/premades.html @@ -5,14 +5,14 @@ DNS Profile Creator - +

Secure DNS profile creator

For iOS 14 or later and macOS Big Sur or later

-
+
About Tool Pre-made profiles diff --git a/tool.html b/tool.html index b2e11bf..599b073 100644 --- a/tool.html +++ b/tool.html @@ -6,6 +6,7 @@ DNS Profile Creator + @@ -14,7 +15,7 @@

Secure DNS profile creator

For iOS 14 or later and macOS Big Sur or later

-