From 345c549da2400349520af88bef574a6a1b3595d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Lente?= Date: Mon, 19 Aug 2024 12:47:39 +0200 Subject: [PATCH] UI: Remove nav-global custom font Inter from font-stack Remove nav-global custom non-system font Inter from font-stack until Inter is not loaded for the entire UI. Part of #9 --- templates/custom/body_inner_pre.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl index fd151dd..b704f65 100644 --- a/templates/custom/body_inner_pre.tmpl +++ b/templates/custom/body_inner_pre.tmpl @@ -689,6 +689,13 @@ /* Make sure to start every line with ".nav-global" * so changes affect the developer navbar only. */ + + /* TODO: remove if custom font 'Inter' is added to Gitea + * Don't try to load custom font 'Inter' */ + .nav-global * { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + } + /* Limit navbar width on large screens. */ @media(min-width: 1200px) { .nav-global .nav-global-container {