Refactor halloween.js and halloween.css to streamline symbol initialization and remove random symbol functionality

This commit is contained in:
CodeDevMLH
2026-02-28 01:20:02 +01:00
parent c43f031617
commit 71d07aa0f3
2 changed files with 16 additions and 104 deletions

View File

@@ -49,66 +49,6 @@
}
}
.halloween:nth-of-type(0) {
left: 1%;
animation-delay: 0s, 0s;
}
.halloween:nth-of-type(1) {
left: 10%;
animation-delay: -1s, -1s;
}
.halloween:nth-of-type(2) {
left: 20%;
animation-delay: -2s, -2s;
}
.halloween:nth-of-type(3) {
left: 30%;
animation-delay: -3s, -3s;
}
.halloween:nth-of-type(4) {
left: 40%;
animation-delay: -4s, -4s;
}
.halloween:nth-of-type(5) {
left: 50%;
animation-delay: -5s, -5s;
}
.halloween:nth-of-type(6) {
left: 60%;
animation-delay: -6s, -6s;
}
.halloween:nth-of-type(7) {
left: 70%;
animation-delay: -7s, -7s;
}
.halloween:nth-of-type(8) {
left: 80%;
animation-delay: -8s, -8s;
}
.halloween:nth-of-type(9) {
left: 90%;
animation-delay: -9s, -9s;
}
.halloween:nth-of-type(10) {
left: 25%;
animation-delay: -10s, -10s;
}
.halloween:nth-of-type(11) {
left: 65%;
animation-delay: -11s, -11s;
}
/* --- Fog Layer --- */
.halloween-fog-layer {
position: absolute;