mediawiki-skins-MinervaNeue/resources/skins.minerva.content.styles/galleries.less
jdlrobson 2cc9516cde Minerva is its own skin
This is programmatic output from python3 scripts/migrate.py

This will result in a Minerva skin dependent on MobileFrontend.

Post merge we will rename message keys to have minerva- prefix

Bug: T166748
Change-Id: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce
2017-07-12 08:12:40 -07:00

41 lines
684 B
Plaintext

@import 'mediawiki.mixins.less';
@import 'minerva.variables.less';
@import 'minerva.mixins.less';
// Galleries
//
// FIXME: Doesn't support parameters in https://en.wikipedia.org/wiki/Help:Gallery_tag */
// See https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images */
//
// Styleguide 1.4.
ul.gallery {
list-style: none;
max-width: 100%;
.gallerybox {
display: inline-block;
vertical-align: top;
max-width: 100%;
.thumb {
img {
display: block;
}
}
> div {
max-width: 100%;
> .thumb {
max-width: 100%;
}
}
.gallerytext {
overflow: hidden;
padding: 2px 4px;
word-wrap: break-word;
font-size: 0.8em;
}
}
}