Skip to content

Commit bff9630

Browse files
committed
add CSS for markdown TOC
1 parent a54bd28 commit bff9630

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

source/_sass/all.scss

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
@import "blocks/home_banner";
2222
@import "blocks/home_features";
2323
@import "blocks/markdown";
24+
@import "blocks/markdown_toc";
2425
@import "blocks/get_involved_links";
2526
@import "blocks/faqs";
2627
@import "blocks/bylaws";

source/_sass/blocks/markdown_toc.scss

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.markdown.sidebar_toc {
2+
ol {
3+
list-style-type: none;
4+
margin-top: 0;
5+
6+
li {
7+
margin: 0;
8+
}
9+
}
10+
11+
& > ol {
12+
padding-left: 15px;
13+
}
14+
15+
p {
16+
margin-bottom: 0;
17+
}
18+
}

0 commit comments

Comments
 (0)