From b22520630def66687d460cc17893fbc44b66a69a Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 12 Nov 2020 11:09:23 +0530 Subject: [PATCH] toc: highlight underline on hover --- assets/css/post-single.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/css/post-single.css b/assets/css/post-single.css index f93e8d1a..6e888462 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -253,6 +253,10 @@ padding: 10px 20px; } +.toc a:hover { + box-shadow: 0 1px 0 var(--primary); +} + .toc li ul { margin-inline-start: var(--gap); }