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 | .loka-hlist-sep { | ||
margin: 0 .3em; | |||
} | |||
/* Hides the separator dot (and its margins) 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 { | .loka-hlist li:first-child .loka-hlist-sep { | ||
display: none; | display: none; | ||
Revision as of 23:15, 22 August 2026
.loka-hlist {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
.loka-hlist li {
display: inline;
}
.loka-hlist-sep {
margin: 0 .3em;
}
/* Hides the separator dot (and its margins) 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;
}