View Single Post
Old 01-24-2020, 01:46 PM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,856
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by hobnail View Post
Speaking of indents, the guy who did the ebooks on the now defunct University Adelaide ebook page had a clever hack for automating it with CSS:

Code:
p {
    text-indent: 0;
}

p + p {
    text-indent: 1.5em;
}
It's a bit confusing at first because that first rule would make me think that paragraphs don't get indented, but that rule matches all paragraphs that aren't after another paragraph.

But I'm not sure it's a viable setup; it doesn't indent any paragraph that follows a div, blockquote, figure, img, etc. which looks odd to me. I prefer to do the more usual thing, set indent on all paragraphs to 1.5em, then have stuff like

Code:
h2 + p, h3 + p {
    text-indent: 0;
}
My personal preference is that the first paragraph after a scene break is also not indented. And that gets a bit messy since some scene breaks use a graphic while others use almost anything from a simple blank line to a header.

But as pdurrant said, "be consistent". To me, that is the most important rule.

Last edited by DNSB; 01-24-2020 at 01:48 PM.
DNSB is offline   Reply With Quote