mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-01 10:06:15 +00:00
b58db89aac
Change-Id: Ia7d685d9e10468d2303c68dc88fee8811251ffcb
20 lines
521 B
CSS
20 lines
521 B
CSS
/* Farsi Cite CSS */
|
||
|
||
/* Upstream bug in stylelint makes it complain aboout the case of 'mw-Ref' */
|
||
/* stylelint-disable value-keyword-case */
|
||
|
||
/* <ref>s with a group */
|
||
span.mw-ref a[data-mw-group]:after {
|
||
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, persian ) ']';
|
||
}
|
||
|
||
/* <ref>s without a group */
|
||
span.mw-ref a:after {
|
||
content: '[' counter( mw-Ref, persian ) ']';
|
||
}
|
||
|
||
/* Linkbacks from <references> to <ref>s */
|
||
span[rel='mw:referencedBy'] a:before {
|
||
content: counters( mw-ref-linkback, '٫', persian );
|
||
}
|