1 /* Interwiki search results */
2 /* ======================== */
4 @import 'mediawiki.ui/variables.less';
5 @import 'mediawiki.mixins';
7 .mw-searchresults-has-iw {
18 .box-sizing(border-box);
23 background-color: @colorGray15;
25 word-break: break-word;
29 font-size: 108%; /* Matching regular search title */
33 .iw-result__content:after { /* Clearfix */
44 font-size: 97%; /* Matching main search result font-size */
48 .iw-result__footer a {
49 vertical-align: middle;
57 /* Image search result */
58 .iw-result__mini-gallery {
63 .box-sizing(border-box);
67 /* Second and third images are small */
68 .iw-result__mini-gallery:nth-child( 2 ),
69 .iw-result__mini-gallery:nth-child( 3 ) { /* stylelint-disable-line indentation */
74 .iw-result__mini-gallery__image {
79 background-size: 100% auto;
80 background-size: cover;
81 background-repeat: no-repeat;
82 background-position: center center;
85 /* Image gallery text */
86 .iw-result__mini-gallery__image > .iw-result__mini-gallery__caption {
95 background-color: rgba( 0, 0, 0, 0.5 );
98 .iw-result__mini-gallery__image:hover > .iw-result__mini-gallery__caption {
103 @media only screen and ( min-width: @width-breakpoint-tablet ) {
104 #mw-interwiki-results {
106 display: inline-block; /* Used to align interwiki sidebar with the top of the main search results */
107 margin-left: 8%; /* Since inline-block causes whitespace issues, this is 8 instead of 10% */
110 .mw-search-createlink,
111 .mw-search-nonefound,
113 .mw-search-interwiki-header {