summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRayHammer <mail@rayhammer.dev>2023-06-06 12:13:04 +0200
committerRayHammer <mail@rayhammer.dev>2023-06-06 12:13:04 +0200
commitf389e21a910f9a876d5254259ce1a49f6577ecaf (patch)
tree1013078e432c209d1f001fe3e9d150af18228366
parent94ee628572f8e501d9a64dc0348db5a36eb31741 (diff)
Added dark theme
-rw-r--r--themes/stingray/static/css/main.css25
1 files changed, 22 insertions, 3 deletions
diff --git a/themes/stingray/static/css/main.css b/themes/stingray/static/css/main.css
index 1d953ae..3c914df 100644
--- a/themes/stingray/static/css/main.css
+++ b/themes/stingray/static/css/main.css
@@ -1,3 +1,23 @@
+:root {
+ color-scheme: dark;
+ --bs-dark: #181818;
+ --bs-link-color: #2394fd;
+}
+
+body {
+ background-color: var(--bs-dark);
+ color: var(--bs-light);
+}
+
+/*
+@media (prefers-color-scheme: light) {
+ body {
+ background-color: #eee;
+ color: #111;
+ }
+}
+*/
+
.jumbotron {
max-width: 1200px;
margin: auto;
@@ -8,7 +28,6 @@ nav li::marker {
content: "> ";
}
-
#content {
display: block;
overflow: hidden;
@@ -18,7 +37,7 @@ nav li::marker {
#card {
float: left;
position: relative;
- border: 1px solid black;
+ border: 1px solid darkgray;
margin-right: 20px;
padding: 25px;
width: 200px;
@@ -42,4 +61,4 @@ nav li::marker {
margin: auto;
padding: 5px;
}
-} \ No newline at end of file
+}