Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2019, 02:32 AM   #1
fbrzvnrnd
Addict
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 345
Karma: 190694
Join Date: Feb 2009
Device: iLiad
disable "Books" Dark mode

I have an poetry EPUB3 ebook where some words are black on black background. Touching a word, the reader could read that, until he touch another word. Electronic literature.
Ok, in the last version of Apple Books there is a "dark" mode that override my CSS and shows all the text white on black background, so the interactive discovery poetry is lost.

Is there a way to disable or detect the dark mode to use correct css?
fbrzvnrnd is offline   Reply With Quote
Old 06-18-2019, 06:25 AM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,577
Karma: 14563833
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by fbrzvnrnd View Post
Is there a way to disable or detect the dark mode to use correct css?
adaptivegarage has found a pure CSS method.
Doitsu is offline   Reply With Quote
Advert
Old 06-18-2019, 08:09 AM   #3
fbrzvnrnd
Addict
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 345
Karma: 190694
Join Date: Feb 2009
Device: iLiad
Interesting... but it gives some problems to me, I don't know is I'm missing something. I wrote something like:
Code:
:root[__ibooks_internal_theme*="Night"] span.intuisco, span { background: -webkit-linear-gradient(white, white);
  -webkit-text-fill-color: white;
}
It works in dark mode BUT the CSS are applied to white mode too, and ADE crashes when opens the EPUB...
fbrzvnrnd is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] How to stop books "snapping" to new chapters when reading in "flow" mode? hawkins22 Calibre 6 07-12-2016 12:31 AM
Disable "Books on Device"? robin58 Devices 2 10-17-2012 11:36 AM
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware VirgoGirl Kobo Reader 4 04-06-2012 02:10 PM
How to Disable "Auto convert the following books before uploading to device?" Prompt Breezin123 Conversion 6 02-19-2011 02:22 PM
Nemoptic worked in "stealth mode" on e-paper / initially no e-books Alexander Turcic News 3 04-20-2007 11:23 AM


All times are GMT -4. The time now is 06:03 AM.


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