Browse Source

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>
tags/v1.15.0-dev
silverwind 3 years ago
parent
commit
d0d59e3730
No account linked to committer's email address

+ 1
- 1
web_src/less/_admin.less View File

@@ -55,7 +55,7 @@
}

dt {
font-weight: 500;
font-weight: 600;
float: left;
width: 285px;
clear: left;

+ 3
- 7
web_src/less/_base.less View File

@@ -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;
}
}


+ 1
- 1
web_src/less/_chroma.less View File

@@ -352,7 +352,7 @@
/* GenericStrong */

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


+ 1
- 1
web_src/less/_repository.less View File

@@ -969,7 +969,7 @@
}

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

.comment-form-reply .footer {

+ 1
- 1
web_src/less/_user.less View File

@@ -9,7 +9,7 @@
}

.header {
font-weight: 500;
font-weight: 600;
font-size: 1.3rem;
margin-top: -.2rem;
line-height: 1.3rem;

+ 1
- 1
web_src/less/themes/theme-arc-green.less View File

@@ -447,7 +447,7 @@
/* GenericStrong */

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


Loading…
Cancel
Save