Skip to content

Commit

Permalink
add CSS for markdown TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
mathroc committed Jul 22, 2023
1 parent a54bd28 commit bff9630
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/_sass/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@import "blocks/home_banner";
@import "blocks/home_features";
@import "blocks/markdown";
@import "blocks/markdown_toc";
@import "blocks/get_involved_links";
@import "blocks/faqs";
@import "blocks/bylaws";
Expand Down
18 changes: 18 additions & 0 deletions source/_sass/blocks/markdown_toc.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.markdown.sidebar_toc {
ol {
list-style-type: none;
margin-top: 0;

li {
margin: 0;
}
}

& > ol {
padding-left: 15px;
}

p {
margin-bottom: 0;
}
}

0 comments on commit bff9630

Please sign in to comment.