mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-11 22:56:01 +00:00
8d93818fc8
* Linting rule has been fixed to accept these now. Change-Id: I51d866ec18c9e1d675f43b3c60f3ad874bba041e
29 lines
586 B
CSS
29 lines
586 B
CSS
/* @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::after {
|
||
content: '[' counter( mw-Ref, nqo-counter ) ']';
|
||
}
|
||
|
||
.mw-ref > a[ data-mw-group ]::after {
|
||
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, nqo-counter ) ']';
|
||
}
|
||
|
||
span[ rel='mw:referencedBy' ] > a::before {
|
||
content: counter( mw-references, nqo-counter ) '.' counter( mw-ref-linkback, nqo-counter );
|
||
}
|