MediaWiki:Common.css: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
hierarchical numbering -- test, then convert ul -> ol |
make it class-specific |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
ul { | tree.ul { | ||
counter-reset: listNum; | counter-reset: listNum; | ||
list-style-type: none; | list-style-type: none; | ||
} | } | ||
ul > li:before { | tree.ul > li:before { | ||
counter-increment: listNum; | counter-increment: listNum; | ||
content: counters(listNum, ".") "."; | content: counters(listNum, ".") "."; | ||
} | } | ||
