Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(attribute and tag were reversed) |
(try with ul->ol) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | ol { | |
counter-reset: listNum; | counter-reset: listNum; | ||
list-style-type: none; | list-style-type: none; | ||
} | } | ||
− | + | ol > li:before { | |
counter-increment: listNum; | counter-increment: listNum; | ||
content: counters(listNum, ".") "."; | content: counters(listNum, ".") "."; | ||
} | } |
Revision as of 17:01, 15 April 2014
/* CSS placed here will be applied to all skins */
ol {
counter-reset: listNum;
list-style-type: none;
}
ol > li:before {
counter-increment: listNum;
content: counters(listNum, ".") ".";
}