This commit is contained in:
Joachim 2021-04-29 21:45:48 +02:00
parent 0a71fb094f
commit fa17386a6e

View file

@ -356,27 +356,27 @@ ol.ordered-list {
} }
ol.ordered-list li { ol.ordered-list li {
counter-increment: books counter-increment: books
} }
ol.ordered-list li::before { ol.ordered-list li::before {
content: counter(books); content: counter(books);
position: absolute; position: absolute;
left: -20px; left: -20px;
width: 20px; width: 20px;
height: 24px; height: 24px;
border: 1px solid #dbdbdb; border: 1px solid #dbdbdb;
border-right: 0; border-right: 0;
border-top-left-radius: 2px; border-top-left-radius: 2px;
border-top-right-radius: 2px; border-top-right-radius: 2px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: #888; color: #888;
font-size: 0.8em; font-size: 0.8em;
font-weight: bold; font-weight: bold;
} }