mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-03 02:06:43 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
18 lines
447 B
Plaintext
18 lines
447 B
Plaintext
@import '../../minerva.less/minerva.variables';
|
|
@import '../../minerva.less/minerva.mixins';
|
|
|
|
// Hacks to render galleries and multicol tables better on mobile
|
|
@media all and ( max-width: @deviceWidthTablet ) {
|
|
|
|
// 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;
|
|
}
|
|
}
|
|
}
|
|
}
|