1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-25 02:46:10 +01:00
site/_src/_assets/styles/bigchain/_toc.scss
Matthias Kretschmann 2705fa90e3 updated branding (#99)
- new typeface: Europa, loaded from Typekit
- new colors, reduced gray tones
- new hero image
- new gradient overlay
- new buttons
- bigger default font sizes
- ditch caps for action items
2017-04-10 17:14:35 +02:00

39 lines
686 B
SCSS

.toc {
&,
ol { counter-reset: item;}
&,
li { padding-left: 0; }
&:before {
@extend .h1;
content: "Table Of Contents";
display: block;
border-bottom: 1px solid $brand-main-blue-light;
padding-bottom: $spacer;
margin-bottom: ($spacer * 2);
text-align: center;
}
li,
ol { margin: 0; }
li {
display: block;
// custom numbers
&:before {
content: counters(item, ".") " ";
counter-increment: item;
margin-right: $spacer;
color: $brand-main-gray;
}
}
}
// output by Kramdown
#markdown-toc {
@extend .toc;
}