From 76c092dcf20959bc52fcb13b28cee50cd4217e40 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 20 Jul 2023 04:59:48 +0000
Subject: [PATCH] add custom.scss

---
 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