![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
|
iBook css and Calibre
Not sure if this is the right place so please feel free to move if needed
I was rummaging around in the internals of iBook, trying to extract the fixed-layout view (book background/frame) when I found that iBook has css hacks included for things done by Calibre notably I encountered this in the basic style sheet Code:
.calibre > div, .calibre1 > div { position: static !important; } /* centering hack to support Calibre-generated vertical centered documents */ :root:not([__ibooks_has_multiple_pages]) *[__ibooks_centering_hack^="horizontal-"] { min-width: {{.pageWidth}}px; } :root:not([__ibooks_has_multiple_pages]) *[__ibooks_centering_hack^="vertical-"] { min-height: {{.pageHeight}}px; } anyways, found it curious enough to share ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting iBook to PDF in Calibre | crashed | Conversion | 2 | 05-16-2013 06:57 PM |
How to download iBook's JavaScript "ibook.js & fixedlayout sample" | Raja1205 | ePub | 1 | 09-03-2012 11:20 AM |
calibre y css | titanlov | Calibre | 1 | 12-26-2011 11:00 PM |
Transfer from iBook to Calibre | Allpoints | Devices | 1 | 08-29-2011 06:43 PM |