Permalink
Browse files

pdf to page break

  • Loading branch information...
1 parent 0811816 commit 57a7ea8e691b010e6be7e2cca2f1232e3c7e8cfa @alterebro alterebro committed Jul 19, 2016
Showing with 9 additions and 9 deletions.
  1. +8 −6 includes/toc.html
  2. +1 −3 stylesheets/pdf/_print.scss
View
@@ -1,6 +1,8 @@
-<nav class="toc" data-type="toc">
- <h1>Table of Contents</h1>
- <ul>
- {% include toc_item.html children=toc.children %}
- </ul>
-</nav>
+<section data-type="toc">
+ <nav>
+ <h1>Table of Contents</h1>
+ <ul>
+ {% include toc_item.html children=toc.children %}
+ </ul>
+ </nav>
+</section>
@@ -385,7 +385,7 @@ figure {
// ----------------------------------
// - TOC
-.toc {
+section[data-type="toc"] nav {
ul {
margin: 0;
padding: 0;
@@ -460,8 +460,6 @@ figure {
}
}
}
-
-
}
// ----------------------------------

0 comments on commit 57a7ea8

Please sign in to comment.