Background
During design review on T315261, @alexhollender_WMF noticed how the footer isn't aligned with the rest of the page on viewports larger than 1000px. Rather than apply horizontal padding to the footer to match .mw-body, it's simpler and more consistent to move the horizontal padding on .mw-body to the page container instead. This is how spacing is handled on lower viewports, and also solves a few problems at once:
Note in this screenshot:
- The padding on .mw-body means the body content is 24px skinnier than the max width (960px)
- Related articles isn't aligned with the body content
Current:
Proposed:
AC
- There is no horizontal padding on .mw-body
- Footer text and border is always aligned with the header icons
- Related pages & banners are aligned with the page content (and with the rest of the page on smaller viewports)