2 * Stylesheet for mediawiki.hlist module
3 * @author [[User:Edokter]]
6 /* stylelint-disable selector-class-pattern */
8 /* Generate interpuncts */
11 content: '@{msg-colon-separator}';
17 /* @todo FIXME: Hard coded " .". Is there a message for this? Should there be? */
30 // Add parentheses around nested lists
34 &:first-child::before {
35 content: '@{msg-parentheses-start}';
40 content: '@{msg-parentheses-end}';
45 ol > li:first-child::before {
46 content: '@{msg-parentheses-start}' counter( list-item ) ' ';
50 // Put ordinals in front of ordered list items
52 counter-reset: list-item;
55 counter-increment: list-item;
58 content: counter( list-item ) ' ';