dependabot[bot]
2024-08-15 a5f2f874f75dd53c83b2db883e6871cb84eccf09
quartz/components/styles/toc.scss
@@ -15,21 +15,32 @@
  }
  & .fold {
    margin-left: 0.5rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
  }
  &.collapsed .fold {
    transform: rotateZ(-90deg)
    transform: rotateZ(-90deg);
  }
}
#toc-content {
  list-style: none;
  overflow: hidden;
  max-height: none;
  transition: max-height 0.5s ease;
  transition:
    max-height 0.5s ease,
    visibility 0s linear 0s;
  position: relative;
  visibility: visible;
  &.collapsed {
    transition:
      max-height 0.5s ease,
      visibility 0s linear 0.5s;
    visibility: hidden;
  }
  &.collapsed > .overflow::after {
    opacity: 0;
@@ -42,7 +53,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;
      }
@@ -55,4 +68,3 @@
    }
  }
}