mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
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:
parent
a575d9f048
commit
211660e6b0
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue