Skip to content

Commit 6827d48

Browse files
authoredFeb 21, 2025··
style: update nested ol (#22057)
<!--Delete sections as needed --> ## Description Update style for nested ordered lists to use numbers, then letters, then roman numerals. Example: https://deploy-preview-22057--docsdocker.netlify.app/contribute/components/lists/ https://docs.docker.com/contribute/components/lists/ ![image](https://github.com/user-attachments/assets/bdcaf793-e970-402a-8e8a-3c18d5554584) ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews - [ ] Editorial review Signed-off-by: Craig <craig.osterhout@docker.com>
1 parent 115be65 commit 6827d48

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎assets/css/lists.css

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.prose ol {
2+
list-style-type: decimal;
3+
}
4+
5+
.prose ol ol {
6+
list-style-type: lower-alpha;
7+
}
8+
9+
.prose ol ol ol {
10+
list-style-type: lower-roman;
11+
}
12+

‎assets/css/styles.css

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
@import "/assets/css/syntax-light";
1414
@import "/assets/css/syntax-dark";
1515
@import "/assets/css/icons";
16+
@import "/assets/css/lists";

0 commit comments

Comments
 (0)
Please sign in to comment.