diff --git a/modules/ext.cite.styles.less b/modules/ext.cite.styles.less index 7edda15aa..73d4a6983 100644 --- a/modules/ext.cite.styles.less +++ b/modules/ext.cite.styles.less @@ -1,17 +1,13 @@ @import 'mediawiki.skin.variables.less'; +@import 'mediawiki.mixins.less'; .mw-cite-backlink, .cite-accessibility-label { - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; + .user-select( none ); } .mw-references-columns { - -webkit-column-width: 30em; - -moz-column-width: 30em; - column-width: 30em; + .column-width( 30em ); margin-top: 0.3em; /* Lines first column up nicely. */ @@ -21,9 +17,7 @@ /* Avoid elements from breaking between columns */ li { - -webkit-column-break-inside: avoid; - page-break-inside: avoid; - break-inside: avoid-column; + .column-break-inside-avoid(); } }