From 3bb3cf50858d9cf0865407c035d25bd7aacb0dfc Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 22 Jun 2024 00:10:02 +0530 Subject: [PATCH] improve Toc --- assets/css/common/post-single.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 9f9f479f..486ad36e 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -266,7 +266,8 @@ .toc details summary { cursor: zoom-in; - margin-inline-start: 20px; + margin-inline-start: 10px; + user-select: none; } .toc details[open] summary { @@ -279,8 +280,9 @@ } .toc .inner { - margin: 0 20px; - padding: 10px 20px; + margin: 5px 20px 0; + padding: 0 10px; + opacity: 0.9; } .toc li ul {