Skip to content

Commit

Permalink
Add styles for rendering numbered lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Aug 21, 2024
1 parent 167ae53 commit 39a7b1c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,27 @@ body {

.sphinx-tabs-panel {
padding: 1em 1em 0 1em;
}

.rst-content section ol.arabic, .rst-content section ol.arabic > li {
list-style: none;
}

.rst-content section ol.arabic > li {
position: relative;
counter-increment: step-counter;
padding-left: 10px;
padding-bottom: 10px;
}

.rst-content section ol > li::before {
text-align: center;
content: counter(step-counter);
background-color: #55a5d9;
color: white;
padding: 2px 10px;
border-radius: 50%;
position: absolute;
display: block;
right: 100%;
}

0 comments on commit 39a7b1c

Please sign in to comment.