View Single Post
Old 08-31-2013, 01:30 PM   #55
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by franklekens View Post
Sorry for the late response, thanks for the heads up.
Is it something like this solution?
https://www.mobileread.com/forums/sho...&postcount=158

That looks great, I'll try it out. (The widow/orphan thing is another pet peeve of mine.)
Only what should I add to get a top margin of about one line of text in all books?
Yes, that's the correct link. I too like to add a bit of whitespace at the top of each page (I only read standard epubs), so I've added this to my kobo_extra.css:

On the Glo:
Code:
@page {margin-top: 5pt; margin-bottom: 0; margin-left: 0; margin-right: 0}
On the AuraHD:
Code:
@page {margin-top: 10pt; margin-bottom: 0; margin-left: 0; margin-right: 0}
You may need to experiment with the margin-top value until it's just right for you.

BTW, adding an @page command to kobo_extra.css has the extra benefit that if the internal css of any of your epubs already contains an @page with totally unsuitable margins then it is automatically removed before adding the custom @page you do like, during the calibre send-to-device. So even those people who like to have no top margin at all, in standard epubs, should benefit by adding an @page with margin-top set to zero.
jackie_w is offline   Reply With Quote