From eed3a9d9efda893d7b83403f7c4f34b865a402fe Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Fri, 21 Feb 2025 00:21:34 +0800 Subject: [PATCH] feat(styles): update global styles to use Fira Code font for better code readability --- src/app/globals.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/globals.css b/src/app/globals.css index 431ee48..be8b161 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -79,6 +79,15 @@ max-width: 980px; margin: 0 auto; padding: 45px; + font-family: "Fira Code"; + font-weight: 500; + font-size: 14px; + line-height: 20px; +} + +.markdown-body pre, +.markdown-body code { + font-family: "Fira Code" !important; } @media (max-width: 768px) {