From e8c64d18db8c1e8f143cbc8b4268b88ab4fafb96 Mon Sep 17 00:00:00 2001 From: Ezequiel Bruni Date: Sun, 13 Sep 2020 00:14:46 -0500 Subject: [PATCH] Fixed list paragraph styles --- _type.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_type.scss b/_type.scss index 0c2fd8e..25fe055 100644 --- a/_type.scss +++ b/_type.scss @@ -131,6 +131,11 @@ list-style: circle; padding-left: 1.5em; + li { + p:last-child { + margin: 0 !important; + } + } } // More complex styling for ordered lists, so I can style the numbers however I like. Based on a snippet by Roger Johansson. - https://www.456bereastreet.com @@ -148,6 +153,10 @@ list-style:none; /* Disable the normal item numbering */ + p:last-child { + margin: 0 !important; + } + } ol > li:before { content:counter(li); /* Use the counter as content */ @@ -162,6 +171,7 @@ padding: .15em; background-color: $light-background; + font-family: $monospace-font; } ol ol li:last-child {margin-bottom:0;}