feat: add z-index to seasonal styles for improved layering
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
.christmas {
|
.christmas {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
z-index: 10;
|
||||||
top: -10%;
|
top: -10%;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
.hopping-rabbit {
|
.hopping-rabbit {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
z-index: 10;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
|
|
||||||
.easter {
|
.easter {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
z-index: 10;
|
||||||
top: -10%;
|
top: -10%;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
.halloween {
|
.halloween {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: -10%;
|
bottom: -10%;
|
||||||
z-index: 0;
|
z-index: 10;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
.heart {
|
.heart {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: -10%;
|
bottom: -10%;
|
||||||
z-index: 0;
|
z-index: 10;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
.snowflake {
|
.snowstorm-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: rgba(255, 255, 255, 0.8);
|
width: 100%;
|
||||||
border-radius: 50%;
|
height: 100vh;
|
||||||
pointer-events: none;
|
background: transparent;
|
||||||
opacity: 0.7;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
#snowfallCanvas {
|
||||||
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 10;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user