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>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 61d6c191d5
commit d0d59e3730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/less/_admin.less
  2. 10
      web_src/less/_base.less
  3. 2
      web_src/less/_chroma.less
  4. 2
      web_src/less/_repository.less
  5. 2
      web_src/less/_user.less
  6. 2
      web_src/less/themes/theme-arc-green.less

@ -55,7 +55,7 @@
} }
dt { dt {
font-weight: 500; font-weight: 600;
float: left; float: left;
width: 285px; width: 285px;
clear: left; clear: left;

@ -146,10 +146,7 @@ samp {
} }
b, b,
strong { strong,
font-weight: 500;
}
h1, h1,
h2, h2,
h3, h3,
@ -746,7 +743,7 @@ a.ui.card:hover,
} }
&.bold { &.bold {
font-weight: 500; font-weight: 600;
} }
&.italic { &.italic {
@ -781,7 +778,6 @@ a.ui.card:hover,
} }
&.bottom.attached.message { &.bottom.attached.message {
font-weight: 500;
text-align: left; text-align: left;
color: black; color: black;
@ -1042,7 +1038,7 @@ a.ui.card:hover,
.scrolling.menu { .scrolling.menu {
.item.selected { .item.selected {
font-weight: 500 !important; font-weight: 600 !important;
} }
} }

@ -352,7 +352,7 @@
/* GenericStrong */ /* GenericStrong */
.chroma .gs { .chroma .gs {
font-weight: 500; font-weight: 600;
} }
/* GenericSubheading */ /* GenericSubheading */

@ -969,7 +969,7 @@
} }
.author { .author {
font-weight: 500; font-weight: 600;
} }
.comment-form-reply .footer { .comment-form-reply .footer {

@ -9,7 +9,7 @@
} }
.header { .header {
font-weight: 500; font-weight: 600;
font-size: 1.3rem; font-size: 1.3rem;
margin-top: -.2rem; margin-top: -.2rem;
line-height: 1.3rem; line-height: 1.3rem;

@ -447,7 +447,7 @@
/* GenericStrong */ /* GenericStrong */
.chroma .gs { .chroma .gs {
font-weight: 500; font-weight: 600;
} }
/* GenericSubheading */ /* GenericSubheading */

Loading…
Cancel
Save