supressing extra pages after title image

This commit is contained in:
James Tomasino 2019-06-08 16:15:30 -04:00
parent 9fc6877eef
commit ca21f8b6c8
2 changed files with 16 additions and 1 deletions

View File

@ -139,6 +139,21 @@ h2 {
line-height: 1.2em; /*get squished otherwise on ADE */
}
tr, img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page :left {
margin: 15mm 20mm 15mm 10mm;
}
@page :right {
margin: 15mm 10mm 15mm 20mm;
}
/* Hyphen and pagination Fixer */
/* Note: Do not try on the Kindle, it does not recognize the hyphens property */

View File

@ -4,7 +4,7 @@ title:
text: Cosmic Voyage
- type: subtitle
text: Year One
rights: © 2019 Cosmic Voyage, CC BY-NC-ND 4.0
rights: © 2019 All rights reserved by individual authors
stylesheet: /var/cosmic/files/epub.css
cover-image: /var/cosmic/files/cover.jpg
...