blog-static/themes/vanilla/assets/scss/toc.scss

51 lines
916 B
SCSS
Raw Normal View History

2020-07-15 13:13:47 -07:00
@import "variables.scss";
@import "mixins.scss";
2021-01-13 16:34:30 -08:00
@import "margin.scss";
2020-07-15 13:13:47 -07:00
$toc-color: $code-color;
$toc-border-color: $code-border-color;
.table-of-contents {
@include margin-content;
@include margin-content-left;
display: flex;
flex-direction: column;
2020-08-29 00:08:16 -07:00
align-items: flex-end;
2020-07-15 13:13:47 -07:00
margin-bottom: 1rem;
em {
font-style: normal;
font-weight: bold;
font-size: 1.2em;
display: block;
2020-07-15 13:56:03 -07:00
margin-bottom: 0.5rem;
2020-07-15 13:13:47 -07:00
}
#TableOfContents > ul {
padding-left: 0;
}
nav {
margin: 0px;
}
ul {
list-style: none;
padding-left: 2rem;
margin: 0px;
}
a {
padding: 0;
}
div.wrapper {
@include bordered-block;
padding: 1rem;
background-color: $toc-color;
border-color: $toc-border-color;
box-sizing: border-box;
max-width: 100%;
}
}