mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
Merge "[less] Extract cross-browser normalization rules into new 'normalize.less'"
This commit is contained in:
commit
7786fd9d1f
12
resources/skins.vector.styles/common/normalize.less
vendored
Normal file
12
resources/skins.vector.styles/common/normalize.less
vendored
Normal 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;
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue