build: Enable use of stylelint-config-wikimedia and make pass
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.search.interwikiwidget.styles.less
index 9ee1b0b..7147f04 100644 (file)
        height: 0;
 }
 
-* html .interwiki-result             { zoom: 1; } /* IE6 */
-*:first-child+html .iw-resultset { zoom: 1; } /* IE7 */
+* html .interwiki-result { /* IE6 */
+    zoom: 1;
+}
+*:first-child + html .iw-resultset { /* IE7 */
+    zoom: 1;
+}
 
 /* padding each .iw-resultset section seperately.
 This allows us greater flexibility in the design.
@@ -48,10 +52,7 @@ header and footer. */
 .iw-result__title,
 .iw-result__content,
 .iw-result__footer {
-    padding-left: 0.85em;
-    padding-right: 0.85em;
-    padding-top: 0.25em;
-    padding-bottom: 0.25em;
+    padding: 0.25em 0.85em;
 }
 
 /* definition titles appear inline,
@@ -197,7 +198,7 @@ span the interwiki results across the bottom of the page.
 }
 
 /* mobile */
-@media only screen and ( max-width:768px ) {
+@media only screen and ( max-width: 768px ) {
     #mw-interwiki-results {
         width: 100%;
     }
@@ -212,8 +213,8 @@ span the interwiki results across the bottom of the page.
 
 }
 
-@media only screen and ( max-width:600px ) {
-        .iw-resultset {
+@media only screen and ( max-width: 600px ) {
+    .iw-resultset {
         width: 100% !important;
         margin-left: 0 !important;
         margin-right: 0 !important;