commonElements: Move sup, sub styling from Vector's CSS to common styles
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 29 Mar 2014 15:08:18 +0000 (16:08 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 29 Mar 2014 15:10:42 +0000 (15:10 +0000)
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
skins/vector/components/common.less

index ad7942a..06f5eba 100644 (file)
@@ -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;
index f5b2b1c..836987f 100644 (file)
@@ -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 */