aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-17 04:33:18 +0100
committerGitHub <noreply@github.com>2020-11-16 22:33:18 -0500
commit0a6ce3eaf19649e2254f9c1ca72288d6c01edbf2 (patch)
treef69c523e1652ce3841be6e5055172e25f9c7d5a7 /web_src
parent949e3f53f61f5e7572fd64933dce37c54b406c46 (diff)
downloadgitea-0a6ce3eaf19649e2254f9c1ca72288d6c01edbf2.tar.gz
gitea-0a6ce3eaf19649e2254f9c1ca72288d6c01edbf2.zip
Change markdown font weight to 600 (#13584)
Previously it was reduced globally from 700 to 500 but it actually needs to be 600 to match GitHub's rendering. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_markdown.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/web_src/less/_markdown.less b/web_src/less/_markdown.less
index 7a29630575..dd1e80246d 100644
--- a/web_src/less/_markdown.less
+++ b/web_src/less/_markdown.less
@@ -77,7 +77,7 @@
h6 {
margin-top: 1em;
margin-bottom: 16px;
- font-weight: 500;
+ font-weight: 600;
line-height: 1.4;
&:first-of-type {
@@ -193,7 +193,7 @@
margin-top: 16px;
font-size: 1em;
font-style: italic;
- font-weight: 500;
+ font-weight: 600;
}
dl dd {
@@ -224,7 +224,7 @@
}
table th {
- font-weight: 500;
+ font-weight: 600;
}
table th,
@@ -450,7 +450,7 @@
}
.csv-data th {
- font-weight: 500;
+ font-weight: 600;
background: #f8f8f8;
border-top: 0;
}