Format Document and remove redundant style

This commit is contained in:
2026-09-13 10:28:12 +02:00
parent a98617b8f0
commit 2c63f1bc3a
+23 -16
View File
@@ -28,15 +28,15 @@ body.home {
}
header {
position: relative;
position: relative;
}
#hero {
position: absolute;
bottom: calc(100% + 1rem);
font-size: 4rem;
display: flex;
align-items: baseline;
position: absolute;
bottom: calc(100% + 1rem);
font-size: 4rem;
display: flex;
align-items: baseline;
}
#hero h1 {
@@ -44,12 +44,8 @@ header {
}
body:not(.home) #hero {
opacity: 0;
pointer-events: none;
}
#hero h1 {
margin: 0;
opacity: 0;
pointer-events: none;
}
/* App */
@@ -184,7 +180,8 @@ body:not(.homeCommitted) .birdSoundCredit {
opacity: 0;
position: absolute;
top: 15px;
left: 20px; /* Offset */
left: 20px;
/* Offset */
animation: pop 0.8s ease-out var(--delay);
pointer-events: none;
}
@@ -194,9 +191,19 @@ body:not(.homeCommitted) .birdSoundCredit {
}
@keyframes pop {
0% {opacity: 0; transform: rotate(var(--angle)) translateY(var(--distance))}
50% {opacity: 1; }
100% {opacity: 0; transform: rotate(var(--angle)) translateY(calc(var(--distance) - 40px));}
0% {
opacity: 0;
transform: rotate(var(--angle)) translateY(var(--distance))
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: rotate(var(--angle)) translateY(calc(var(--distance) - 40px));
}
}
#birdButton {