Template:Hlist/styles.css
Template page
More actions
.loka-hlist {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
.loka-hlist li {
display: inline;
}
/* Middle dot, not a comma -- matches Wikipedia's own hlist convention.
Six-digit hex escape (rather than \00B7 followed by a space) so the
space after it survives as literal content instead of being consumed
as the escape's own whitespace terminator -- confirmed live that the
short form silently ate the trailing space, leaving "text ·text"
with no gap after the dot. */
.loka-hlist li:not(:last-child)::after {
content: " \0000B7 ";
}
.loka-hlist--stacked {
display: block;
}
.loka-hlist--stacked li {
display: block;
}
.loka-hlist--stacked li:not(:last-child)::after {
content: none;
}