about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2017-12-08 05:35:19 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-07 21:35:19 +0100
commit832a7f9a0591f802d810f386be4cfe4703b407e7 (patch)
tree5de052af50cb1fa37b89506eb78910efc32429fa /app/javascript
parent7fcf15adf35ff4b5e4b736f8d6871ab27d7ce7a2 (diff)
ReFix font-weight of <strong> element for CJK fonts (#5920)
Also apply to Japanese and Korean.
Fix font-weight in landing pages.
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/about.scss8
-rw-r--r--app/javascript/styles/mastodon/variables.scss2
2 files changed, 2 insertions, 8 deletions
diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss
index 56b4dcfb9..e45fc03d3 100644
--- a/app/javascript/styles/mastodon/about.scss
+++ b/app/javascript/styles/mastodon/about.scss
@@ -19,7 +19,7 @@
     display: inline;
     margin: 0;
     padding: 0;
-    font-weight: 500;
+    font-weight: 700;
     background: transparent;
     font-family: inherit;
     font-size: inherit;
@@ -381,12 +381,6 @@
         font-weight: 500;
         font-size: 32px;
         line-height: 48px;
-
-        @each $lang in $cjk-langs {
-          &:lang(#{$lang}) {
-            font-weight: 700;
-          }
-        }
       }
     }
 
diff --git a/app/javascript/styles/mastodon/variables.scss b/app/javascript/styles/mastodon/variables.scss
index 0abb8d5ea..dcc2857ff 100644
--- a/app/javascript/styles/mastodon/variables.scss
+++ b/app/javascript/styles/mastodon/variables.scss
@@ -29,4 +29,4 @@ $ui-secondary-color: $classic-secondary-color !default;        // Lightest
 $ui-highlight-color: $classic-highlight-color !default;        // Vibrant
 
 // Language codes that uses CJK fonts
-$cjk-langs: zh-CN, zh-HK, zh-TW;
+$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;