2015-04-29 16:07:09 +00:00
|
|
|
|
/* Farsi Cite CSS */
|
2017-03-20 14:32:02 +00:00
|
|
|
|
|
|
|
|
|
/* Upstream bug in stylelint makes it complain aboout the case of 'mw-Ref' */
|
|
|
|
|
/* stylelint-disable value-keyword-case */
|
|
|
|
|
|
2015-04-29 16:07:09 +00:00
|
|
|
|
/* <ref>s with a group */
|
2018-02-04 21:22:04 +00:00
|
|
|
|
.mw-ref a[ data-mw-group ]:after {
|
2016-05-17 17:15:13 +00:00
|
|
|
|
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, persian ) ']';
|
2015-04-29 16:07:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* <ref>s without a group */
|
2018-01-02 13:59:31 +00:00
|
|
|
|
.mw-ref a:after {
|
2016-05-17 17:15:13 +00:00
|
|
|
|
content: '[' counter( mw-Ref, persian ) ']';
|
2015-04-29 16:07:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Linkbacks from <references> to <ref>s */
|
2018-02-04 21:22:04 +00:00
|
|
|
|
span[ rel='mw:referencedBy' ] a:before {
|
2016-05-17 17:15:13 +00:00
|
|
|
|
content: counters( mw-ref-linkback, '٫', persian );
|
2015-04-29 16:07:09 +00:00
|
|
|
|
}
|
2012-05-15 18:31:23 +00:00
|
|
|
|
|
|
|
|
|
/* @noflip */
|
|
|
|
|
.mw-cite-dir-ltr {
|
|
|
|
|
direction: ltr;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* @noflip */
|
|
|
|
|
.mw-cite-dir-rtl {
|
|
|
|
|
direction: rtl;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|