aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/markup/content.css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-04-25 01:46:00 +0800
committerGitHub <noreply@github.com>2023-04-24 13:46:00 -0400
commit20a3b03fe57bebca3c30bf5a39cad62ad1ae4ed9 (patch)
treeb7e35f70e8dfd5f5fc8f6fc84a23752b65d5113d /web_src/css/markup/content.css
parent07aaa145dc44e822b566ac5854ea4bd0a9194622 (diff)
downloadgitea-20a3b03fe57bebca3c30bf5a39cad62ad1ae4ed9.tar.gz
gitea-20a3b03fe57bebca3c30bf5a39cad62ad1ae4ed9.zip
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>
Diffstat (limited to 'web_src/css/markup/content.css')
-rw-r--r--web_src/css/markup/content.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css
index d0f11e8e76..db67ac4263 100644
--- a/web_src/css/markup/content.css
+++ b/web_src/css/markup/content.css
@@ -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,