Allow an alternate, generic header font to be specified for certain languages

Introducing variable `@content-heading-font-family-generic`, that may be
used to specify an alternate font for `h1` and `h2` for languages which
render poorly using the standard heading font stack.
Set it for now on JA, HE and KO languages, based on reported issues.

Bug: T73240
Change-Id: I5217a7947427055f4cb61185d9d7d79848605dd3
This commit is contained in:
nirzar 2015-06-11 14:21:25 -07:00 committed by Volker E
parent a575d9f048
commit 211660e6b0
2 changed files with 9 additions and 0 deletions

View file

@ -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 {

View file

@ -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;