Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ import Download from './icons/Download.astro';
font-size: 80px;
line-height: 1.04;
letter-spacing: 1px;
/* Cinzel's T curls 0.09em left of its box. Safari crops it to the box
while the heading fades in, so the box reaches over the curl, and the
text stays where it was. */
padding-left: 0.1em;
margin-left: -0.1em;
}

.role {
Expand Down
3 changes: 3 additions & 0 deletions src/components/Nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ const links = [
font-size: 19px;
letter-spacing: 0.5px;
white-space: nowrap;
/* Room for the T's curl while it fades in, as in the hero. */
padding-left: 0.1em;
margin-left: -0.1em;
transition:
opacity 0.35s ease,
transform 0.35s ease,
Expand Down
Loading