small fixes, more colors, english comments

This commit is contained in:
MLH
2024-11-29 22:49:00 +01:00
parent fa329c5e9c
commit da5a51ca7c
2 changed files with 44 additions and 37 deletions

View File

@ -1,13 +1,15 @@
.fireworks {
/*position: fixed;*/
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
/*overflow: hidden;*/
z-index: 10;
/* activate the following for fixed positioning */
/*position: fixed;*/
/*overflow: hidden;*/
}
.rocket-trail {
@ -15,13 +17,18 @@
left: var(--trailX);
top: var(--trailStartY);
width: 4px;
/*height: 4px;*/
/* activate the following for rocket trail */
height: 60px;
/*background: white;*/
background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
filter: blur(2px);
/* activate the following for rocket trail as a point */
/*height: 4px;*/
/*background: white;*/
/*border-radius: 50%;
box-shadow: 0 0 8px 2px white;*/
animation: rocket-trail-animation 1s linear forwards;
}
@ -36,7 +43,7 @@
}
}
/* Animation für die Partikel */
/* Animation for the particles */
@keyframes fireworkParticle {
0% {
opacity: 1;