This commit is contained in:
Wolfgang Huß 2021-02-22 15:39:32 +01:00
parent 996853321f
commit c41414700d

View File

@ -329,25 +329,16 @@ li > p {
}
ul {
// padding-left: $space-small;
padding-left: $space-x-large;
// list-style-position: outside;
// list-style-type: circle;
li {
display: block;
list-style-position: outside;
text-indent: -$space-large;
p:first-child:before {
// list-style-position: inside;
content: '•';
padding: $space-none $space-x-small;
margin-right: $space-x-small;
// text-indent: -1em;
// padding-left: 1em;
// padding: 10px 0 10px 20px;
// text-indent: -1em;
}
p:not(:first-child) {
@ -355,17 +346,15 @@ li > p {
}
}
}
ol {
// https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
counter-reset: item;
// padding-left: $space-small;
padding-left: $space-x-large;
padding-left: $space-x-large + 4px;
li {
display: block;
list-style-position: outside;
text-indent: -$space-large;
text-indent: -$space-large - 4px;
p:first-child:before {
content: counters(item, '.') '.';