Template:Cslist/styles.css

From Vigyanwiki
< Template:Cslist
Revision as of 18:05, 15 December 2018 by m:template>RexxS (set padding-right for list elements)
/* make an inline list with comma separators */
ul.cslist {
	margin: 0;
    padding: 0;
    display: inline-block;
    list-style: none;
}
.cslist li {
    margin: 0;
    padding: 0 1em 0 0;
    display: inline-block;
}
.cslist li:after {
    content: ", ";
}
.cslist li:last-child:after {
    content: none;
}