Monobook: Solve padding issues with #content and #firstheading
authorrahul21 <rahul14m93@gmail.com>
Sat, 30 Mar 2013 21:40:41 +0000 (03:10 +0530)
committerTimo Tijhof <ttijhof@wikimedia.org>
Tue, 2 Apr 2013 18:46:16 +0000 (20:46 +0200)
Makes it consistent with the Vector skin.

Bug: 26849
Change-Id: Iab04baea4131208373962e4ddf7c8ac83c7f2ca9

skins/monobook/main.css
skins/vector/screen.css

index 4cbc093..61116b1 100644 (file)
@@ -17,7 +17,7 @@ div#column-content {
 }
 div#content {
        margin: 2.8em 0 0 12.2em;
-       padding: 0 1em 1em 1em;
+       padding: 1em;
        position: relative;
        z-index: 2;
 }
@@ -93,6 +93,9 @@ pre, .mw-code {
        line-height: 1.1em;
 }
 
+#firstHeading {
+       padding-top: 0;
+}
 /*
 ** the main content area
 */
index 2e09ee1..cf0aaea 100644 (file)
@@ -709,7 +709,6 @@ pre, .mw-code {
 #firstHeading {
        padding-top: 0;
        margin-top: 0;
-       padding-top: 0;
        font-size: 1.6em;
 }
 div#content a.external,