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