blob: eceb614dcfdb715876ed8678a3d96fbe9c378e91 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{{ if .Site.Params.primaryColor}}
$primary: {{ .Site.Params.primaryColor }};
{{end}}
/* TOC */
.post-toc li {
list-style-type: none;
padding: 0.1em;
}
.toc {
overflow-y: auto;
}
.toc > .toc-list {
overflow: hidden;
position: relative;
li {
list-style: none;
}
}
.toc-list {
margin: 0;
padding-left: 1rem
}
a.toc-link {
color: currentColor;
}
.is-collapsible {
overflow: hidden;
transition: all 300ms ease-in-out
}
.is-collapsed {
max-height: 0
}
.is-position-fixed {
position: fixed !important;
top: 3rem
}
.is-active-link {
font-weight: 700
}
{{ if .Site.Params.primaryColor}}
a.is-active-link {
color: $primary;
}
{{end}}
.toc-link::before {
background-color: #EEE;
content: ' ';
display: inline-block;
height: inherit;
left: 0;
margin-top: -1px;
position: absolute;
width: 2px
}
|