From 71295426a40fbb573cf1a49e80e028f1ae4a3dad Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Mon, 10 Oct 2011 04:13:38 +0000 Subject: [PATCH] Language specific height correction for titles. Ref Bug 29405 and Bug 30809. Followup of r97788 --- skins/common/shared.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/skins/common/shared.css b/skins/common/shared.css index 60a956f893..37952d9fd1 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -808,6 +808,25 @@ div.gallerytext { background-repeat: no-repeat; } +/* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */ +/* Languages like hi or ml require slightly more vertical space to show diacritics properly */ +h1:lang(hi), +h1:lang(ml) { + line-height: 1.5em; +} +h2:lang(hi), +h2:lang(ml), +h3:lang(hi), +h3:lang(ml), +h4:lang(hi), +h4:lang(ml), +h5:lang(hi), +h5:lang(ml), +h6:lang(hi), +h6:lang(ml) { + line-height: 1.2em; +} + /* Localised ordered list numbering for some languages */ ol:lang(bcc) li, ol:lang(bqi) li, -- 2.20.1