From 1f2229d2b252927a68442a69145b97b0037e4c1f Mon Sep 17 00:00:00 2001 From: David Grigg Date: Tue, 19 Sep 2023 13:49:54 +1000 Subject: [PATCH] Changes to local.css after build and check --- src/epub/css/local.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/epub/css/local.css b/src/epub/css/local.css index 4a990c7..6f5eab6 100644 --- a/src/epub/css/local.css +++ b/src/epub/css/local.css @@ -1,5 +1,10 @@ @charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; +@namespace xml "http://www.w3.org/XML/1998/namespace"; + +blockquote[xml|lang]{ + font-style: italic; +} footer{ margin-top: 1em; @@ -51,8 +56,6 @@ section[epub|type~="dedication"] > *{ /* figures */ figure{ break-inside: avoid; - margin: 1em 40px; - text-align: center; } figure img{ @@ -61,16 +64,16 @@ figure img{ max-width: 100%; } -figure.small-image img{ - max-width: 50%; -} - figcaption{ font-size: .75em; font-style: italic; margin: 1em; } +figcaption p + p{ + text-indent: 0; +} + figure.full-page{ break-after: page; break-before: page;