From: Lanius Trolling Date: Mon, 13 Feb 2023 21:49:19 +0000 (-0500) Subject: Fix fonts X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=f49e614037f805658b66b4e3d24e68f9bef10a35;p=factbooks Fix fonts --- diff --git a/src/main/kotlin/info/mechyrdia/lore/parser_tags.kt b/src/main/kotlin/info/mechyrdia/lore/parser_tags.kt index 9b4b3f2..4337d4d 100644 --- a/src/main/kotlin/info/mechyrdia/lore/parser_tags.kt +++ b/src/main/kotlin/info/mechyrdia/lore/parser_tags.kt @@ -73,13 +73,13 @@ enum class TextParserFormattingTag(val type: TextParserTagType) { ), IPA( TextParserTagType.Direct( - { _, _ -> "" }, + { _, _ -> "" }, { "" }, ) ), CODE( TextParserTagType.Direct( - { _, _ -> "
" },
+			{ _, _ -> "
" },
 			{ "
" }, ) ), diff --git a/src/main/kotlin/info/mechyrdia/lore/view_tpl.kt b/src/main/kotlin/info/mechyrdia/lore/view_tpl.kt index ae47caa..72f5e2e 100644 --- a/src/main/kotlin/info/mechyrdia/lore/view_tpl.kt +++ b/src/main/kotlin/info/mechyrdia/lore/view_tpl.kt @@ -24,7 +24,7 @@ fun ApplicationCall.page(pageTitle: String, navBar: List? = null, sideb link(rel = "preconnect", href = "https://fonts.googleapis.com") link(rel = "preconnect", href = "https://fonts.gstatic.com") { attributes["crossorigin"] = "anonymous" } - link(rel = "stylesheet", href = "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Gothic&family=Oxanium:wght@400;600;700;800&display=swap") + link(rel = "stylesheet", href = "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Gothic&Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&JetBrains+Mono:ital,wght@0,500;0,800;1,500;1,800&family=Oxanium:wght@400;600;700;800&display=swap") link(rel = "stylesheet", href = "/static/style.css")