From a762a67ee7e631e810065b8616606bf40ce05d08 Mon Sep 17 00:00:00 2001 From: James Wilmot Date: Tue, 30 Jan 2024 11:19:37 +1100 Subject: [PATCH] index and styles.scss: hacked together typeface fixes --- src/pages/index.astro | 12 ++++++++++-- src/styles/styles.scss | 4 ++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index a55a815..d5e7c30 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -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 { @@ -142,6 +147,9 @@ var title = `${SITE_TITLE} | ${SITE_DESCRIPTION}`; a { padding: 0 1ch; } + p { + margin-bottom: 1.25em; + } } } } @@ -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; } diff --git a/src/styles/styles.scss b/src/styles/styles.scss index 4539516..e994afd 100644 --- a/src/styles/styles.scss +++ b/src/styles/styles.scss @@ -79,3 +79,7 @@ font-family: "Inter"; // font-weight: 300; } + +h2 { + font-family: "Inter" !important; +}