]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
style the markdown toc a bit to hide the first item (the contents heading)
authorMark Otto <markdotto@gmail.com>
Fri, 29 May 2015 08:59:20 +0000 (01:59 -0700)
committerMark Otto <markdotto@gmail.com>
Fri, 29 May 2015 08:59:20 +0000 (01:59 -0700)
docs/assets/scss/_layout.scss

index c102595f02d96b41c64d4388e5dbd1173167ecd7..0ec7f7e99b0544cb1bce7a275a2821a97536b9a3 100644 (file)
     }
   }
 }
+
+
+//
+// Markdown generated ToC
+//
+
+// Hide the first child li because it's always going to be "Contents".
+#markdown-toc > li:first-child {
+  display: none;
+}