skins/MinervaNeue/skinStyles/mediawiki.page.gallery.styles/tablet.less
raw| 1 | @import '../../minerva.less/minerva.variables.less'; |
| 2 | @import '../../minerva.less/minerva.mixins.less'; |
| 3 | |
| 4 | // Hacks to render galleries and multicol tables better on mobile |
| 5 | @media all and ( max-width: @max-width-breakpoint-mobile ) { |
| 6 | |
| 7 | // Center images that might be less than the screen width. |
| 8 | // Image will appear centered and caption will take up full screen. |
| 9 | .gallery { |
| 10 | .gallerybox { |
| 11 | width: 100% !important; |
| 12 | |
| 13 | div { |
| 14 | width: 100% !important; |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | } |