blob: cc9a6d6ddffbd4633d2e019c626eecaf1e99174d (
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
|
// stylelint-disable selector-max-type, selector-max-compound-selectors
.bd-toc-wrap {
@include media-breakpoint-up(lg) {
@supports (position: sticky) {
position: sticky;
top: 5rem;
right: 0;
z-index: 2;
height: subtract(100vh, 7rem);
overflow-y: auto;
}
}
}
.bd-toc nav {
@include font-size(.875rem);
ul {
padding-left: 0;
list-style: none;
ul {
padding-left: 1rem;
margin-top: .25rem;
}
}
li {
margin-bottom: .25rem;
}
a {
color: inherit;
}
a:not(:hover) {
text-decoration: none;
}
a code {
font: inherit;
}
}
|