Skip to content

Commit

Permalink
Use clamp for post-list font size instead of large stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
cy-by committed Sep 15, 2024
1 parent 92d5f10 commit a8dd2a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion _includes/layout.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
>
<link href="/styles/reset.css" rel="stylesheet">
<link href="/styles/style.css" rel="stylesheet">
<link href="/styles/large.css" media="only screen and (min-width: 600px)" rel="stylesheet">
</head>
<body>
<a href="#main" class="skip">Skip to main content</a>
Expand Down
5 changes: 0 additions & 5 deletions styles/large.css

This file was deleted.

2 changes: 1 addition & 1 deletion styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ nav {
}

a {
font-size: 2rem;
font-size: clamp(2rem, 5vi, 4rem);
font-weight: 800;
letter-spacing: -0.08rem;
text-decoration-thickness: 7%;
Expand Down

0 comments on commit a8dd2a6

Please sign in to comment.