aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_recent.scss
blob: 88b576337cd3a4c081e5792285e9547483ea6053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
main {
  .toc {
    max-width: 260px;
    min-width: 240px;
  }
  .toc-item {
    padding: 10px 20px;
    color: var(--f1);
  }
  .toc-item a, .toc-item-child a {
    color: var(--f1);
    &:hover {
      cursor: pointer;
      color: var(--a2);
      text-decoration: underline;
    }
  }
  .toc-item a.active, .toc-item-child a.active {
    color: var(--a2);
  }
  .toc-item-child {
    padding: 0 30px 5px;
    color: var(--f1);
  }
}
.toc-sticky {
  border-radius: var(--br);
  border-top: 5px solid var(--a1);
  background-color: var(--c2);
  position: sticky;
  top: 10px;
  padding: 10px 0 20px;
  max-height: 100vh;
  overflow: auto;
}