From 5d2599ea06de8d157063e7038c9635bafebb176a Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 7 Oct 2012 09:26:22 -0700 Subject: [PATCH] start to style header material --- src/book.css | 25 +++++++++++++++++-------- src/title.html | 2 -- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/book.css b/src/book.css index 9446236..fdca415 100644 --- a/src/book.css +++ b/src/book.css @@ -22,6 +22,17 @@ h1, h2, h3, h4, h5, h6 { margin: 24px 0 12px 0; font-weight: normal; } +div#title { + text-align: center; +} +div#title h1 { + font-size: 72px; + margin-top: 4em; +} +div#title h4 { + font-size: 24px; + margin-top: 4em; +} h2 { font-size: 24px; } @@ -33,6 +44,12 @@ hr { } div.chapter { page-break-inside: avoid; + width: 690px; + min-width: 690px; + max-width: 690px; + margin-left: auto; + margin-right: auto; + margin-bottom: 32px; } div#title { page-break-after: always; @@ -43,14 +60,6 @@ div#contents { div#introduction { page-break-after: always; } -table { - width: 690px; - min-width: 690px; - max-width: 690px; - margin-left: auto; - margin-right: auto; - margin-bottom: 32px; -} table td { border: 0; outline: 0; diff --git a/src/title.html b/src/title.html index b4d50de..d3b4dd2 100644 --- a/src/title.html +++ b/src/title.html @@ -2,6 +2,4 @@

Go by Example

Mark McGranaghan

- -

Version eb9cf61d