Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2013, 08:05 AM   #1
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
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;
}
The latter two likely will not thwart you but the first one might.

anyways, found it curious enough to share
At_Libitum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:45 PM.


MobileRead.com is a privately owned, operated and funded community.