mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
7280d255c0
* Remove ambiguity in imports - say the file extension 'less' for all instances of variables and mixins. * Separate toast styles from drawer styles so they can be imported separately * associate header-action selector with its parent (.overlay-header) not parent's parent (.overlay) so it can be imported and rendered without the Overlay. Change-Id: Ib7e19a440ba095d6424d35305fb41d643ca9764c
19 lines
464 B
Plaintext
19 lines
464 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
// Hacks to render galleries and multicol tables better on mobile
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
// Center images that might be less than the screen width.
|
|
// Image will appear centered and caption will take up full screen.
|
|
.gallery {
|
|
.gallerybox {
|
|
width: 100% !important;
|
|
|
|
div {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|
|
}
|