0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 07:13:09 -05:00

UI: Fix broken path to font

And move font-weight overrides to the header so it affects all themes.
This commit is contained in:
Pablo Vazquez 2023-02-10 15:07:38 +01:00
parent 9d337666c9
commit 5c63c87393
2 changed files with 13 additions and 12 deletions

View file

@ -210,17 +210,6 @@
--color-footer-links: var(--color-text-light-1);
}
/* Strong/bold elements. */
strong, b, h1, h2, h3, h4, h5, h6,
.issue.list>.item .issue-item-top-row {
font-weight: normal !important;
font-variation-settings: "wght" var(--font-weight-bold);
}
.repository.view.issue .title .issue-title h1 {
font-variation-settings: "wght" var(--font-weight-thin);
}
/* Custom styling of individual elements.
* Using !important is bad, but unfortunately gitea does it already in _base.less. */

View file

@ -2,7 +2,7 @@
/* bthree dark theme */
@font-face {
font-family: "Heebo";
src: url("../fonts/Heebo-VariableFont_wght.ttf") format("truetype-variations");
src: url("/assets/fonts/Heebo-VariableFont_wght.ttf") format("truetype-variations");
font-weight: normal;
font-variation-settings: "wght" var(--font-weight);
font-style: normal
@ -33,6 +33,18 @@
--color-primary: hsl(204deg, 90%, 52%);
}
/* Set weight variations. */
strong, b, h1, h2, h3, h4, h5, h6, .bold,
a.issue-title,
.ui.tabular.menu .active.item {
font-weight: normal !important;
font-variation-settings: "wght" var(--font-weight-bold);
}
.repository.view.issue .title .issue-title h1 {
font-variation-settings: "wght" var(--font-weight-thin);
}
@media (min-width: 1200px) {
/* Limit navbar width on large screens. */
.dashboard-navbar {