mediawiki-extensions-Cite/modules/ext.cite.style.ckb.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

24 lines
480 B
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* @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, arabic-indic ) ']';
}
.mw-ref > a[ data-mw-group ]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, arabic-indic ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
content: counter( mw-references, arabic-indic ) '٫' counter( mw-ref-linkback, arabic-indic );
}