From f743d6e1e13df3daabef197dd1bf4b57092b7ea7 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Mon, 1 Oct 2012 18:54:54 -0700 Subject: [PATCH] ok now just need to output chapters --- style/book.css | 6 +++--- tool/src/build-html-inner.go | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/style/book.css b/style/book.css index 17d75d1..7c54991 100644 --- a/style/book.css +++ b/style/book.css @@ -21,9 +21,6 @@ p { h1, h2, h3, h4, h5, h6 { margin: 30px 0 15px 0; } -h2 { - page-break-before: always; -} hr { border: 0 none; border-top: 1px solid #e5e5ee; @@ -33,6 +30,9 @@ hr { #container { position: relative; } +div.chapter { + page-break-inside: avoid; +} table td { border: 0; outline: 0; diff --git a/tool/src/build-html-inner.go b/tool/src/build-html-inner.go index 3e0c666..f7425ed 100644 --- a/tool/src/build-html-inner.go +++ b/tool/src/build-html-inner.go @@ -94,7 +94,6 @@ func main() {
-
`)