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.
36 lines
742 B
CSS
36 lines
742 B
CSS
.earthday-container {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 15vh;
|
|
pointer-events: none;
|
|
z-index: 1000;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.earthday-meadow {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
transform-origin: bottom;
|
|
animation: grow-meadow 3s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
|
|
}
|
|
|
|
@keyframes grow-meadow {
|
|
0% { transform: translateY(100%); opacity: 0; }
|
|
100% { transform: translateY(0); opacity: 0.95; }
|
|
}
|
|
|
|
.earthday-sway {
|
|
transform-origin: bottom center;
|
|
animation: sway-grass 4s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes sway-grass {
|
|
0% { transform: skewX(-2deg); }
|
|
100% { transform: skewX(2deg); }
|
|
}
|