vanilla-hugo/assets/scss/toc.scss

52 lines
975 B
SCSS
Raw Permalink Normal View History

@import "variables.scss";
@import "mixins.scss";
@import "margin.scss";
.table-of-contents {
@include margin-content;
@include margin-content-left;
display: flex;
flex-direction: column;
align-items: flex-end;
margin-bottom: 1rem;
2023-01-01 14:32:21 -08:00
text-align: left;
em {
font-style: normal;
font-weight: bold;
font-size: 1.2em;
display: block;
margin-bottom: 0.5rem;
}
#TableOfContents > ul {
padding-left: 0;
}
nav {
margin: 0px;
}
ul {
list-style: none;
padding-left: 2rem;
margin: 0px;
}
a {
padding: 0;
2023-01-01 14:32:21 -08:00
white-space: normal;
margin-left: 0.5rem;
text-indent: -0.5rem;
}
div.wrapper {
@include bordered-block;
padding: 1rem;
@include var(background-color, code-color);
border-color: $toc-border-color;
box-sizing: border-box;
max-width: 100%;
}
}