« get me outta code hell

fml css and thank you brandon (and niklink) - hsmusic-data - Data files for https://hsmusic.wiki - track, album, artist & flash info, etc
summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-05-22 05:37:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-05-22 05:37:51 -0300
commita2c333a1ad95600d8f75c48794ded0747c79d1ab (patch)
tree3c4aae34748b5ec1cdb084dd74bfd877b1680d14
parentff0ef6f538b24e64f5eb17e92c61eec7e24ab201 (diff)
fml css and thank you brandon (and niklink) preview
-rw-r--r--album/coloUrs-and-mayhem-universe-a.yaml4
-rw-r--r--album/coloUrs-and-mayhem-universe-b.yaml4
-rw-r--r--album/the-homestuck-strife-project-vol-1.yaml4
-rw-r--r--static-page/changelog.yaml1
4 files changed, 7 insertions, 6 deletions
diff --git a/album/coloUrs-and-mayhem-universe-a.yaml b/album/coloUrs-and-mayhem-universe-a.yaml
index f4946aee..b44bdf83 100644
--- a/album/coloUrs-and-mayhem-universe-a.yaml
+++ b/album/coloUrs-and-mayhem-universe-a.yaml
@@ -39,13 +39,13 @@ Banner File Extension: png
 Wallpaper Parts:
 - Asset: bg-left.png
   Style: |-
-    background-position-x: calc(1.5% + 0.5 * min(0px, 100vw - 1380px / 1206px * 100vh));
+    background-position-x: calc(1.5% + 0.5 * min(0px, 100vw - 1380 / 1206 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
 - Asset: bg-right.png
   Style: |-
-    background-position-x: calc(98.5% - 0.5 * min(0px, 100vw - 1380px / 1206px * 100vh));
+    background-position-x: calc(98.5% - 0.5 * min(0px, 100vw - 1380 / 1206 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
diff --git a/album/coloUrs-and-mayhem-universe-b.yaml b/album/coloUrs-and-mayhem-universe-b.yaml
index f55eb1d5..68036215 100644
--- a/album/coloUrs-and-mayhem-universe-b.yaml
+++ b/album/coloUrs-and-mayhem-universe-b.yaml
@@ -35,13 +35,13 @@ Wallpaper Parts:
     opacity: 1;
 - Asset: bg-left.png
   Style: |-
-    background-position-x: calc(1% + 0.5 * min(0px, 100vw - 1380px / 1206px * 100vh));
+    background-position-x: calc(1% + 0.5 * min(0px, 100vw - 1380 / 1206 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
 - Asset: bg-right.png
   Style: |-
-    background-position-x: calc(99% - 0.5 * min(0px, 100vw - 1380px / 1206px * 100vh));
+    background-position-x: calc(99% - 0.5 * min(0px, 100vw - 1380 / 1206 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
diff --git a/album/the-homestuck-strife-project-vol-1.yaml b/album/the-homestuck-strife-project-vol-1.yaml
index 5077a813..a4136287 100644
--- a/album/the-homestuck-strife-project-vol-1.yaml
+++ b/album/the-homestuck-strife-project-vol-1.yaml
@@ -40,13 +40,13 @@ Wallpaper Parts:
     opacity: 1;
 - Asset: bg-right.png
   Style: |-
-    background-position-x: calc(98.5% - 0.5 * min(0px, 100vw - 1000px / 1080px * 100vh));
+    background-position-x: calc(98.5% - 0.5 * min(0px, 100vw - 1000 / 1080 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
 - Asset: bg-left.png # layered above bg-right
   Style: |-
-    background-position-x: calc(1.5% + 0.5 * min(0px, 100vw - 1000px / 1080px * 100vh));
+    background-position-x: calc(1.5% + 0.5 * min(0px, 100vw - 1000 / 1080 * 100vh));
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 1;
diff --git a/static-page/changelog.yaml b/static-page/changelog.yaml
index f1adcb19..6f4f4306 100644
--- a/static-page/changelog.yaml
+++ b/static-page/changelog.yaml
@@ -36,6 +36,7 @@ Content: |-
     <h3>site changes</h3>
     <h3>bug fixes</h3>
     - fixed flashes ignoring non-square artworks
+    - fixed broken background CSS for albums [[album:coloUrs-and-mayhem-universe-a]], [[album:coloUrs-and-mayhem-universe-b]], and [[album:the-homestuck-strife-project-vol-1]]
     <h3>album additions</h3>
     - added [[album:some-artifacts-may-occur]] by [[artist:shinokabe]] (thanks, Lilith, Lan!)
     - added [[album:cognitive-coalescence]] by [[artist:witchs-cadence]] (thanks, Lilith, Lan!)