« get me outta code hell

support individual opacity for 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:57:00 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-01 12:25:20 -0400
commitd7d618d9b9cbe616282d84e60de90010d18ab9c5 (patch)
treee178d2ca80c5961218d47893119525ced90ebe1e /static
parent87f457420b09db294f403218ac0a20effcc77ad5 (diff)
support individual opacity for 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 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 {