Refactor: Revert to previous ordering
In I23f18fc5f078da3331cad540bbaf533d348f2108 layout was pulled out into a separate file and we changed the ordering of our CSS. This was done with the thinking that media print queries would be mixed with media screen. After discussions with Volker, I have been convinced this was a mistake. media queries of the same type can be nested so the @media screen is removed from layout.less and the media query in index.less will be used instead. Change-Id: I3aab00c9bcc734ea1ba5a9cf242c6e36ac1cc076
This commit is contained in:
parent
7ccb3a0fe1
commit
95c80c4efe
|
@ -3,6 +3,7 @@
|
|||
/* Vector screen styles */
|
||||
@media screen {
|
||||
@import 'common.less';
|
||||
@import 'legacy/layout.less';
|
||||
@import 'PersonalMenu.less';
|
||||
@import 'SearchBox.less';
|
||||
@import 'VectorTabs.less';
|
||||
|
@ -16,6 +17,5 @@
|
|||
@import 'externalLinks.less';
|
||||
}
|
||||
|
||||
@import 'legacy/layout.less';
|
||||
@import 'watchstar-ie8.less';
|
||||
@import 'print.less';
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* Vector screen styles */
|
||||
@media screen {
|
||||
@import 'common.less';
|
||||
@import 'legacy/layout.less';
|
||||
@import 'PersonalMenu.less';
|
||||
@import 'SearchBox.less';
|
||||
@import 'VectorTabs.less';
|
||||
|
@ -15,6 +16,5 @@
|
|||
@import 'externalLinks.less';
|
||||
}
|
||||
|
||||
@import 'legacy/layout.less';
|
||||
@import 'watchstar-ie8.less';
|
||||
@import 'print.less';
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
@import 'mediawiki.mixins.less';
|
||||
|
||||
@media screen {
|
||||
.mw-body,
|
||||
#mw-data-after-content {
|
||||
margin-left: 10em;
|
||||
|
@ -73,11 +72,10 @@
|
|||
margin-left: 10em;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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 ) {
|
||||
@media ( min-width: 982px ) {
|
||||
.mw-body,
|
||||
#mw-head-base,
|
||||
#left-navigation,
|
||||
|
|
Loading…
Reference in New Issue