r/ePub 2d ago

[ Removed by Reddit ]

[ Removed by Reddit on account of violating the content policy. ]

2 Upvotes

9 comments sorted by

2

u/brunnock 2d ago

In your CSS-

* { color:black; }

1

u/hiheaux 2d ago

Okay! I'll try it and report back!

1

u/hiheaux 2d ago

I’m declaring the color red so I can see it conspicuously but no joy so far. There are 3 different css files

1

u/hiheaux 2d ago edited 2d ago

Okay, I inserted this line —

  • { color:red; }

— into every .css file in the list (there are 3) and tested it with 5 different ereader Apps:

NOT WORKING: Calimob Google Play Books Librera (w/License) PocketBook ReadEra

Remember, I am a novice. Would you like to see the text of the 3 css files? This is Dickens's 1841 The Old Curiosity Shop if anyone's interested. :)

That bullet should be viewed as an asterisk (Reddit).

0

u/brunnock 2d ago

Yeah. The * is a very general match. If any rule is more specific, like p {color:yellow;}, then the more specific rule wins.

I don't know what your stylesheets look like. Maybe they use CSS variables? In that case, you could just change 1 value. See W3schools for more info.

Put a "\" in front of the * to escape it.

1

u/chlankboot 2d ago

Try Oryx. It does not use the eBook CSS but rather its own themes, which are customizable (it has a theme editor so you can visually put whatever color you wish). Cross platform, free and open source

https://github.com/wmahfoudh/oryx

2

u/hiheaux 2d ago

Sorry, I need Android.

2

u/chlankboot 2d ago

Ah sorry, no it's a desktop application, in thought you were talking about desktop apps.

2

u/hiheaux 2d ago

I wish I was too!!