aboutsummaryrefslogtreecommitdiffstats
path: root/src/scss/custom/_toc.scss
blob: 64c0fe04072c02dcca9788963fda7ae77d42cabd (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
/* table of contents */
.toc {
    font-size: 0.85rem;
}

.toctitle {
    display: block;
    text-align: center;
    font-size: 1rem;
    color: white;
    text-decoration: underline;
}

nav.toc {
    background-color: #0c0f0f;
    border: 1px solid $toc;
    margin: 1rem 0px;
}

div.toc {
    margin: 1rem;
}

a.headerlink {
    color: grey;
    padding-left: .5em;
    visibility: hidden;
}

h1:hover > a.headerlink, h2:hover > a.headerlink,
h3:hover > a.headerlink, h4:hover > a.headerlink,
h5:hover > a.headerlink, h6:hover > a.headerlink,
dt:hover > a.headerlink {
    text-decoration: none;
    visibility: visible;
}