View Single Post
Old 03-17-2025, 05:32 AM   #12
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,079
Karma: 105211945
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by paperback View Post
The reason for setting line-height in the stylesheet is that I'm using an old Kobo reader which doesn't allow you to vary the line-height.

Also I prefer different line-heights for blockquotes, paragraphs, footnotes, heaadings etc.
No, don't use line-height except for real websites, and even there there are minefields.

Use font sizes, margins and padding. The font face and font size will set a default relative line-spacing.

Headings: biggest font-size, different face (often bold)
Quotes: Slightly bigger font and/or different face
body paragraphs: 1em = 12pt
footnotes: slightly smaller, usually a sans-serif face

EDIT:
A paragraph after chapter start, heading or dinkus will be additional stlyes.
A verse / lyric / poem / hymn etc (maybe a quote) will use three or five paragraph styles and each line is a paragraph:

First paragraph at entire start (optional for extra space)
First paragraph at start of a verse
Body of verse
Last paragraph of a verse
Last paragraph at entire end (optional, for extra space)

Last edited by Quoth; 03-17-2025 at 05:37 AM.
Quoth is offline   Reply With Quote