feat: update seasonal styles to use fixed positioning and full coverage for better display

This commit is contained in:
CodeDevMLH
2025-12-18 00:32:19 +01:00
parent 7216588fef
commit e90ea952bd
8 changed files with 37 additions and 6 deletions

View File

@@ -1,8 +1,13 @@
.christmas-container {
display: block;
position: fixed;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
overflow: hidden;
}
.christmas {

View File

@@ -1,8 +1,13 @@
.easter-container {
display: block;
pointer-events: none;
z-index: 10;
overflow: hidden;
position: fixed;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
}
.hopping-rabbit {

View File

@@ -34,6 +34,7 @@
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(calc(var(--trailEndY) - var(--trailStartY)));
opacity: 0;
@@ -46,6 +47,7 @@
opacity: 1;
transform: translate(0, 0);
}
100% {
opacity: 0;
transform: translate(var(--x), var(--y));

View File

@@ -1,8 +1,13 @@
.halloween-container {
display: block;
position: fixed;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
overflow: hidden;
}
.halloween {

View File

@@ -1,8 +1,13 @@
.hearts-container {
display: block;
position: fixed;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
overflow: hidden;
}
.heart {

View File

@@ -1,5 +1,7 @@
.santa-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: transparent;

View File

@@ -5,6 +5,8 @@
background: transparent;
overflow: hidden;
pointer-events: none;
top: 0;
left: 0;
z-index: 10;
}

View File

@@ -4,5 +4,10 @@
border-radius: 50%;
pointer-events: none;
opacity: 0.7;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
}