mediawiki-extensions-Cite/modules/ext.cite.style.arz.css
Subramanya Sastry 8d93818fc8 Use double-colon for pseudo-elements
* Linting rule has been fixed to accept these now.

Change-Id: I51d866ec18c9e1d675f43b3c60f3ad874bba041e
2023-03-14 16:49:10 -04:00

20 lines
327 B
CSS

/* @noflip */
.mw-cite-dir-ltr {
direction: ltr;
text-align: left;
}
/* @noflip */
.mw-cite-dir-rtl {
direction: rtl;
text-align: right;
}
.mw-ref > a::after {
content: '[' counter( mw-Ref, decimal ) ']';
}
.mw-ref > a[ data-mw-group ]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, decimal ) ']';
}