diff --git a/components/animations.less b/components/animations.less index 916377960..ab273dc07 100644 --- a/components/animations.less +++ b/components/animations.less @@ -1,6 +1,6 @@ /* Animate between standard and high definition layouts */ body.vector-animateLayout { - div#content, + .mw-body, div#footer, #left-navigation { .transition(margin-left 250ms, padding 250ms;); diff --git a/components/common.less b/components/common.less index 1aee34da2..ac4b8509b 100644 --- a/components/common.less +++ b/components/common.less @@ -27,7 +27,7 @@ body { } /* Content */ -div#content { +.mw-body { margin-left: 10em; padding: @content-padding; /* Border on top, left, and bottom side */ diff --git a/components/externalLinks.less b/components/externalLinks.less index 91388c636..4cf8f0a54 100644 --- a/components/externalLinks.less +++ b/components/externalLinks.less @@ -1,6 +1,6 @@ @import "mediawiki.mixins.less"; // External links -#content { +.mw-body { .external { background-position: center right; background-repeat: no-repeat; diff --git a/screen-hd.less b/screen-hd.less index 8b286f4e1..7c1d48b3b 100644 --- a/screen-hd.less +++ b/screen-hd.less @@ -2,7 +2,7 @@ @import "variables.less"; -div#content { +.mw-body { margin-left: 11em; padding: 1.25em 1.5em 1.5em 1.5em; }