add class for comma-separated list

This commit is contained in:
Felix Hamann 2018-07-08 21:28:03 +02:00
parent 4fe479f9f3
commit 9c6a4f86b9

View File

@ -115,10 +115,6 @@ ul {
list-style-type: none;
}
.list--inline > li {
display: inline-block;
}
h1, h2, h3, h4, h5 {
font-weight: 600;
}
@ -422,6 +418,22 @@ input[type="button"].btn-info:hover,
line-height: 25px;
}
/* LIST MODIFIERS */
.list--inline > li {
display: inline-block;
}
.list--comma-separated > li {
&::after {
content: ', ';
}
&:last-of-type::after {
content: none;
}
}
/* DEFINITION LIST */
.deflist {
display: grid;