hero: image + typing animation

This commit is contained in:
2026-03-13 14:40:54 +00:00
parent 3eab6b229b
commit 2ee5362f95
2 changed files with 33 additions and 35 deletions

View File

@@ -32,33 +32,27 @@ main {
.hero {
margin-bottom: 2rem;
}
.hero h1 {
font-size: 4rem;
font-weight: 400;
letter-spacing: -0.05em;
line-height: 1;
margin-bottom: 0.5rem;
}
.tagline {
font-size: 1rem;
color: var(--dim);
font-style: italic;
}
.visual {
margin-bottom: 3rem;
display: flex;
align-items: center;
gap: 1rem;
}
.cursor {
width: 10px;
height: 1.2em;
background: var(--accent);
.avatar {
width: 64px;
height: 64px;
border-radius: 4px;
object-fit: cover;
flex-shrink: 0;
}
.typing {
font-size: 1rem;
color: var(--dim);
font-style: italic;
}
.typing .cursor {
color: var(--accent);
animation: blink 1s step-end infinite;
}
@@ -66,13 +60,6 @@ main {
50% { opacity: 0; }
}
.avatar {
width: 48px;
height: 48px;
border-radius: 4px;
object-fit: cover;
}
section {
margin-bottom: 2.5rem;
}