diff options
author | SerCom_KC <SerCom-KC@users.noreply.github.com> | 2017-12-07 23:01:52 +0800 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-07 16:01:52 +0100 |
commit | a1fc626e57654810112856974c397da9d743d6be (patch) | |
tree | 0dbc7da44b4af135141a42f8ec6e395fc5633b87 /app/javascript/styles/mastodon/forms.scss | |
parent | 9a6fc0333295ded6b466b63807bcd5e7e57df169 (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/forms.scss')
-rw-r--r-- | app/javascript/styles/mastodon/forms.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/forms.scss b/app/javascript/styles/mastodon/forms.scss index 61fcf286f..2bef53cff 100644 --- a/app/javascript/styles/mastodon/forms.scss +++ b/app/javascript/styles/mastodon/forms.scss @@ -56,6 +56,12 @@ code { strong { font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } } .label_input { @@ -395,6 +401,12 @@ code { strong { font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } } @media screen and (max-width: 740px) and (min-width: 441px) { @@ -430,6 +442,12 @@ code { strong { color: $ui-secondary-color; font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } } @media screen and (max-width: 740px) and (min-width: 441px) { @@ -474,6 +492,12 @@ code { strong { font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } } } } @@ -506,6 +530,12 @@ code { display: block; margin-bottom: 5px; + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } + .fa { font-weight: 400; } |