From 5468ea568eca7f1657c5af9423ac073d1cdb8e8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sat, 29 Mar 2014 16:08:18 +0100 Subject: [PATCH] commonElements: Move sup, sub styling from Vector's CSS to common styles This really should be a basic style, not limited to one skin. All Wikimedia wikis which used this hack seem to have it on their common.css, not vector.css. Follow-up to Ic5ba8363. Bug: 49965 Change-Id: Ie98f8b57a71b703fbba19c201c13edef3f6adc55 --- skins/common/commonElements.css | 6 ++++++ skins/vector/components/common.less | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/skins/common/commonElements.css b/skins/common/commonElements.css index ad7942a667..06f5eba5d8 100644 --- a/skins/common/commonElements.css +++ b/skins/common/commonElements.css @@ -185,6 +185,12 @@ table { font-size: 100%; } +/* Prevent citations and subscripts from interfering with the line-height */ +sup, +sub { + line-height: 1; +} + /* Forms */ fieldset { border: 1px solid #2f6fab; diff --git a/skins/vector/components/common.less b/skins/vector/components/common.less index f5b2b1c9f6..836987f736 100644 --- a/skins/vector/components/common.less +++ b/skins/vector/components/common.less @@ -99,12 +99,6 @@ div#content { font-size: 100%; /* (reset) */ font-family: @content-font-family; } - - // Prevent citations and subscripts from interfering with the line-height - sup, - sub { - line-height: 1; - } } /* Hide empty portlets */ -- 2.20.1