diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-02-08 20:30:50 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-02-08 20:30:50 +0300 |
commit | b715e43553296d5380518e7d17be6b51eac0fdf7 (patch) | |
tree | a8b4e991ee3914d61fbe876372901fb1e551dc37 /src/pages/stylesheets | |
parent | Added the same regex as in the faq page in scribe #19 (diff) | |
download | libredirect-b715e43553296d5380518e7d17be6b51eac0fdf7.zip |
Fixing colors and some bugs #27
Diffstat (limited to 'src/pages/stylesheets')
-rw-r--r-- | src/pages/stylesheets/styles.css | 75 |
1 files changed, 30 insertions, 45 deletions
diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 1d2e9428..deabdc92 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -10,11 +10,6 @@ body { --light-grey: #c3c3c3; } -body.light-theme { - --text: #000; - --bg-main: #e3e7ea; - --bg-secondary: #fff; -} body { margin: auto; @@ -130,29 +125,6 @@ hr { border: none; } -.light-theme.popup, -.light-theme .popup { - background-color: var(--bg-secondary); -} - -body.light-theme { - --text: #000; - --bg-main: #e3e7ea; - --bg-secondary: #fff; -} - -body.light-theme textarea { - color: black; - border: 1px solid #767676; -} - -body.light-theme textarea:focus { - outline: none; -} - -body.light-theme a { - color: black; -} div.some-block { padding: 0 15px; @@ -301,22 +273,35 @@ button.add { cursor: pointer; } + +.light-theme.popup, +.light-theme .popup { + background-color: var(--bg-secondary); +} + +body.light-theme { + --text: black; + --bg-main: white; + --bg-secondary: #fff; + --active: #fb9817; +} + +body.light-theme select { + border: 1px solid black; +} + +body.light-theme textarea { + color: black; + border: 1px solid #767676; +} + +body.light-theme textarea:focus { + outline: none; +} + +body.light-theme a { + color: black; +} + @media (prefers-color-scheme: light) { - body { - --text: #000; - --text-secondary: #fff; - --bg-main: #e3e7ea; - --bg-secondary: #fff; - } - - body.dark-theme { - --text: #fff; - --text-secondary: #000; - --bg-main: #3c4043; - --bg-secondary: #292a2d; - } - - .popup { - background-color: var(--bg-secondary); - } } \ No newline at end of file |