feat: add z-index to seasonal styles for improved layering

This commit is contained in:
CodeDevMLH
2025-12-18 00:52:45 +01:00
parent b05b35b8f8
commit 83a8c7fc74
5 changed files with 18 additions and 8 deletions

View File

@@ -12,6 +12,7 @@
.christmas {
position: fixed;
z-index: 10;
top: -10%;
font-size: 1em;
color: #fff;

View File

@@ -12,6 +12,7 @@
.hopping-rabbit {
position: fixed;
z-index: 10;
bottom: 10px;
width: 70px;
overflow: hidden;
@@ -28,6 +29,7 @@
.easter {
position: fixed;
z-index: 10;
top: -10%;
font-size: 1em;
color: #fff;

View File

@@ -13,7 +13,7 @@
.halloween {
position: fixed;
bottom: -10%;
z-index: 0;
z-index: 10;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;

View File

@@ -13,7 +13,7 @@
.heart {
position: fixed;
bottom: -10%;
z-index: 0;
z-index: 10;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;

View File

@@ -1,13 +1,20 @@
.snowflake {
.snowstorm-container {
position: fixed;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 50%;
pointer-events: none;
opacity: 0.7;
width: 100%;
height: 100vh;
background: transparent;
overflow: hidden;
pointer-events: none;
top: 0;
left: 0;
z-index: 10;
}
#snowfallCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
pointer-events: none;
}