diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-25 01:46:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 13:46:00 -0400 |
commit | 20a3b03fe57bebca3c30bf5a39cad62ad1ae4ed9 (patch) | |
tree | b7e35f70e8dfd5f5fc8f6fc84a23752b65d5113d /web_src/css/install.css | |
parent | 07aaa145dc44e822b566ac5854ea4bd0a9194622 (diff) | |
download | gitea-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/install.css')
-rw-r--r-- | web_src/css/install.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/install.css b/web_src/css/install.css index b936ba66fd..d99805b80f 100644 --- a/web_src/css/install.css +++ b/web_src/css/install.css @@ -55,7 +55,7 @@ margin: 20px auto; color: var(--color-red); text-align: left; - font-weight: bold; + font-weight: var(--font-weight-bold); } .page-content.install .ui .reinstall-confirm { |