1 /* interwiki search results */
2 /*==========================*/
4 @import 'mediawiki.ui/variables.less';
5 @import 'mediawiki.mixins';
7 .mw-searchresults-has-iw {
19 .box-sizing(border-box);
24 background-color: @colorGray15;
26 word-break: break-word;
30 font-size: 108%; /* matching regular search title */
34 .iw-result__content:after { /* clearfix */
45 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 {
104 @media only screen and ( min-width: @width-breakpoint-tablet ) {
106 #mw-interwiki-results {
108 display: inline-block; /* used to align interwiki sidebar with the top of the main search results */
109 margin-left: 8%; /* since inline-block causes whitespace issues, this is 8 instead of 10% */
111 .mw-search-createlink,
112 .mw-search-nonefound,
114 .mw-search-interwiki-header {