Template:Cslist/styles.css: Difference between revisions
From Vigyanwiki
m (Protected "Template:Cslist/styles.css": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
(Adding protection template) |
||
Line 1: | Line 1: | ||
/* {{pp-template}} */ | |||
/* make an inline list with either comma or semicolon separators */ | /* make an inline list with either comma or semicolon separators */ | ||
ul.cslist, ul.sslist { | ul.cslist, ul.sslist { |
Revision as of 09:37, 3 May 2020
/* {{pp-template}} */
/* 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;
}