mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-16 11:29:55 +00:00
3736e6fa15
* This patch adds styles for fr, kn, nb as an experiment. Newer patches will add for other languages. * These styles are based on wikipedia rendering and other projects in these languages may need to add overrides in their Mediawiki:Common.css page. Bug: T156350 Change-Id: If0d78e0fd4174c0563cb4b98d8c5efe9a1428673
33 lines
842 B
CSS
33 lines
842 B
CSS
/* Kannada (These styles favor wikipedia usage. Other projects may need overrides if they care.) */
|
|
|
|
/* <ref>s with a group */
|
|
.mw-ref a[ data-mw-group ]:after {
|
|
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, kannada ) ']';
|
|
}
|
|
|
|
/* <ref>s without a group */
|
|
.mw-ref a:after {
|
|
content: '[' counter( mw-Ref, kannada ) ']';
|
|
}
|
|
|
|
[ rel='mw:referencedBy' ] {
|
|
counter-reset: mw-ref-linkback -1;
|
|
}
|
|
|
|
ol.mw-references {
|
|
counter-reset: mw-references list-item 0;
|
|
}
|
|
|
|
ol.mw-references > li {
|
|
counter-increment: mw-references;
|
|
}
|
|
|
|
/* Linkbacks from <references> to <ref>s */
|
|
span[ rel='mw:referencedBy' ] a:before {
|
|
content: counter( mw-references, kannada ) '.' counter( mw-ref-linkback, kannada );
|
|
/* knwiki:Common.css has a font-size:80% rule
|
|
* for sub & sup and this is the equivalent selector
|
|
* for that in Parsoid */
|
|
font-size: 80%;
|
|
}
|