1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 14 deletions

View file

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