From ed5409d9e52c8e5d65cb0a827c93a5e8f2fcbeda Mon Sep 17 00:00:00 2001 From: Alve Larsson Date: Wed, 2 Aug 2023 00:28:38 +0200 Subject: [PATCH] tweak right side toc --- src/styles/custom.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/custom.css b/src/styles/custom.css index 9dfb7b8c8..a4be034ed 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -71,6 +71,7 @@ header, } .sidebar li a, +starlight-toc li a, .sidebar summary, .starlight__on-this-page li { transition: 0.07s ease; @@ -105,7 +106,13 @@ details[open] summary { background-color: #fff; } +starlight-toc li a:hover { + padding-left: .7rem; + background-color: #ffffff13; +} + .sidebar li a[aria-current="page"], +.starlight-toc li a[aria-current="page"], .starlight__on-this-page li { animation: menu 0.6s; }