View Single Post
Old 02-25-2013, 03:22 AM   #3
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by zephyrmays View Post
Is there a way define a CSS stylesheet for an epub viewed on iBooks 3.0 in night mode?
I don't think so; night mode is just like any other set of reader style overrides; as a rule, you pretty much have to assume that the reader is going to override certain styles when people specify those modes, and make sure that text doesn't suddenly become invisible with judicious use of !important.



Quote:
Originally Posted by zephyrmays View Post
I've tried all the permutations of the Night Vision Style Set Tags as defined in Appendix B found here http://idpf.org/epub/altss-tags/, but with no luck.
It might be worth filing a feature request bug over at bugreport.apple.com. It requires you to create a free developer account.


Quote:
Originally Posted by zephyrmays View Post
There are a few black backgrounds defined in the regular stylesheet that I need to set alternate colors for when the iDevice is in night mode.
You could always do something subtle like setting the background to #101010 or something so that it looks basically like black in normal mode, but looks like a dark grey in night mode.


Quote:
Originally Posted by zephyrmays View Post
Also, is there any developer reference for Apple's iBooks? I cannot find much documentation...
If you decide to distribute through the iBookstore, then yes. After you sign up for an iTunes Connect account (http://www.apple.com/itunes/content-.../book-faq.html), you should gain access to the iBookstore Asset Guide.

Otherwise... well, there are various copies floating around, all of which seem to be badly out of date. *sigh*
dgatwood is offline   Reply With Quote