View Single Post
Old 12-14-2020, 04:44 PM   #1
drglenn
Junior Member
drglenn began at the beginning.
 
drglenn's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2020
Location: South Carolina, USA
Device: none
Unhappy Customize viewer css. pygments.css not found

Using the Developer tools, I see the particular file above is in a sandbox and only shows up in the binary libraries.

Quote:
$ grep -rie pygments
Binary file lib/calibre-extensions/python-lib.bypy.frozen matches
Binary file lib/libcalibre-launcher.so matches
The issue is with a book on programming where the examples are shown as if they are quote. It is not displaying the actual example text in the theme I'm using in KDE (kubuntu 20.04).

With Chrome as my default browser I can use the the tools to view the code and highlight each section a particular <div> is displayed in the viewer. I can adjust the code easily enough by:
Code:
<span style="color: blue;">
  code example text
</span>
But I don't have any idea where I could apply the change to this particular book.

Thank y'all in advance.

PS: I've scanned the docs, but can't claim to have read it and see any information on customizing a individual books CSS. So shoot me if it exists and just give the section I need to look in pretty please. (Ah, did I mention I'm a wee bit lazy?)

Last edited by drglenn; 12-14-2020 at 04:45 PM. Reason: forgot end salutation
drglenn is offline   Reply With Quote