Make use of LESS mixins in ext.cite.styles.less

Bug: T360720
Change-Id: Ibef7df801f1dc5d550e6663200fa38ddf8c21054
This commit is contained in:
thiemowmde 2024-03-22 09:08:28 +01:00
parent 75b4682dbf
commit 9e7b365531

View file

@ -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();
}
}