| 1 |
@import 'variables.less'; |
| 2 |
@import 'mediawiki.mixins.less'; |
| 3 |
|
| 4 |
/** |
| 5 |
* Styles for responsive version of MonoBook. |
| 6 |
* IMPORTANT: These must not be merged with screen-common.less |
| 7 |
* Doing so will confuse the LESS compiler and it will de-duplicate shared styles |
| 8 |
* resulting in the breaking of responsive mode. |
| 9 |
* See https://github.com/wikimedia/less.php/issues/69 for more information. |
| 10 |
*/ |
| 11 |
|
| 12 |
@media screen { |
| 13 |
// Must only apply when the skin-responsive class is on the body element. |
| 14 |
body.skin--responsive { |
| 15 |
// These styles are not used at mobile resolution. |
| 16 |
@media ( min-width: 551px ) { |
| 17 |
@import 'screen-desktop.less'; |
| 18 |
} |
| 19 |
|
| 20 |
@media ( max-width: 550px ) { |
| 21 |
@import 'screen-mobile.less'; |
| 22 |
} |
| 23 |
} |
| 24 |
} |