From 0c69b4f3e4b9d51f1ed3e036d27398ac6f377f9a Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 17 Jan 2022 20:52:04 -0600 Subject: [PATCH] Update titlepage to new standards --- src/epub/css/se.css | 7 ++----- src/epub/text/titlepage.xhtml | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/epub/css/se.css b/src/epub/css/se.css index 1a6d732..bc25115 100644 --- a/src/epub/css/se.css +++ b/src/epub/css/se.css @@ -10,11 +10,8 @@ section[epub|type~="titlepage"] h1, section[epub|type~="titlepage"] p, section[epub|type~="colophon"] h2, section[epub|type~="imprint"] h2{ - /* Required for Kobo not to add an extra page to the title */ - font-size: 0; - - /* Required for Kindle */ - position: absolute; + font-size: 0; /* Required for Kobo not to add an extra page to the title */ + position: absolute; /* Required for Kindle */ left: -999em; } diff --git a/src/epub/text/titlepage.xhtml b/src/epub/text/titlepage.xhtml index ed5bba4..54028e6 100644 --- a/src/epub/text/titlepage.xhtml +++ b/src/epub/text/titlepage.xhtml @@ -7,7 +7,9 @@
- The titlepage for the Standard Ebooks edition of The Origin of Species, by Charles Darwin +

The Origin of Species

+

By Charles Darwin.

+