mediawiki-extensions-Cite/modules/parsoid-styles/ext.cite.style.nqo.css

29 lines
624 B
CSS
Raw Normal View History

2022-11-04 03:28:38 +00:00
/* @noflip */
.mw-cite-dir-ltr {
direction: ltr;
text-align: left;
}
/* @noflip */
.mw-cite-dir-rtl {
direction: rtl;
text-align: right;
}
@counter-style nqo-counter {
system: numeric;
symbols: '߀' '߁' '߂' '߃' '߄' '߅' '߆' '߇' '߈' '߉';
}
.mw-ref > a[ style~='mw-Ref' ]::after {
2022-11-04 03:28:38 +00:00
content: '[' counter( mw-Ref, nqo-counter ) ']';
}
.mw-ref > a[ style~='mw-Ref' ][ data-mw-group ]::after {
2022-11-04 03:28:38 +00:00
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, nqo-counter ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
2022-11-04 03:28:38 +00:00
content: counter( mw-references, nqo-counter ) '.' counter( mw-ref-linkback, nqo-counter );
}