From 094142dd031ed33e85691d8665092be555469001 Mon Sep 17 00:00:00 2001 From: David Grigg Date: Thu, 7 Sep 2023 12:27:07 +1000 Subject: [PATCH] Changes to CSS for tables and subheadings in chapter 11 --- src/epub/css/local.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/epub/css/local.css b/src/epub/css/local.css index f76f2d5..36c3e27 100644 --- a/src/epub/css/local.css +++ b/src/epub/css/local.css @@ -100,6 +100,38 @@ figure{ } /* end figures */ +#chapter-11 table{ + margin-bottom: 0.5em; + margin-left: auto; + margin-right: auto; + margin-top: 0.5em; +} + +#chapter-11 table td{ + padding-left: 1em; + padding-right: 1em; +} + +#chapter-11 table td:not(:first-child){ + text-align: center; +} + +table + p{ + text-indent: 0; +} + +div header p{ + font-style: italic; + margin-bottom: 0.5em; + margin-top: 0.5em; + text-align: center; + text-indent: 0; +} + +div header + p{ + text-indent: 0; +} + /* this is to italicise "diary" entries */ span > time{ font-style: italic;