]> source.dussan.org Git - gitea.git/commitdiff
Change markdown font weight to 600 (#13584)
authorsilverwind <me@silverwind.io>
Tue, 17 Nov 2020 03:33:18 +0000 (04:33 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 03:33:18 +0000 (22:33 -0500)
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>
web_src/less/_markdown.less

index 7a29630575ddab34546a66b6e7329b82d213b0f0..dd1e80246dc09776b96c06b5d732a84fa60a720b 100644 (file)
@@ -77,7 +77,7 @@
   h6 {
     margin-top: 1em;
     margin-bottom: 16px;
-    font-weight: 500;
+    font-weight: 600;
     line-height: 1.4;
 
     &:first-of-type {
     margin-top: 16px;
     font-size: 1em;
     font-style: italic;
-    font-weight: 500;
+    font-weight: 600;
   }
 
   dl dd {
   }
 
   table th {
-    font-weight: 500;
+    font-weight: 600;
   }
 
   table th,
   }
 
   .csv-data th {
-    font-weight: 500;
+    font-weight: 600;
     background: #f8f8f8;
     border-top: 0;
   }