mediawiki-extensions-Cite/modules/ext.cite.style.fa.css

33 lines
609 B
CSS
Raw Normal View History

/* Farsi Cite CSS */
/* <ref>s with a group */
.mw-ref a[ data-mw-group ]:after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, persian ) ']';
}
/* <ref>s without a group */
.mw-ref a:after {
content: '[' counter( mw-Ref, persian ) ']';
}
[ rel~='mw:referencedBy' ] {
counter-reset: mw-ref-linkback -1;
}
/* Linkbacks from <references> to <ref>s */
span[ rel~='mw:referencedBy' ] a:before {
content: counters( mw-ref-linkback, '٫', persian );
}
/* @noflip */
.mw-cite-dir-ltr {
direction: ltr;
text-align: left;
}
/* @noflip */
.mw-cite-dir-rtl {
direction: rtl;
text-align: right;
}