mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 10:59:56 +00:00
8d93818fc8
* Linting rule has been fixed to accept these now. Change-Id: I51d866ec18c9e1d675f43b3c60f3ad874bba041e
17 lines
453 B
CSS
17 lines
453 B
CSS
@counter-style lzh-counter {
|
||
system: numeric;
|
||
symbols: '〇' '一' '二' '三' '四' '五' '六' '七' '八' '九';
|
||
}
|
||
|
||
.mw-ref > a::after {
|
||
content: '[' counter( mw-Ref, lzh-counter ) ']';
|
||
}
|
||
|
||
.mw-ref > a[ data-mw-group ]::after {
|
||
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, lzh-counter ) ']';
|
||
}
|
||
|
||
span[ rel='mw:referencedBy' ] > a::before {
|
||
content: counter( mw-references, lzh-counter ) '點' counter( mw-ref-linkback, lzh-counter );
|
||
}
|