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:
Adam Wight 2019-12-03 11:09:28 +01:00 committed by Thiemo Kreuz
parent 96db7944eb
commit 0f2c56e0ac

View file

@ -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 {