aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-05 12:00:36 +0100
committerGitHub <noreply@github.com>2020-12-05 19:00:36 +0800
commitd0d59e3730600db21d75d0848d551cb098262b88 (patch)
treec34564119e308ba76ae707ca15aaed10bf8eb036 /web_src/less/_base.less
parent61d6c191d5852703048218e047d367f91533c517 (diff)
downloadgitea-d0d59e3730600db21d75d0848d551cb098262b88.tar.gz
gitea-d0d59e3730600db21d75d0848d551cb098262b88.zip
Font weight tweaks (#13854)
Font weight 500 is not discernible from 400 on some fonts/operating systems so push them back to previous value 600 except for fomantic-ui elements which stay at 500. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less10
1 files changed, 3 insertions, 7 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 6fee330c57..8885ffc409 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -146,10 +146,7 @@ samp {
}
b,
-strong {
- font-weight: 500;
-}
-
+strong,
h1,
h2,
h3,
@@ -746,7 +743,7 @@ a.ui.card:hover,
}
&.bold {
- font-weight: 500;
+ font-weight: 600;
}
&.italic {
@@ -781,7 +778,6 @@ a.ui.card:hover,
}
&.bottom.attached.message {
- font-weight: 500;
text-align: left;
color: black;
@@ -1042,7 +1038,7 @@ a.ui.card:hover,
.scrolling.menu {
.item.selected {
- font-weight: 500 !important;
+ font-weight: 600 !important;
}
}