1
0
Fork 0
forked from forgejo/forgejo

Add --font-weight-bold and set previous bold to 601 (#24307)

Fix #24305

According to MDN, "bold" starts from 700, some fonts do not provide
"bolding" for weight 600

https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
wxiaoguang 2023-04-25 01:46:00 +08:00 committed by GitHub
parent 07aaa145dc
commit 20a3b03fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 19 additions and 15 deletions

View file

@ -37,7 +37,7 @@ Gitea's private styles use `g-` prefix.
font-size: .95em !important; /* compensate for monospace fonts being usually slightly larger */
}
.gt-bold { font-weight: 600 !important; }
.gt-bold { font-weight: var(--font-weight-bold) !important; }
.gt-word-break {
word-wrap: break-word !important;