feat: add scroll indicator with animation and translations

This commit is contained in:
Melvin Ragusa
2026-01-21 23:05:37 +01:00
parent b63b9d64f8
commit b4ae9093bc
4 changed files with 43 additions and 7 deletions

View File

@@ -3,7 +3,8 @@
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
height: 100vh;
height: 100dvh;
padding: var(--space-3xl) 0;
overflow: hidden;
}
@@ -105,6 +106,10 @@
left: 50%;
transform: translateX(-50%);
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-sm);
}
.scrollMouse {
@@ -124,6 +129,15 @@
border-radius: 2px;
}
.scrollText {
font-size: 0.75rem;
font-weight: 500;
color: var(--md-sys-color-on-surface);
opacity: 0.4;
text-transform: uppercase;
letter-spacing: 0.1em;
}
@media (max-width: 768px) {
.typed {
min-width: auto;