Correct empty lines

This commit is contained in:
Wolfgang Huß 2021-02-18 16:24:55 +01:00
parent 80a3d84031
commit 24e823d262

View File

@ -330,8 +330,10 @@ li > p {
ul {
padding-left: $space-small;
li {
display: block;
p:first-child:before {
content: '';
background-image: $background-image-logo;
@ -341,22 +343,27 @@ li > p {
padding: $space-none $space-x-small;
margin-right: $space-x-small;
}
p:not(:first-child) {
padding-left: $space-base;
}
}
}
ol {
// https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
counter-reset: item;
padding-left: $space-small;
li {
display: block;
p:first-child:before {
content: counters(item, '.') '.';
counter-increment: item;
margin-right: $space-x-small;
}
p:not(:first-child) {
padding-left: $space-base;
}