1 /* Interwiki search results */
2 /* ======================== */
4 @import 'mediawiki.ui/variables.less';
5 @import 'mediawiki.mixins';
7 /* stylelint-disable selector-class-pattern */
9 .mw-searchresults-has-iw {
20 .box-sizing(border-box);
25 background-color: @colorGray15;
27 word-break: break-word;
31 font-size: 108%; /* Matching regular search title */
35 .iw-result__content:after { /* Clearfix */
46 font-size: 97%; /* Matching main search result font-size */
50 .iw-result__footer a {
51 vertical-align: middle;
59 /* Image search result */
60 .iw-result__mini-gallery {
65 .box-sizing(border-box);
69 /* Second and third images are small */
70 .iw-result__mini-gallery:nth-child( 2 ),
71 .iw-result__mini-gallery:nth-child( 3 ) { /* stylelint-disable-line indentation */
76 .iw-result__mini-gallery__image {
81 background-size: 100% auto;
82 background-size: cover;
83 background-repeat: no-repeat;
84 background-position: center center;
87 /* Image gallery text */
88 .iw-result__mini-gallery__image > .iw-result__mini-gallery__caption {
97 background-color: rgba( 0, 0, 0, 0.5 );
100 .iw-result__mini-gallery__image:hover > .iw-result__mini-gallery__caption {
105 @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% */
112 .mw-search-createlink,
113 .mw-search-nonefound,
115 .mw-search-interwiki-header {