1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 03:58:20 +00:00

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

Backport #24307

Fix #24305

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

Manually backport, no CSS conflict.
This commit is contained in:
wxiaoguang
2023-04-26 07:51:54 +08:00
committed by GitHub
parent 1bbbeb24ef
commit 5f82011b7c
10 changed files with 18 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
.user.profile .ui.card .header {
display: block;
font-weight: 600;
font-weight: var(--font-weight-bold);
font-size: 1.3rem;
margin-top: -0.2rem;
line-height: 1.3rem;