e25a92fb7740f7da787095da76ba65c9bb8e859d
2 * Stylesheet for mediawiki.hlist module
3 * @author [[User:Edokter]]
5 /* Generate interpuncts */
16 .hlist
dd:last-child:after
,
17 .hlist
dt:last-child:after
,
18 .hlist li:last-child:after {
23 .hlist dd
.hlist-last-child:after
,
24 .hlist dt
.hlist-last-child:after
,
25 .hlist li.hlist-last-child:after {
29 /* Add parentheses around nested lists */
30 .hlist dd
dd:first-child:before
,
31 .hlist dd
dt:first-child:before
,
32 .hlist dd
li:first-child:before
,
33 .hlist dt
dd:first-child:before
,
34 .hlist dt
dt:first-child:before
,
35 .hlist dt
li:first-child:before
,
36 .hlist li
dd:first-child:before
,
37 .hlist li
dt:first-child:before
,
38 .hlist li li:first-child:before {
43 .hlist dd
dd:last-child:after
,
44 .hlist dd
dt:last-child:after
,
45 .hlist dd
li:last-child:after
,
46 .hlist dt
dd:last-child:after
,
47 .hlist dt
dt:last-child:after
,
48 .hlist dt
li:last-child:after
,
49 .hlist li
dd:last-child:after
,
50 .hlist li
dt:last-child:after
,
51 .hlist li li:last-child:after {
57 .hlist dd dd
.hlist-last-child:after
,
58 .hlist dd dt
.hlist-last-child:after
,
59 .hlist dd li
.hlist-last-child:after
,
60 .hlist dt dd
.hlist-last-child:after
,
61 .hlist dt dt
.hlist-last-child:after
,
62 .hlist dt li
.hlist-last-child:after
,
63 .hlist li dd
.hlist-last-child:after
,
64 .hlist li dt
.hlist-last-child:after
,
65 .hlist li li.hlist-last-child:after {
70 /* Put ordinals in front of ordered list items */
72 counter-reset: list-item
;
76 counter-increment: list-item
;
79 .hlist ol > li:before {
80 content: counter
( list-item
) ' ';
83 .hlist dd ol
> li:first-child:before
,
84 .hlist dt ol
> li:first-child:before
,
85 .hlist li ol > li:first-child:before {
86 content: '(' counter
( list-item
) ' ';
89 /* Support hlist styles inside *boxes */
96 .errorbox
.hlist
li:after
,
97 .successbox
.hlist
li:after
,
98 .warningbox .hlist li:after {