Merge "[Refactor] Move HD styles into separate importable LESS file"
This commit is contained in:
commit
09fedcc4bb
|
@ -0,0 +1,31 @@
|
||||||
|
/* Vector screen styles for high definition displays. These rules cross the above components and are
|
||||||
|
grouped together here only for the sake of the media query common to each. */
|
||||||
|
@media screen and ( min-width: 982px ) {
|
||||||
|
.mw-body,
|
||||||
|
#mw-head-base,
|
||||||
|
#left-navigation,
|
||||||
|
#mw-data-after-content,
|
||||||
|
#footer {
|
||||||
|
margin-left: 11em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-body {
|
||||||
|
padding: 1.25em 1.5em 1.5em 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
padding: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mw-panel {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#p-search {
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#p-personal {
|
||||||
|
right: 1em;
|
||||||
|
}
|
||||||
|
}
|
|
@ -15,36 +15,5 @@
|
||||||
@import 'externalLinks.less';
|
@import 'externalLinks.less';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Vector screen styles for high definition displays. These rules cross the above components and are
|
@import 'hd.less';
|
||||||
grouped together here only for the sake of the media query common to each. */
|
|
||||||
@media screen and ( min-width: 982px ) {
|
|
||||||
.mw-body,
|
|
||||||
#mw-head-base,
|
|
||||||
#left-navigation,
|
|
||||||
#mw-data-after-content,
|
|
||||||
#footer {
|
|
||||||
margin-left: 11em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mw-body {
|
|
||||||
padding: 1.25em 1.5em 1.5em 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#footer {
|
|
||||||
padding: 1.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mw-panel {
|
|
||||||
padding-left: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#p-search {
|
|
||||||
margin-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#p-personal {
|
|
||||||
right: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@import 'print.less';
|
@import 'print.less';
|
||||||
|
|
Loading…
Reference in New Issue