From 08f8e3b4a4879dd7c91c16fbce80c4f2bc5e357f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 10 Jul 2023 02:32:24 +0000
Subject: [PATCH] docs + various polish
---
quartz/components/styles/toc.scss | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 1f1a27b..9c0a4b2 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -29,7 +29,11 @@
list-style: none;
overflow: hidden;
max-height: none;
- transition: max-height 0.3s ease;
+ transition: max-height 0.5s ease;
+
+ &.collapsed > .overflow::after {
+ opacity: 0;
+ }
& ul {
list-style: none;
@@ -38,7 +42,7 @@
& > li > a {
color: var(--dark);
opacity: 0.35;
- transition: 0.5s ease opacity;
+ transition: 0.5s ease opacity, 0.3s ease color;
&.in-view {
opacity: 0.75;
}
--
Gitblit v1.10.0