From 3e4e698c371c94c831fa230ec86558f940987ab1 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 25 Sep 2018 12:52:30 +0200 Subject: content update --- _includes/site.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to '_includes/site.css') diff --git a/_includes/site.css b/_includes/site.css index b2a65a4..ea799ee 100644 --- a/_includes/site.css +++ b/_includes/site.css @@ -162,6 +162,27 @@ details .highlighter-rouge { color: #000; } +ol { + list-style: none; + counter-reset: li; +} + +ol li::before { + content: counter(li); + color: #ccc; + font-weight: 500; + display: inline-block; + width: 1em; + margin-left: -1.5em; + margin-right: 0.9em; + text-align: right; + direction: rtl +} + +ol li { + counter-increment: li +} + /* commenting */ #hcb_form_name, #hcb_form_content { -- cgit v1.2.3