2024-04-21 23:04:16 +00:00
|
|
|
//
|
|
|
|
// Right side toc
|
|
|
|
//
|
|
|
|
.td-sidebar-toc {
|
2024-04-25 22:15:39 +00:00
|
|
|
@include link-decoration;
|
|
|
|
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
|
|
|
|
@supports (position: sticky) {
|
|
|
|
position: sticky;
|
|
|
|
top: 4rem;
|
|
|
|
height: calc(100vh - 4rem);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
order: 2;
|
|
|
|
padding-top: 0.75rem;
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
.td-page-meta a {
|
|
|
|
display: block;
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
}
|
2024-04-21 23:04:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.td-toc {
|
2024-04-25 22:15:39 +00:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
font-weight: $font-weight-light;
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
li li {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TableOfContents {
|
|
|
|
// Hugo's ToC is a mouthful, this can be used to style the top level h2 entries.
|
|
|
|
> ul > li > ul > li > a {
|
2024-04-21 23:04:16 +00:00
|
|
|
}
|
|
|
|
|
2024-04-25 22:15:39 +00:00
|
|
|
a {
|
|
|
|
color: $gray-600;
|
2024-04-21 23:04:16 +00:00
|
|
|
|
2024-04-25 22:15:39 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
color: initial;
|
|
|
|
}
|
2024-04-21 23:04:16 +00:00
|
|
|
}
|
2024-04-25 22:15:39 +00:00
|
|
|
}
|
2024-04-21 23:04:16 +00:00
|
|
|
|
2024-04-25 22:15:39 +00:00
|
|
|
ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2024-04-21 23:04:16 +00:00
|
|
|
}
|