Skip to content

Commit

Permalink
Add styling for non-arabic list styles (#403)
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <[email protected]>
  • Loading branch information
yeraydiazdiaz and pradyunsg authored Mar 27, 2022
1 parent 8d3ebc9 commit c386171
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/kitchen-sink/lists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Enumerated Lists

4. Four

c. c

d. d

C. C

D. D
Expand All @@ -34,6 +38,10 @@ Enumerated Lists

iv. iv

III. III

IV. IV

#. List items may also be auto-enumerated.

Definition Lists
Expand Down
12 changes: 12 additions & 0 deletions src/furo/assets/styles/content/_lists.sass
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ ol
margin-top: 0.5rem
margin-bottom: 0.5rem

ol
&.arabic
list-style: decimal
&.loweralpha
list-style: lower-alpha
&.upperalpha
list-style: upper-alpha
&.lowerroman
list-style: lower-roman
&.upperroman
list-style: upper-roman

// Don't space lists out when they're "simple" or in a `.. toctree::`
.simple,
.toctree-wrapper
Expand Down

0 comments on commit c386171

Please sign in to comment.