2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
// Thumbnails
|
|
|
|
//
|
|
|
|
// Thumbnail images should be rendered within a thumb class
|
|
|
|
//
|
|
|
|
// Markup:
|
|
|
|
// <div class="content">
|
|
|
|
// <div class="thumb"><img src="images/arrow-left.png"></div>
|
|
|
|
// </div>
|
|
|
|
//
|
|
|
|
// Styleguide 1.2.
|
|
|
|
.content {
|
2017-07-27 20:50:49 +00:00
|
|
|
figure,
|
2017-07-12 15:12:40 +00:00
|
|
|
.thumb {
|
|
|
|
margin: 0.6em 0;
|
|
|
|
|
|
|
|
// Linker.php
|
|
|
|
.thumbinner {
|
|
|
|
margin: 0 auto;
|
|
|
|
// !important is needed because of Bug T87198 for example
|
|
|
|
max-width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-27 20:50:49 +00:00
|
|
|
figcaption,
|
2017-07-12 15:12:40 +00:00
|
|
|
.thumbcaption {
|
|
|
|
margin: 0.5em 0 0;
|
2019-09-23 22:02:16 +00:00
|
|
|
font-size: @font-size-minerva-smallest;
|
2017-07-12 15:12:40 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
padding: 0 !important;
|
|
|
|
color: @grayMediumDark;
|
2017-07-27 20:50:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbcaption {
|
2017-07-12 15:12:40 +00:00
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
2019-03-18 18:23:40 +00:00
|
|
|
// Parsoid class name (T198534)
|
|
|
|
.mw-image-border,
|
|
|
|
// parser (PHP) class name
|
2017-07-12 15:12:40 +00:00
|
|
|
.thumbborder {
|
|
|
|
border: 1px solid @colorGray12;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the image magnification icon normally displayed in image captions
|
2018-09-17 20:56:57 +00:00
|
|
|
.magnify {
|
2017-07-12 15:12:40 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|