mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 02:55:04 +00:00
Fix top-level reference numbering
This fixes a Firefox-only glitch where the CSS counter was messing with the native list numbering. Example: https://en.wikipedia.beta.wmflabs.org/wiki/Draft:Cut_the_Crap Change-Id: I6e6514e73bcf6485402b6a61aa5202ebb83a6479
This commit is contained in:
parent
96db7944eb
commit
0f2c56e0ac
|
@ -1,13 +1,3 @@
|
|||
.mw-extended-references {
|
||||
counter-reset: mw-ref-linkback;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.mw-extended-references > li:before {
|
||||
counter-increment: mw-ref-linkback;
|
||||
content: counters( mw-ref-linkback, '.' ) ' ';
|
||||
}
|
||||
|
||||
.mw-cite-backlink,
|
||||
.cite-accessibility-label {
|
||||
-moz-user-select: none;
|
||||
|
@ -35,6 +25,16 @@ ol.references {
|
|||
|
||||
ol.references > li {
|
||||
counter-increment: mw-ref-linkback;
|
||||
counter-reset: mw-extended-references;
|
||||
}
|
||||
|
||||
.mw-extended-references {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.mw-extended-references > li:before {
|
||||
counter-increment: mw-extended-references;
|
||||
content: counter( mw-ref-linkback, decimal ) '.' counter( mw-extended-references, decimal ) ' ';
|
||||
}
|
||||
|
||||
sup.reference {
|
||||
|
|
Loading…
Reference in a new issue