[less] Extract cross-browser normalization rules into new 'normalize.less'

Change-Id: I23da024b47020212173380315acd37210b924327
This commit is contained in:
Volker E 2020-06-11 17:24:17 -07:00 committed by VolkerE
parent f92df81fc5
commit 35b2f65914
5 changed files with 14 additions and 14 deletions

View File

@ -0,0 +1,12 @@
/*
* Normalize styles across rendering engines.
* Ideally, these rules should live in core and be shared across skins.
*
*/
html,
body {
height: 100%;
margin: 0;
padding: 0;
}

View File

@ -22,13 +22,6 @@
2 * @padding-vertical-header;
@width-grid-column-one: 11em;
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
// General background/foreground color definition as one exception to the rule.
background-color: @background-color-base;

View File

@ -4,13 +4,6 @@
@import 'mediawiki.mixins.less';
@import '../../../variables.less';
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
background-color: @background-color-secondary;
overflow-y: scroll;

View File

@ -4,6 +4,7 @@
@import 'mediawiki.mixins.less';
@media screen {
@import 'common/normalize.less';
@import 'legacy/layout.less';
@import 'common/content.less';
@import 'common/typography.less';

View File

@ -4,6 +4,7 @@
@import 'mediawiki.mixins.less';
@media screen {
@import 'common/normalize.less';
@import 'layout.less';
@import 'common/content.less';
@import 'common/typography.less';