mediawiki-extensions-Cite/modules/parsoid-styles/ext.cite.style.lzh.less

17 lines
491 B
Plaintext
Raw Normal View History

2022-11-04 03:28:38 +00:00
@counter-style lzh-counter {
system: numeric;
symbols: '' '一' '二' '三' '四' '五' '六' '七' '八' '九';
}
.mw-ref > a[ style~='mw-Ref' ]::after {
2022-11-04 03:28:38 +00:00
content: '[' counter( mw-Ref, lzh-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, lzh-counter ) ']';
}
span[ rel='mw:referencedBy' ] > a::before {
2022-11-04 03:28:38 +00:00
content: counter( mw-references, lzh-counter ) '點' counter( mw-ref-linkback, lzh-counter );
}