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

@ -70,7 +70,7 @@
.markup h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
font-weight: var(--font-weight-bold);
line-height: 1.25;
}
@ -248,7 +248,7 @@
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: 600;
font-weight: var(--font-weight-bold);
}
.markup dl dd {
@ -280,7 +280,7 @@
}
.markup table th {
font-weight: 600;
font-weight: var(--font-weight-bold);
}
.markup table th,