2 * Common LESS mixin library for MediaWiki
4 * By default the folder containing this file is included in $wgResourceLoaderLESSImportPaths,
5 * which makes this file importable by all less files via '@import "mediawiki.mixins";'.
7 * The mixins included below are considered a public interface for MediaWiki extensions.
8 * The signatures of parametrized mixins should be kept as stable as possible.
10 * See <http://lesscss.org/#-mixins> for more information about how to write mixins.
13 .background-image(@url) when (embeddable(@url)) {
14 background-image: embed(@url);
15 background-image: url(@url)!ie;
18 .background-image(@url) when not (embeddable(@url)) {
19 background-image: url(@url);