2 * MediaWiki style sheet for styles relating to thumbnails.
4 * CSS that does not relate to styling thumbnails generated by the parser in a vanilla
5 * MediaWiki install do not belong here.
8 /* stylelint-disable selector-class-pattern */
9 @import 'mediawiki.skin.variables.less';
10 @import 'content.variables.less';
11 @import 'mediawiki.mixins.less';
16 border: @border-subtle;
17 background-color: @background-color-interactive-subtle;
18 font-size: @font-size-thumbinner-screen;
22 background-color: @background-color-interactive-subtle;
23 border: 1px solid @border-color-subtle;
27 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
29 font-size: @font-size-thumbcaption-screen;
33 border: @border-width-base @border-style-base #eaecf0;
37 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
39 .margin-inline( 3px, 0 );
47 /* …and replace it with the image */
50 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
51 background-image: @background-image-magnify-ltr;
52 /* Don't annoy people who copy-paste everything too much */
56 /* Directionality-specific styles for thumbnails - their positioning depends on content language */
63 background-image: @background-image-magnify-ltr;
73 background-image: @background-image-magnify-rtl;