diff --git a/public/fonts/georgia-webfont.woff b/public/fonts/georgia-webfont.woff new file mode 100644 index 0000000..6c86c9c Binary files /dev/null and b/public/fonts/georgia-webfont.woff differ diff --git a/public/fonts/georgia-webfont.woff2 b/public/fonts/georgia-webfont.woff2 new file mode 100644 index 0000000..ae96ee2 Binary files /dev/null and b/public/fonts/georgia-webfont.woff2 differ diff --git a/public/fonts/georgiab-webfont.woff b/public/fonts/georgiab-webfont.woff new file mode 100644 index 0000000..a98cb08 Binary files /dev/null and b/public/fonts/georgiab-webfont.woff differ diff --git a/public/fonts/georgiab-webfont.woff2 b/public/fonts/georgiab-webfont.woff2 new file mode 100644 index 0000000..a962771 Binary files /dev/null and b/public/fonts/georgiab-webfont.woff2 differ diff --git a/public/fonts/georgiai-webfont.woff b/public/fonts/georgiai-webfont.woff new file mode 100644 index 0000000..5c436e2 Binary files /dev/null and b/public/fonts/georgiai-webfont.woff differ diff --git a/public/fonts/georgiai-webfont.woff2 b/public/fonts/georgiai-webfont.woff2 new file mode 100644 index 0000000..3701b70 Binary files /dev/null and b/public/fonts/georgiai-webfont.woff2 differ diff --git a/public/fonts/georgiaz-webfont.woff b/public/fonts/georgiaz-webfont.woff new file mode 100644 index 0000000..a55ec74 Binary files /dev/null and b/public/fonts/georgiaz-webfont.woff differ diff --git a/public/fonts/georgiaz-webfont.woff2 b/public/fonts/georgiaz-webfont.woff2 new file mode 100644 index 0000000..9081b8b Binary files /dev/null and b/public/fonts/georgiaz-webfont.woff2 differ diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index 227131e..f11c5f2 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -16,11 +16,11 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props; - +
-
+
diff --git a/src/styles/global.css b/src/styles/global.css index c0ce98b..6a0cf21 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -33,11 +33,49 @@ font-style: normal; font-display: swap; } +@font-face { + font-family: "Georgia"; + src: + url("/fonts/georgia-webfont.woff2") format("woff2"), + url("/fonts/georgia-webfont.woff") format("woff"); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: "Georgia"; + src: + url("/fonts/georgiab-webfont.woff2") format("woff2"), + url("/fonts/georgiab-webfont.woff") format("woff"); + font-weight: bold; + font-style: normal; +} +@font-face { + font-family: "Georgia"; + src: + url("/fonts/georgiai-webfont.woff2") format("woff2"), + url("/fonts/georgiai-webfont.woff") format("woff"); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: "Georgia"; + src: + url("/fonts/georgiaz-webfont.woff2") format("woff2"), + url("/fonts/georgiaz-webfont.woff") format("woff"); + font-weight: bold; + font-style: italic; +} -body { +body, +header, +pre { font-family: "CommitMono", monospace, monospace; } +body.blog { + font-family: "Georgia", serif; +} + .nf { font-family: "NerdFont"; }