summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-22 16:47:33 +0800
committerGitHub <noreply@github.com>2023-05-22 08:47:33 +0000
commitbb9e20e4343db6b60f2611555dc9d867d5a8043e (patch)
tree23c6da430f075bf081afe24b3719bcd380682622 /web_src
parent32ec2540ccc709bf0ba3fbb5d7e5e557efeed52c (diff)
downloadgitea-bb9e20e4343db6b60f2611555dc9d867d5a8043e.tar.gz
gitea-bb9e20e4343db6b60f2611555dc9d867d5a8043e.zip
Fix document and improve comment (#24844)
* Fix broken doc link: https://github.com/go-gitea/gitea/actions/runs/5041309438/jobs/9040887385 * Improve comments about how font weight works: https://github.com/go-gitea/gitea/pull/24827#pullrequestreview-1435584800 --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/base.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 4b9f1eef22..04fc2a0f25 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -3,7 +3,7 @@
--fonts-proportional: -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;
--fonts-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, var(--fonts-emoji);
--fonts-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla";
- /* font weights - use between 400 and 600 for general purposes */
+ /* font weights - use between 400 and 600 for general purposes. Avoid 700 as it is perceived too bold */
--font-weight-light: 300;
--font-weight-normal: 400;
--font-weight-medium: 500;