Separate some shared layout with Parsoid

* This is in service of T116508.  See
   Id41c1d2840f441eddb14ca66ba545ee7b160088e where .mw-body is being
   removed from Parsoid content.

 * This is only possible since T155863

Change-Id: I60e3cb3e838fa19d321c4eac0a6828bcfddb6f3e
This commit is contained in:
Arlo Breault 2017-04-11 14:25:51 -04:00
parent 5fc1c484cb
commit dcd01fc1e2
1 changed files with 8 additions and 4 deletions

View File

@ -27,17 +27,21 @@ body {
}
/* Content */
.mw-body,
.parsoid-body {
padding: @content-padding;
background-color: @body-background-color;
color: @content-font-color;
direction: ltr;
}
.mw-body {
margin-left: 10em;
padding: @content-padding;
/* Border on top, left, and bottom side */
border: 1px solid @content-border-color;
border-right-width: 0;
/* Merge the border with tabs' one (in their background image) */
margin-top: -1px;
background-color: @body-background-color;
color: @content-font-color;
direction: ltr;
// h1's can exist outside of mw-body-content so some heading styles
// need to be defined in mw-body as well