From: Mark Otto Date: Fri, 29 May 2015 08:59:20 +0000 (-0700) Subject: style the markdown toc a bit to hide the first item (the contents heading) X-Git-Tag: v4.0.0-alpha~208 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=719afd48acec27ce9f1bd71155fa3ac1a1e073f1;p=thirdparty%2Fbootstrap.git style the markdown toc a bit to hide the first item (the contents heading) --- diff --git a/docs/assets/scss/_layout.scss b/docs/assets/scss/_layout.scss index c102595f02..0ec7f7e99b 100644 --- a/docs/assets/scss/_layout.scss +++ b/docs/assets/scss/_layout.scss @@ -78,3 +78,13 @@ } } } + + +// +// Markdown generated ToC +// + +// Hide the first child li because it's always going to be "Contents". +#markdown-toc > li:first-child { + display: none; +}