Left-align OL numbers
This commit is contained in:
@@ -54,8 +54,31 @@ ul {
|
||||
}
|
||||
|
||||
ol {
|
||||
margin-left: 3ch;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
counter-reset: item;
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
gap: 1ch;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
display: contents;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
li::before {
|
||||
content: counter(item) '.';
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
ol {
|
||||
gap: 0 1ch;
|
||||
grid-column: 2;
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
||||
Reference in New Issue
Block a user