From 31c96955395963928107764c1c06e078a48643da Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 22 May 2023 11:06:35 +0800 Subject: [PATCH 1/5] fix --- docs/content/doc/help/faq.en-us.md | 2 +- web_src/css/base.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md index 53215e18a544..347e8d426a3e 100644 --- a/docs/content/doc/help/faq.en-us.md +++ b/docs/content/doc/help/faq.en-us.md @@ -136,7 +136,7 @@ A "login prohibited" user is a user that is not allowed to log in to Gitea anymo ## Setting up logging -- [Official Docs]({{< relref "doc/administration/logging-documentation.en-us.md" >}}) +- [Official Docs]({{< relref "doc/administration/logging-config.en-us.md" >}}) ## What is Swagger? diff --git a/web_src/css/base.css b/web_src/css/base.css index eb12ffef7a6c..49f82fa4209d 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -3,7 +3,8 @@ --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. Default "bold(700)" is excessively bold, so Gitea prefers to use "semibold(600)". + If user's font system doesn't have proper weight support (eg: Segoe UI on Linux), weight 600 looks like normal(400), the user should fix their font system. */ --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; From 6cadba599d53d29b6842e214d80cadd5f8e0c678 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 09:03:37 +0200 Subject: [PATCH 2/5] Update web_src/css/base.css --- web_src/css/base.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 49f82fa4209d..69488a562d3e 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -3,8 +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. Default "bold(700)" is excessively bold, so Gitea prefers to use "semibold(600)". - If user's font system doesn't have proper weight support (eg: Segoe UI on Linux), weight 600 looks like normal(400), the user should fix their font system. */ + /* font weights - use between 400 and 600 for general purposes. 700 should not be used for regular text as it is perceived too bold */ --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; From f7daf842391f05fe03420e60cddd6ca3bfa2826c Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 09:15:05 +0200 Subject: [PATCH 3/5] Update web_src/css/base.css --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 0460dd368dda..6282c170af87 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. 700 should not be used for regular text as it is perceived too bold */ + /* font weights - use between 400 and 600 for general purposes. 700 should generally not be used as it is perceived too bold */ --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; From b5d4b4cfcce86a8f6b8dfd35739aad259ddae16a Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 09:15:25 +0200 Subject: [PATCH 4/5] Update web_src/css/base.css --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 6282c170af87..e22f542c5f0d 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. 700 should generally not be used as it is perceived too bold */ + /* font weights - use between 400 and 600 for general purposes. 700 should not be used as it is perceived too bold */ --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; From 99b3b0a1e5e34bf5b80c0c9e62cb1df80b2c31cd Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 09:16:01 +0200 Subject: [PATCH 5/5] Update web_src/css/base.css --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index e22f542c5f0d..04fc2a0f25a6 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. 700 should not be used as it is perceived too bold */ + /* 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;