mediawiki-extensions-Cite/modules/ext.cite.style.sat.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 sat-counter {
system: numeric;
symbols: '᱐' '᱑' '᱒' '᱓' '᱔' '᱕' '᱖' '᱗' '᱘' '᱙';
}
.mw-ref > a::after {
content: '[' counter( mw-Ref, sat-counter ) ']';
}
.mw-ref > a[ data-mw-group ]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, sat-counter ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
content: counter( mw-references, sat-counter ) '.' counter( mw-ref-linkback, sat-counter );
}