diff --git a/skin.json b/skin.json index 92f2b0e1b..5cef59dd2 100644 --- a/skin.json +++ b/skin.json @@ -212,6 +212,9 @@ "mediawiki.special.search.styles": [ "skinStyles/mediawiki.special.search.styles/minerva.less" ], + "mediawiki.special.search.interwikiwidget.styles": [ + "skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less" + ], "mediawiki.skinning.content.parsoid": [ "skinStyles/mediawiki.skinning.content.parsoid/minerva.less" ], diff --git a/skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less b/skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less new file mode 100644 index 000000000..e2dcef57c --- /dev/null +++ b/skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less @@ -0,0 +1,16 @@ +@import '../../minerva.less/minerva.variables.less'; + +.mw-searchresults-has-iw { + // stylelint-disable-next-line selector-max-id + #mw-interwiki-results { + margin-left: 0; + width: 100%; + } + + .iw-resultset:nth-child( 1 ) { + .iw-result__header { + border-top: solid 1px #ccc; + padding-top: 12px; + } + } +} diff --git a/skinStyles/mediawiki.special.search.styles/minerva.less b/skinStyles/mediawiki.special.search.styles/minerva.less index fb4bcbd0d..9defcafd3 100644 --- a/skinStyles/mediawiki.special.search.styles/minerva.less +++ b/skinStyles/mediawiki.special.search.styles/minerva.less @@ -6,6 +6,11 @@ display: none; } +.mw-search-results-container, +.mw-search-results-info { + width: 100%; +} + @media all and ( min-width: @width-breakpoint-tablet ) { #search { // stylelint-disable-line selector-max-id display: none;