1
0
Fork 0

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
This commit is contained in:
Márton Lente 2024-08-19 12:47:39 +02:00
parent d8f5e43cc2
commit 345c549da2

View file

@ -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 {