Skip to content

Commit c386171

Browse files
Add styling for non-arabic list styles (#403)
Co-authored-by: Pradyun Gedam <[email protected]>
1 parent 8d3ebc9 commit c386171

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/kitchen-sink/lists.rst

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Enumerated Lists
2626

2727
4. Four
2828

29+
c. c
30+
31+
d. d
32+
2933
C. C
3034

3135
D. D
@@ -34,6 +38,10 @@ Enumerated Lists
3438

3539
iv. iv
3640

41+
III. III
42+
43+
IV. IV
44+
3745
#. List items may also be auto-enumerated.
3846

3947
Definition Lists

src/furo/assets/styles/content/_lists.sass

+12
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ ol
1919
margin-top: 0.5rem
2020
margin-bottom: 0.5rem
2121

22+
ol
23+
&.arabic
24+
list-style: decimal
25+
&.loweralpha
26+
list-style: lower-alpha
27+
&.upperalpha
28+
list-style: upper-alpha
29+
&.lowerroman
30+
list-style: lower-roman
31+
&.upperroman
32+
list-style: upper-roman
33+
2234
// Don't space lists out when they're "simple" or in a `.. toctree::`
2335
.simple,
2436
.toctree-wrapper

0 commit comments

Comments
 (0)