Skip to content

Commit

Permalink
index and styles.scss: hacked together typeface fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWilmot committed Jan 30, 2024
1 parent 922deb2 commit a762a67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,14 @@ var title = `${SITE_TITLE} | ${SITE_DESCRIPTION}`;

h2 {
font-weight: normal;
font-size: 1.25em;
font-variation-settings:
"opsz" 14,
"wght" 550;
"wght" 375;
}

p {
margin-bottom: 0;
}

a {
Expand All @@ -142,6 +147,9 @@ var title = `${SITE_TITLE} | ${SITE_DESCRIPTION}`;
a {
padding: 0 1ch;
}
p {
margin-bottom: 1.25em;
}
}
}
}
Expand Down Expand Up @@ -273,7 +281,7 @@ var title = `${SITE_TITLE} | ${SITE_DESCRIPTION}`;
font-family: "Inter";
font-variation-settings:
"opsz" 14,
"wght" 550;
"wght" 500;
font-size: 1.5em;
display: block;
}
Expand Down
4 changes: 4 additions & 0 deletions src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,7 @@
font-family: "Inter";
// font-weight: 300;
}

h2 {
font-family: "Inter" !important;
}

0 comments on commit a762a67

Please sign in to comment.