Difference between revisions of "Template:Cslist/styles.css"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>RexxS
(smaller space)
imported>RexxS
(tweak space)
Line 8: Line 8:
 
.cslist li {
 
.cslist li {
 
     margin: 0;
 
     margin: 0;
     padding: 0 0.4em 0 0;
+
     padding: 0 0.3em 0 0;
 
     display: inline-block;
 
     display: inline-block;
 
}
 
}

Revision as of 13:36, 15 December 2018

/* 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 0.3em 0 0;
    display: inline-block;
}
.cslist li:after {
    content: ", ";
}
.cslist li:last-child:after {
    content: none;
}