1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 12:08:21 +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

@@ -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,