From e193c10c4c3c563df5fdfabef3be3f973be466c0 Mon Sep 17 00:00:00 2001 From: bear Date: Thu, 6 Feb 2025 11:59:24 +0800 Subject: [PATCH] Update font config --- publish.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/publish.css b/publish.css index c3891a4..b7ac1a6 100644 --- a/publish.css +++ b/publish.css @@ -1,4 +1,26 @@ /* Logo contains site name, no need to repeat it in the title. */ .site-body-left-column-site-name { - display: none; -} \ No newline at end of file + display: none; +} + +/* Applies to all text */ +body { + font-family: "Nunito", sans-serif !important; +} + +/* Optional: Target specific elements if needed */ +.markdown-preview-view, +.markdown-source-view, +.cm-content { + font-family: "Nunito", sans-serif !important; +} + +/* Headings (adjust if they use a different font) */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Nunito", sans-serif !important; +}