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;
58 /* image search result */
59 .iw-result__mini-gallery {
64 .box-sizing(border-box);
68 /* second and third images are small */
69 .iw-result__mini-gallery:nth-child( 2 ),
70 .iw-result__mini-gallery:nth-child( 3 ) { /* stylelint-disable-line indentation */
75 .iw-result__mini-gallery__image {
80 background-size: 100% auto;
81 background-size: cover;
82 background-repeat: no-repeat;
83 background-position: center center;
86 /* image gallery text */
87 .iw-result__mini-gallery__image > .iw-result__mini-gallery__caption {
96 background-color: rgba( 0, 0, 0, 0.5 );
99 .iw-result__mini-gallery__image:hover > .iw-result__mini-gallery__caption {
105 @media only screen and ( min-width: @deviceWidthTablet ) {
107 #mw-interwiki-results {
109 display: inline-block; /* used to align interwiki sidebar with the top of the main search results */
110 margin-left: 8%; /* since inline-block causes whitespace issues, this is 8 instead of 10% */
112 .mw-search-createlink,
113 .mw-search-nonefound,
115 .mw-search-interwiki-header {