Difference between revisions of "Template:Cslist/styles.css"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created as needed.) |
Shawndouglas (talk | contribs) m (Protected "Template:Cslist/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Latest revision as of 16:54, 10 March 2020
/* make an inline list with either comma or semicolon separators */ ul.cslist, ul.sslist { margin: 0;
padding: 0; display: inline-block; list-style: none;
} .cslist li, .sslist li {
margin: 0; padding: 0 0.25em 0 0; display: inline-block;
} .cslist li:after {
content: ", ";
} .sslist li:after {
content: "; ";
} .cslist li:last-child:after, .sslist li:last-child:after {
content: none;
}