aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/stylesheets
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-02-08 20:30:50 +0300
committerManeraKai <manerakai@protonmail.com>2022-02-08 20:30:50 +0300
commitb715e43553296d5380518e7d17be6b51eac0fdf7 (patch)
treea8b4e991ee3914d61fbe876372901fb1e551dc37 /src/pages/stylesheets
parentAdded the same regex as in the faq page in scribe #19 (diff)
downloadlibredirect-b715e43553296d5380518e7d17be6b51eac0fdf7.zip
Fixing colors and some bugs #27
Diffstat (limited to 'src/pages/stylesheets')
-rw-r--r--src/pages/stylesheets/styles.css73
1 files changed, 29 insertions, 44 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;
}
-@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;
- }
+.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;
+}
- .popup {
- background-color: var(--bg-secondary);
- }
+@media (prefers-color-scheme: light) {
} \ No newline at end of file