From 0f4a430326572963541cee62401d134e79bb47a7 Mon Sep 17 00:00:00 2001 From: Crimson Tome <64846840+CrimsonTome@users.noreply.github.com> Date: Sat, 16 Oct 2021 03:37:08 +0100 Subject: [PATCH] list styling --- css/index.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css/index.css b/css/index.css index 0001130..706b75c 100644 --- a/css/index.css +++ b/css/index.css @@ -45,8 +45,10 @@ a[href]:visited { color: #809fff; } -ol { - color: #d5cece; +li::before { + content: counter(li); color: #d5cece; + display: inline-block; width: 1em; + margin-left: -1em } main { padding: 1rem;