Use .mw-body in skins
authorArlo Breault <abreault@wikimedia.org>
Wed, 13 Aug 2014 11:15:47 +0000 (04:15 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 1 Sep 2014 20:21:43 +0000 (22:21 +0200)
 * This helps Parsoid's output reach parity.

 * Merge in conjunction with
   Vector: Iae873906abcd8b2a986e5f728f0ce207256de770
   MonoBook: I0c889950e618b2afa6332c4c56b5531744526e72

Bug: 38726
Change-Id: Id0228fa839ef80b0b3bfee864e81f2c65963e01b

resources/src/mediawiki.legacy/commonPrint.css
resources/src/mediawiki.legacy/oldshared.css

index dda17fb..2c477b2 100644 (file)
@@ -101,7 +101,7 @@ pre, .mw-code {
        min-width: 0 !important;
 }
 
-#content {
+.mw-body {
        background: white;
        border: none !important;
        padding: 0 !important;
@@ -114,7 +114,7 @@ pre, .mw-code {
        margin: 0 !important;
 }
 
-#column-content #content {
+#column-content .mw-body {
        padding: 1em;
        margin: 0 !important;
 }
@@ -171,14 +171,14 @@ a:link, a:visited {
 }
 
 /* Expand URLs for printing */
-#content a.external.text:after,
-#content a.external.autonumber:after {
+.mw-body a.external.text:after,
+.mw-body a.external.autonumber:after {
        content: " (" attr(href) ")";
 }
 
 /* Expand protocol-relative URLs for printing */
-#content a.external.text[href^='//']:after,
-#content a.external.autonumber[href^='//']:after {
+.mw-body a.external.text[href^='//']:after,
+.mw-body a.external.autonumber[href^='//']:after {
        content: " (https:" attr(href) ")";
 }
 
index 17ad0e8..11a857e 100644 (file)
@@ -496,7 +496,7 @@ html > body.rtl div#article ul {
 }
 
 /* @noflip */
-html > body.rtl div#bodyContent ul#filetoc {
+html > body.rtl .mw-body ul#filetoc {
        display: block;
 }