Quote:
Originally Posted by bizzybody
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; */