From 8115160fa0d3292179a89c1e4e2c6cf9262945d1 Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Thu, 6 Mar 2025 09:53:58 +0530 Subject: List alignment fixes and input dark mode support Fixes margin and alignment issues in ul, ol and checkbox lists including when they are nested within each other. input elements in dark mode are forced to be in browser's dark color scheme. --- assets/css/vars.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'assets/css/vars.css') diff --git a/assets/css/vars.css b/assets/css/vars.css index b28df63..8a010ee 100644 --- a/assets/css/vars.css +++ b/assets/css/vars.css @@ -33,10 +33,13 @@ --p-line-height: 1.5em; --caption-font-size: .8em; - /* List indentation */ - --li-indent: 1.5rem; + /* Lists */ + --li-indent: 2rem; --ul-margin-top: 1rem; --ul-margin-bottom: 1rem; + --li-checkbox-size: 0.8em; + + /* TOC */ --toc-margin-top: 2rem; --toc-margin-bottom: 3rem; -- cgit v1.2.3