Merge "[less] Extract cross-browser normalization rules into new 'normalize.less'"
This commit is contained in:
commit
7786fd9d1f
|
@ -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;
|
||||||
|
}
|
|
@ -22,13 +22,6 @@
|
||||||
2 * @padding-vertical-header;
|
2 * @padding-vertical-header;
|
||||||
@width-grid-column-one: 11em;
|
@width-grid-column-one: 11em;
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
// General background/foreground color definition as one exception to the rule.
|
// General background/foreground color definition as one exception to the rule.
|
||||||
background-color: @background-color-base;
|
background-color: @background-color-base;
|
||||||
|
|
|
@ -4,13 +4,6 @@
|
||||||
@import 'mediawiki.mixins.less';
|
@import 'mediawiki.mixins.less';
|
||||||
@import '../../../variables.less';
|
@import '../../../variables.less';
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: @background-color-secondary;
|
background-color: @background-color-secondary;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
@import 'mediawiki.mixins.less';
|
@import 'mediawiki.mixins.less';
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
|
@import 'common/normalize.less';
|
||||||
@import 'legacy/layout.less';
|
@import 'legacy/layout.less';
|
||||||
@import 'common/content.less';
|
@import 'common/content.less';
|
||||||
@import 'common/typography.less';
|
@import 'common/typography.less';
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
@import 'mediawiki.mixins.less';
|
@import 'mediawiki.mixins.less';
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
|
@import 'common/normalize.less';
|
||||||
@import 'layout.less';
|
@import 'layout.less';
|
||||||
@import 'common/content.less';
|
@import 'common/content.less';
|
||||||
@import 'common/typography.less';
|
@import 'common/typography.less';
|
||||||
|
|
Loading…
Reference in New Issue