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

12 lines
326 B
CSS

.mw-ref > a::after {
content: '[' counter( mw-Ref, devanagari ) ']';
}
.mw-ref > a[ data-mw-group ]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, devanagari ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
content: counter( mw-references, devanagari ) '.' counter( mw-ref-linkback, devanagari );
}