Skip to content

Commit

Permalink
Font weight tweaks (#13854)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
3 people authored Dec 5, 2020
1 parent 61d6c19 commit d0d59e3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion web_src/less/_admin.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}

dt {
font-weight: 500;
font-weight: 600;
float: left;
width: 285px;
clear: left;
Expand Down
10 changes: 3 additions & 7 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ samp {
}

b,
strong {
font-weight: 500;
}

strong,
h1,
h2,
h3,
Expand Down Expand Up @@ -746,7 +743,7 @@ a.ui.card:hover,
}

&.bold {
font-weight: 500;
font-weight: 600;
}

&.italic {
Expand Down Expand Up @@ -781,7 +778,6 @@ a.ui.card:hover,
}

&.bottom.attached.message {
font-weight: 500;
text-align: left;
color: black;

Expand Down Expand Up @@ -1042,7 +1038,7 @@ a.ui.card:hover,

.scrolling.menu {
.item.selected {
font-weight: 500 !important;
font-weight: 600 !important;
}
}

Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_chroma.less
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
/* GenericStrong */

.chroma .gs {
font-weight: 500;
font-weight: 600;
}
/* GenericSubheading */

Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
}

.author {
font-weight: 500;
font-weight: 600;
}

.comment-form-reply .footer {
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_user.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.header {
font-weight: 500;
font-weight: 600;
font-size: 1.3rem;
margin-top: -.2rem;
line-height: 1.3rem;
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/themes/theme-arc-green.less
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
/* GenericStrong */

.chroma .gs {
font-weight: 500;
font-weight: 600;
}
/* GenericSubheading */

Expand Down

0 comments on commit d0d59e3

Please sign in to comment.