Jacky Zhao
2023-07-10 08f8e3b4a4879dd7c91c16fbce80c4f2bc5e357f
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;
      }