Add seasonal effects for Pi Day, Pride, Rain, and Storm; enhance existing styles
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 45s

- Introduced new CSS and JS files for Pi Day, Pride, Rain, and Storm effects.
- Updated existing seasonal styles (e.g., Halloween, Hearts, Resurrection) to improve performance with 'contain: layout paint'.
- Enhanced animations for seasonal effects, including adjustments to keyframes and element creation logic.
- Added configuration options for new effects in the main seasonals.js file.
- Updated test-site.html to include new seasonal options in the dropdown.
This commit is contained in:
CodeDevMLH
2026-02-23 01:31:52 +01:00
parent 63ec6d5e52
commit e4b3a132b1
31 changed files with 1445 additions and 75 deletions

View File

@@ -9,13 +9,14 @@
pointer-events: none;
z-index: 10;
perspective: 600px;
contain: layout paint;
}
.carnival-wrapper {
position: fixed;
z-index: 15;
top: -20px;
will-change: top;
will-change: transform;
animation-name: carnival-fall;
animation-timing-function: linear;
animation-iteration-count: 1;
@@ -59,10 +60,10 @@
@keyframes carnival-fall {
0% {
top: -10%;
transform: translateY(0);
}
100% {
top: 110%;
transform: translateY(120vh);
}
}