From 4d33cc4f46e026c98809bd8a781092b1c2adb72d Mon Sep 17 00:00:00 2001 From: Jason Gao Date: Tue, 19 Dec 2023 17:35:15 +0800 Subject: [PATCH] Use nested list styles --- magicbook/stylesheets/components/typography.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/magicbook/stylesheets/components/typography.scss b/magicbook/stylesheets/components/typography.scss index 760b1cb1..a1badfa5 100644 --- a/magicbook/stylesheets/components/typography.scss +++ b/magicbook/stylesheets/components/typography.scss @@ -98,6 +98,22 @@ ul { } } +ol > li > ol { + list-style-type: lower-alpha; + + > li > ol { + list-style-type: lower-roman; + } +} + +ul > li > ul { + list-style-type: circle; + + > li > ul { + list-style-type: square; + } +} + figure { margin-top: 12pt; margin-bottom: 12pt;