File size: 719 Bytes
9694b21 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #root {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.logo:hover {
filter: drop-shadow(0 0 2em hsl(var(--primary-glow) / 0.6));
}
@keyframes logo-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: no-preference) {
.logo-spin {
animation: logo-spin infinite 20s linear;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
} |