From 08ba4f544d586f4b1698b14679a73713f1dd2103 Mon Sep 17 00:00:00 2001 From: Angelo Fallaria Date: Wed, 7 Feb 2024 16:57:04 +0800 Subject: [PATCH] feat: style lists properly (#14) * feat: style lists properly * fix: display numbers and bullet points for `ul` `li` --- css/styles.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/css/styles.css b/css/styles.css index 7cb0857..28eb953 100644 --- a/css/styles.css +++ b/css/styles.css @@ -74,6 +74,15 @@ body.dark img { filter: brightness(0.9) contrast(1.1); } +header { + & li { + list-style-type: none; + } + & ul { + padding: 0; + } +} + ul { padding: 0; } @@ -147,6 +156,18 @@ pre code { border-radius: 50%; } +ol { + padding-left: 1.5em; +} + +ul { + padding-left: 0.8em; +} + +li p { + display: inline; +} + .dark-mode-toggle { border: none; background-color: transparent;