Template:Hlist/styles.css: Difference between revisions
Template page
More actions
m Create Template:Hlist/styles.css |
m Create Template:Hlist/styles.css |
||
| Line 10: | Line 10: | ||
} | } | ||
/* | /* Hides the separator dot on whichever item ends up first (the dot | ||
itself lives in the template's own HTML output, not here -- see the | |||
comment in _gen_hlist.py for why). */ | |||
.loka-hlist li:first-child .loka-hlist-sep { | |||
display: none; | |||
.loka-hlist li: | |||
} | } | ||
| Line 28: | Line 25: | ||
} | } | ||
.loka-hlist--stacked | .loka-hlist--stacked .loka-hlist-sep { | ||
display: none; | |||
} | } | ||
Revision as of 22:55, 22 August 2026
.loka-hlist {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
.loka-hlist li {
display: inline;
}
/* Hides the separator dot on whichever item ends up first (the dot
itself lives in the template's own HTML output, not here -- see the
comment in _gen_hlist.py for why). */
.loka-hlist li:first-child .loka-hlist-sep {
display: none;
}
.loka-hlist--stacked {
display: block;
}
.loka-hlist--stacked li {
display: block;
}
.loka-hlist--stacked .loka-hlist-sep {
display: none;
}