From b1c2dd38ba9ac9b2523e0cfef90a96d65e05b604 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Wed, 13 Aug 2014 03:51:40 -0700 Subject: [PATCH] Use .mw-body instead of div#content * Part of https://gerrit.wikimedia.org/r/#/c/151395/ Change-Id: Iae873906abcd8b2a986e5f728f0ce207256de770 --- components/animations.less | 2 +- components/common.less | 2 +- components/externalLinks.less | 2 +- screen-hd.less | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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; }