« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/site.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/site.css b/static/site.css
index 7cb1b8bb..f0e10bb8 100644
--- a/static/site.css
+++ b/static/site.css
@@ -12,6 +12,7 @@
     --fg-color: #0088ff;
     --bg-color: #222222;
     --theme: 0; /* 0: dark (below light), 1: light (below dark) */
+    --bg: url("../media/bg.jpg");
 }
 
 body {
@@ -31,7 +32,7 @@ body::before {
     height: 100%;
     z-index: -1;
 
-    background-image: url("../media/bg.jpg");
+    background-image: var(--bg);
     background-position: center;
     background-size: cover;
     opacity: 0.5;