Move styles to head, lower woo audio

This commit is contained in:
2026-02-13 14:02:54 -06:00
parent 6d6302bf5a
commit 72c0fddf02
11 changed files with 156 additions and 141 deletions

View File

@@ -173,22 +173,6 @@
}
</script>
<style>
body {
background: none;
}
canvas {
display: block;
opacity: .35;
pointer-events: none;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
}
</style>
<script>
const wooCanvas = document.getElementById("shaderCanvas");
const wooToggle = document.getElementById("wooToggle");
@@ -211,7 +195,8 @@
if (this.checked) {
localStorage.setItem("wooMode", 1);
const wooAudio = new Audio("/audio/30995__unclesigmund__woo-2.mp3");
let wooAudio = new Audio("/audio/30995__unclesigmund__woo-2.mp3");
wooAudio.volume = 0.4;
wooAudio.play();
wooCanvas.classList.remove("hidden");