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:
parent
d8f5e43cc2
commit
345c549da2
1 changed files with 7 additions and 0 deletions
|
@ -689,6 +689,13 @@
|
||||||
/* Make sure to start every line with ".nav-global"
|
/* Make sure to start every line with ".nav-global"
|
||||||
* so changes affect the developer navbar only. */
|
* 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. */
|
/* Limit navbar width on large screens. */
|
||||||
@media(min-width: 1200px) {
|
@media(min-width: 1200px) {
|
||||||
.nav-global .nav-global-container {
|
.nav-global .nav-global-container {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue