Jacky Zhao
2024-01-01 b33f13ccaf4ec14a94ee0ee467dda04cf4981d00
quartz/components/styles/toc.scss
@@ -30,6 +30,7 @@
  overflow: hidden;
  max-height: none;
  transition: max-height 0.5s ease;
  position: relative;
  &.collapsed > .overflow::after {
    opacity: 0;
@@ -42,7 +43,9 @@
    & > li > a {
      color: var(--dark);
      opacity: 0.35;
      transition: 0.5s ease opacity, 0.3s ease color;
      transition:
        0.5s ease opacity,
        0.3s ease color;
      &.in-view {
        opacity: 0.75;
      }