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:
parent
07aaa145dc
commit
20a3b03fe5
11 changed files with 19 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue