Quote:
Originally Posted by DNSB
Interesting. You must be seeing different Vellum books from what I see. As I mentioned, I put my version of body, p and .subsq. Though last time I looked, the original CSS did not indent every paragraph. When I look at the text files, the first paragraph of the text has <p class="first first-in-chapter first-full-width">, sadly when I look at the CSS, there is no first, first-in-chapter for first-full-width in the CSS so removing undefined classes changes that first paragraph's p tag to <p> which means the text-indent: 0; is going to apply. The subsequent paragraphs getting indented by 1.5em.
The chapter header cleans up when I remove the embedded font, yet another automated procedure.
I actually went back and checked 23 Vellum created ebooks. Neither the 2 variants of the Vellum stylesheets caused all the paragraphs to indent and have extra spacing.
Perhaps you could post a sample of the CSS that is giving you every paragraph indented and with extra space between paragraphs?
All things considered, I will simply continue with my quick and dirty automate list that does 95% of the work for me and keeps my wife happy. Happy wife, happy life is rather true.
|
This is the CSS code I change or delete.
Code:
/*
* The Standoff
* Stylesheet generated by Vellum
*/
@font-face {
font-family: Quicksand;
font-weight: 400;
font-style: normal;
src: url("../fonts/00001.ttf");
}
p.subsq {
margin-top: 0.7em;
orphans: 2;
}
p, li {
hyphens: auto;
adobe-hyphenate: auto;
-webkit-hyphens: auto;
-webkit-hyphenate-limit-lines: 2;
-webkit-hyphenate-limit-after: 4;
-webkit-hyphenate-limit-before: 4;
}
body {
font-family: Palatino, serif;
font-weight: 400;
font-style: normal;
}
span.smallcaps {
font-variant-numeric: normal;
font-variant: small-caps;
font-variant-alternates: normal;
font-variant-position: normal;
font-variant-east-asian: normal;
letter-spacing: 0.04em;
font-variant-ligatures: none;
}
.heading {
margin-bottom: 2em;
}
p.alignment-block-content-left {
text-align: left;
}
@font-face, p (with the hyphen code), body, and heading all get deleted. p.subsq gets changed to
text-indent: 1.2em;. The letter-spacing in the smallcaps code goes. And any instance of
text-align: left; also goes.
I also remove unused CSS. I add in my body and my h1 code. I remove unused divs and spans. That's all I need to do in most cases.