Skip to content

Instantly share code, notes, and snippets.

@jdlrobson
Created July 18, 2017 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdlrobson/0f08b013e4c252456e188b1da20851bf to your computer and use it in GitHub Desktop.
Save jdlrobson/0f08b013e4c252456e188b1da20851bf to your computer and use it in GitHub Desktop.
toc.less
.toc {
page-break-before: always;
page-break-after: always;
font-family: serif;
}
.toc ul {
list-style: none;
}
.toc > ul > li {
margin-bottom: 20px;
font-weight: bold;
}
.toc a {
border: none;
font-weight: normal;
}
.toc li.toclevel-1 > a{
font-weight: bold;
font-size: 16px;
}
.tocnumber {
margin-right: 30px;
min-width: 30px;
text-align: right;
display: inline-block;
}
.toc ul ul li{
padding-left: 30px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment