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

17 lines
451 B
CSS

@counter-style nod-counter {
system: numeric;
symbols: '᪀' '᪁' '᪂' '᪃' '᪄' '᪅' '᪆' '᪇' '᪈' '᪉';
}
.mw-ref > a::after {
content: '[' counter( mw-Ref, nod-counter ) ']';
}
.mw-ref > a[ data-mw-group ]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, nod-counter ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
content: counter( mw-references, nod-counter ) '.' counter( mw-ref-linkback, nod-counter );
}