06-16-2020, 07:12 PM | #1 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
CSS - query colour mode on Kindle and iBooks?
Blowed if I can find out how to do this. I am a writer, not a coder, but not a dunce at code, either.
I want to have different colours for elements (headings, text, etc.) depending on which colour mode the user has selected - on both Kindle and iBooks. Is it possible to use a media query (or whatever) to have different CSS styles loaded according to the current colour mode? On both Kindle and iBooks? You would think there is a standard CSS for this. But if there is, I cannot find it. All those that help will go on my Christmas card list. Cheers. |
06-16-2020, 07:31 PM | #2 | |
Grand Sorcerer
Posts: 6,698
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
On Kindle there is no way to do what you want, but you should not need it anyway. Books properly formatted for Kindle will support Enhanced Typesetting and one of that features of that is:
Quote:
|
|
Advert | |
|
06-17-2020, 02:31 AM | #3 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Indeed. I just wanted control, is all.
But do you know of a way to do this for iBooks, which does not have the same functionality. Thanks for your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobigen Why are css media query examples in Amzn Kindle Publishing Guidelines so terrible? | rjnagle | Kindle Formats | 14 | 06-17-2020 02:22 PM |
iBooks Night Mode Overriding CSS | zephyrmays | ePub | 23 | 07-31-2015 11:12 PM |
Colour coding CSS | chaot | Editor | 5 | 03-05-2015 01:32 PM |
Overridng link colour with extra CSS | cyruss | Conversion | 2 | 04-08-2011 07:58 AM |