« get me outta code hell

support per-album wallpapers! - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-01-27 20:05:21 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-01 12:25:20 -0400
commit87f457420b09db294f403218ac0a20effcc77ad5 (patch)
tree5a73b816361500ee2bd12b30cb560da354c570e6 /static
parent2b6e7d3d9950aad31536d63a835869502a70af46 (diff)
support per-album wallpapers!
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;