Skip to content

Commit

Permalink
fuck
Browse files Browse the repository at this point in the history
  • Loading branch information
iamawatermelo committed Dec 6, 2024
1 parent f486aeb commit 5040a66
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions src/routes/mini/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,61 @@
margin: auto;
gap: 1em;
@keyframes logo-a {
0% {
stroke-dasharray: 0 100;
}
20% {
stroke-dasharray: 100 100;
}
100% {
stroke-dasharray: 100 100;
}
}
@keyframes logo-b {
0% {
stroke-dasharray: 0 100;
}
20% {
stroke-dasharray: 0 100;
}
100% {
stroke-dasharray: 100 100;
}
}
:global(.logo) {
/* I'm not sure why this is needed. Maybe because it's another component */
grid-area: 1 / 1 / 1 / 1;
width: 3em;
height: 3em;
align-self: center;
stroke: rgb(var(--fg));
}
:global(.logo .a) {
stroke-dasharray: 0 100;
animation: 1s cubic-bezier(.05,.09,.23,1) logo-a forwards;
animation-delay: 200ms;
}
:global(.logo .b) {
stroke-dasharray: 0 100;
animation: 1s cubic-bezier(.05,.09,.23,1) logo-b forwards;
animation-delay: 200ms;
}
@media (prefers-reduced-motion) {
:global(.logo .a), :global(.logo .b) {
animation: none;
stroke-dasharray: 100 100;
}
}
.header {
Expand Down

0 comments on commit 5040a66

Please sign in to comment.