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

This commit is contained in:
jenkins-bot 2020-06-12 22:40:20 +00:00 committed by Gerrit Code Review
commit 7786fd9d1f
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';