mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
45 lines
634 B
SCSS
45 lines
634 B
SCSS
// 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;
|
|
}
|
|
}
|