From 2039a81b5ac9fddb6e7905e6bec8854d4ed7d9f1 Mon Sep 17 00:00:00 2001 From: Arsh Jameel Date: Wed, 31 Jan 2024 13:23:09 -0500 Subject: [PATCH] added fallback font incase JBM does not load --- assets/css/core/reset.css | 2 +- assets/css/extended/blank.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/core/reset.css b/assets/css/core/reset.css index b2aaf7c..6bd4831 100644 --- a/assets/css/core/reset.css +++ b/assets/css/core/reset.css @@ -25,7 +25,7 @@ h6 { body { /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */ - font-family: 'JetBrains Mono'; + font-family: 'JetBrains Mono', monospace; font-size: 18px; line-height: 1.6; word-break: break-word; diff --git a/assets/css/extended/blank.css b/assets/css/extended/blank.css index 9b0f222..66e7e7f 100644 --- a/assets/css/extended/blank.css +++ b/assets/css/extended/blank.css @@ -4,6 +4,7 @@ This is just a placeholder blank stylesheet so as to support adding custom style Read https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets for more info */ +@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap'); * { - font-family: 'JetBrains Mono'; + font-family: 'JetBrains Mono', monospace; } \ No newline at end of file