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