]> source.dussan.org Git - gitea.git/commitdiff
Font weight tweaks (#13854)
authorsilverwind <me@silverwind.io>
Sat, 5 Dec 2020 11:00:36 +0000 (12:00 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Dec 2020 11:00:36 +0000 (19:00 +0800)
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>
web_src/less/_admin.less
web_src/less/_base.less
web_src/less/_chroma.less
web_src/less/_repository.less
web_src/less/_user.less
web_src/less/themes/theme-arc-green.less

index a3f223e0f5f2d7deaa40df5bd1e1d22a271d4292..80b7649fbe1a30e3b36f4dc6cdc88e302ec80b80 100644 (file)
@@ -55,7 +55,7 @@
     }
 
     dt {
-      font-weight: 500;
+      font-weight: 600;
       float: left;
       width: 285px;
       clear: left;
index 6fee330c576d63eaea8c74cf8329b0bd91834b3a..8885ffc4093553f3999679454cfc7b80675f08bf 100644 (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;
   }
 }
 
index 699f69d810119350a81c73418c3d78ef3833aa26..29ba98ab09572f8d8f3e1b42f1a141aa87b39f6d 100644 (file)
 /* GenericStrong */
 
 .chroma .gs {
-  font-weight: 500;
+  font-weight: 600;
 }
 /* GenericSubheading */
 
index 1ab90e5667c423f6bc2f0c327b28013b8a098114..9925a79202c9c39d574e2b74b19757749f0dd409 100644 (file)
         }
 
         .author {
-          font-weight: 500;
+          font-weight: 600;
         }
 
         .comment-form-reply .footer {
index 2b37e8ee94b1d742fdf56718c7a9f804b4131bda..42c223e9bffbe1dcc9fb48cb5f96b71653abe042 100644 (file)
@@ -9,7 +9,7 @@
       }
 
       .header {
-        font-weight: 500;
+        font-weight: 600;
         font-size: 1.3rem;
         margin-top: -.2rem;
         line-height: 1.3rem;
index 17c435788b7644fd28d3544f5f904b1e518a9433..526fa58730437698fe4b69da67917d6949ac7a1d 100644 (file)
 /* GenericStrong */
 
 .chroma .gs {
-  font-weight: 500;
+  font-weight: 600;
 }
 /* GenericSubheading */