From d0d59e3730600db21d75d0848d551cb098262b88 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 5 Dec 2020 12:00:36 +0100 Subject: [PATCH] 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 Co-authored-by: 6543 <6543@obermui.de> --- web_src/less/_admin.less | 2 +- web_src/less/_base.less | 10 +++------- web_src/less/_chroma.less | 2 +- web_src/less/_repository.less | 2 +- web_src/less/_user.less | 2 +- web_src/less/themes/theme-arc-green.less | 2 +- 6 files changed, 8 insertions(+), 12 deletions(-) diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less index a3f223e0f..80b7649fb 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 6fee330c5..8885ffc40 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 699f69d81..29ba98ab0 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 1ab90e566..9925a7920 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 2b37e8ee9..42c223e9b 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 17c435788..526fa5873 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 */