about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/accounts.scss
diff options
context:
space:
mode:
authorSerCom_KC <SerCom-KC@users.noreply.github.com>2017-12-07 23:01:52 +0800
committerEugen Rochko <eugen@zeonfederated.com>2017-12-07 16:01:52 +0100
commita1fc626e57654810112856974c397da9d743d6be (patch)
tree0dbc7da44b4af135141a42f8ec6e395fc5633b87 /app/javascript/styles/mastodon/accounts.scss
parent9a6fc0333295ded6b466b63807bcd5e7e57df169 (diff)
Fix font-weight of <strong> element for CJK fonts (#5914)
* Fix font-weight for CJK fonts

* Use `font-weight: 700;` for mobile support

* Fix indentation

* Remove trailing whitespace

* Remove trailing whitespace
Diffstat (limited to 'app/javascript/styles/mastodon/accounts.scss')
-rw-r--r--app/javascript/styles/mastodon/accounts.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss
index 23e20a366..9015d04cb 100644
--- a/app/javascript/styles/mastodon/accounts.scss
+++ b/app/javascript/styles/mastodon/accounts.scss
@@ -473,6 +473,12 @@
       strong {
         font-weight: 500;
         color: $ui-base-color;
+
+        @each $lang in $cjk-langs {
+          &:lang(#{$lang}) {
+            font-weight: 700;
+          }
+        }
       }
 
       span {