diff --git a/components/common.less b/components/common.less index f50880a..9552965 100644 --- a/components/common.less +++ b/components/common.less @@ -55,6 +55,14 @@ body { line-height: @heading-line-height; margin-bottom: 0.25em; padding: 0; + + /* Fallback heading font for scripts which render poorly in @content-heading-font-family. */ + /* See T73240 */ + &:lang( ja ), /* See T65817 */ + &:lang( he ), /* See T65843 and T65844 */ + &:lang( ko ) { /* See T65827 */ + font-family: @content-heading-font-family-generic; + } } h1 { diff --git a/variables.less b/variables.less index b17d15c..c703e22 100644 --- a/variables.less +++ b/variables.less @@ -11,6 +11,7 @@ @content-padding: 1em; @content-heading-font-size: 1.8em; @content-heading-font-family: "Linux Libertine", Georgia, Times, serif; +@content-heading-font-family-generic: sans-serif; @body-background-color: #fff; @heading-line-height: 1.3;