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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2019, 06:07 PM   #1
Darkenmal
Member
Darkenmal began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
Dark mode with dark font?

Hello, I have been trying to convert two books' dark font into white font. Is there an easy way to do this? Other books work fine--they have white font, but there's two books that have dark font that won't budge.

Here's an image to show what I mean:

Click image for larger version

Name:	gKE0MIL.png
Views:	428
Size:	217.3 KB
ID:	174720

Thanks!

Last edited by BetterRed; 11-04-2019 at 07:51 PM.
Darkenmal is offline   Reply With Quote
Old 11-04-2019, 07:37 PM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
It's easy to remove the background or font color in the conversion process, but there's no easy way to change the dark font to white during conversion, because the default font color is always black. You have to do it in the editor. Put color: white in the body style and remove all the other font colors from the css, if there are any.
Sirtel is offline   Reply With Quote
Advert
Old 11-04-2019, 07:55 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Darkenmal View Post
Hello . . .
Moderator Notice

Please read the Guidelines, number 9 in particular.

BR
BetterRed is offline   Reply With Quote
Old 11-04-2019, 08:22 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Add

* { color: white !important}


tothe extra css setting in the conversion dialog.
kovidgoyal is offline   Reply With Quote
Old 11-04-2019, 09:07 PM   #5
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by kovidgoyal View Post
Add

* { color: white !important}


tothe extra css setting in the conversion dialog.
But that will only work if there is no black color specified in the individual paragraphs (there sometimes is, for whatever reason). Otherwise the paragraph color overrides the body color. Of course there might not be any color in paragraphs in that specific book, then it should work.
Sirtel is offline   Reply With Quote
Advert
Old 11-04-2019, 09:13 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's not a body color its a color for all tags.
kovidgoyal is offline   Reply With Quote
Old 11-04-2019, 09:17 PM   #7
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by kovidgoyal View Post
That's not a body color its a color for all tags.
Well, I tried it with a book that had the black color in every paragraph in the css. Didn't work.

It only worked when I removed the color from paragraphs in the editor.
Sirtel is offline   Reply With Quote
Old 11-04-2019, 09:52 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually you dont need to do either, just use the filter style information setting in the conversion dialog to remove all colors
kovidgoyal is offline   Reply With Quote
Old 11-04-2019, 10:24 PM   #9
Darkenmal
Member
Darkenmal began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
Quote:
Originally Posted by BetterRed View Post

Please read the Guidelines, number 9 in particular.

BR
Thanks for the conversion. I appreciate it.
Darkenmal is offline   Reply With Quote
Old 11-04-2019, 10:33 PM   #10
Darkenmal
Member
Darkenmal began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Add

* { color: white !important}


tothe extra css setting in the conversion dialog.
I converted the book and copied * { color: white !important} into the extra css setting and while there is now some white font, it isn't every letter.

Is there something I missed or something else that I can try?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	2019-11-04 22_32_37-The Writer's Lexicon_ Descriptions, Overused Words, and Taboos [EPUB] — E-bo.png
Views:	397
Size:	66.0 KB
ID:	174721  

Last edited by Darkenmal; 11-04-2019 at 10:37 PM.
Darkenmal is offline   Reply With Quote
Old 11-04-2019, 11:02 PM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kovidgoyal View Post
Actually you dont need to do either, just use the filter style information setting in the conversion dialog to remove all colors

see that
kovidgoyal is offline   Reply With Quote
Old 11-04-2019, 11:17 PM   #12
Darkenmal
Member
Darkenmal began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
see that
This worked. Thank you.
Darkenmal is offline   Reply With Quote
Old 11-04-2019, 11:24 PM   #13
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Didn't it give you black text on white background? I thought you wanted white text on black.
Sirtel 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
issue when using dark mode sovre Amazon Kindle 9 08-22-2019 08:03 PM
Sigil difficult to use in dark mode? AprilHare Sigil 4 05-22-2019 12:31 PM
Dark mode on MacOS Mojave jdpinto Calibre 9 05-10-2019 09:53 AM
Free online read (urban fantasy) from Pocket After Dark - Surrender the Dark Susan Crealock Deals and Resources (No Self-Promotion or Affiliate Links) 2 12-12-2014 08:33 PM
Free online read (paranormal romance) from Pocket After Dark - Dark Protector Susan Crealock Deals and Resources (No Self-Promotion or Affiliate Links) 0 05-15-2011 01:10 AM


All times are GMT -4. The time now is 04:27 PM.


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