View Single Post
Old 01-09-2020, 10:45 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,121
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by bizzybody View Post
The latest free offering from TOR "Mohs 5.5 Megastructures" has several sections that when the reader is switched to white text on a black background, are stuck as some variety of grey text on a white background. In other words, whomever put together the EPUB done did something wrong, at several apparently random spots throughout. (Would be nice if Calibre could auto-fix a problem like this.)

Here's an example clipped from the foreword. All those c_current__and__white_background and c_current__and__white_background1 need to go away, but not the italic part of c_current__and__white_background__and__italic

<h2 class="p_heading_"><span class="c_current__and__white_background">Colombo, Sri Lanka, 11/2019</span></h2>
IMHO I would leave the spans as is to preserve the original intent (or in case you want to change your mind)
and simply modify those selectors in the CSS. great time to get your feet wet on a simple CSS tweak

you are looking for 2 items in those 2 selectors ONLY:
(the colors may be represented by (Hex)numbers. eg #FFFFFF )
background-color: white ;
color: gray ; /*this is the text color */
Simply comment out the line and leave the intent intact. the rest reverts to the current usage/device default
Code:
/*background-color: white ;   */
/*color: gray; */

Last edited by theducks; 01-09-2020 at 01:33 PM. Reason: Fixed Whites Hex code
theducks is offline   Reply With Quote