« get me outta code hell

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