seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

Check for Color CSS directive before using #210 as the default text color #412

Open BNolet opened 6 years ago

BNolet commented 6 years ago

I've got color:white in my ebook stylesheet but yet it's being overwritten to be color:#210

BNolet commented 6 years ago

I suggest making a modal giving the user the option to choose whether to use the color, background-color, and font-family styling of the ebook or not

BNolet commented 6 years ago

the solution on my end was to remove the styling that was applied by the ebook reader

seblucas commented 6 years ago

Can explain a little where is the problem ? is it in the UI ? in the Epub reader ? elsewhere ?

BNolet commented 6 years ago

Lines 23 and 24 of cops-monocle.js

https://github.com/seblucas/cops/blob/27aace7d37bb37785a9e9f3dcc7e502c9c53106d/styles/cops-monocle.js#L23