Skip to content

Commit

Permalink
better font scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
seigler committed Apr 7, 2024
1 parent c4c2adf commit 72cf355
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ body {
}

h1 {
font-size: 3rem;
font-size: clamp(1rem, 3rem, 9vw);
}

.aurebesh {
Expand Down Expand Up @@ -169,16 +169,17 @@ h1 {
top: 70%;
margin: auto;
font-family: var(--font-standard);
font-size: clamp(0.45rem, 0.25em, 1rem);
font-size: clamp(0.75rem, 0.25em, 1rem);
font-weight: 400;
color: var(--color-text-light);
}

.reference {
font-size: 1.5rem;
font-size: clamp(1rem, 1.5rem, 6vw);
display: flex;
flex-direction: column;
gap: 0.5rem;
padding-bottom: 1rem;
}

main {
Expand Down

0 comments on commit 72cf355

Please sign in to comment.