mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
0d61c78f73
This could be made even simpler by not using a LESS varialbe for hacks.less, but loading it conditionally through the moduel def. But, as a first step we can merge the two as-is. Given that the subject and target are always referenced together in page views, there is no need to keep an alias around. However, I'm keeping it anyway so as to not produce any `/* {"skins.foo":"missing"} */` appendix to the stylesheet response for these cached URLs. Bug: T266361 Change-Id: I8578faab8ca32bd49be90711cbd5e182763b8065
50 lines
1 KiB
Plaintext
50 lines
1 KiB
Plaintext
@import 'mediawiki.mixins.less';
|
|
@import '../../../minerva.less/minerva.variables.less';
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
|
|
|
// 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>
|
|
.content {
|
|
figure,
|
|
.thumb {
|
|
margin: 0.6em 0;
|
|
|
|
// Linker.php
|
|
.thumbinner {
|
|
margin: 0 auto;
|
|
// !important is needed because of Bug T87198 for example
|
|
max-width: 100% !important;
|
|
}
|
|
}
|
|
|
|
figcaption,
|
|
.thumbcaption {
|
|
margin: 0.5em 0 0;
|
|
font-size: @font-size-minerva-smallest;
|
|
line-height: 1.5;
|
|
padding: 0 !important;
|
|
color: @grayMediumDark;
|
|
}
|
|
|
|
.thumbcaption {
|
|
width: auto !important;
|
|
}
|
|
|
|
// Parsoid class name is mw-image-border (T198534) and parser (PHP) class name is thumbborder
|
|
.mw-image-border,
|
|
.thumbborder {
|
|
border: 1px solid @colorGray12;
|
|
}
|
|
|
|
// Hide the image magnification icon normally displayed in image captions
|
|
.magnify {
|
|
display: none;
|
|
}
|
|
}
|