aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
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
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')
-rw-r--r--web_src/less/_admin.less2
-rw-r--r--web_src/less/_base.less10
-rw-r--r--web_src/less/_chroma.less2
-rw-r--r--web_src/less/_repository.less2
-rw-r--r--web_src/less/_user.less2
-rw-r--r--web_src/less/themes/theme-arc-green.less2
6 files changed, 8 insertions, 12 deletions
diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less
index a3f223e0f5..80b7649fbe 100644
--- a/web_src/less/_admin.less
+++ b/web_src/less/_admin.less
@@ -55,7 +55,7 @@
}
dt {
- font-weight: 500;
+ font-weight: 600;
float: left;
width: 285px;
clear: left;
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;
}
}
diff --git a/web_src/less/_chroma.less b/web_src/less/_chroma.less
index 699f69d810..29ba98ab09 100644
--- a/web_src/less/_chroma.less
+++ b/web_src/less/_chroma.less
@@ -352,7 +352,7 @@
/* GenericStrong */
.chroma .gs {
- font-weight: 500;
+ font-weight: 600;
}
/* GenericSubheading */
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 1ab90e5667..9925a79202 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -969,7 +969,7 @@
}
.author {
- font-weight: 500;
+ font-weight: 600;
}
.comment-form-reply .footer {
diff --git a/web_src/less/_user.less b/web_src/less/_user.less
index 2b37e8ee94..42c223e9bf 100644
--- a/web_src/less/_user.less
+++ b/web_src/less/_user.less
@@ -9,7 +9,7 @@
}
.header {
- font-weight: 500;
+ font-weight: 600;
font-size: 1.3rem;
margin-top: -.2rem;
line-height: 1.3rem;
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 17c435788b..526fa58730 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -447,7 +447,7 @@
/* GenericStrong */
.chroma .gs {
- font-weight: 500;
+ font-weight: 600;
}
/* GenericSubheading */