-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Broken Website] PDFs converted to PDFium, used within Chromium based browsers, tested on Brave #3585
Comments
Hi @coughingmouse! Unfortunate PDF's in chromium are exposed as 1 big element as seen here so we can only invert it so the effect will get the PDF inverted and giving the effect of a darkend PDF however the background-color get unfortunate a gray-ish color. At this moment we can't do anything. Regards, |
@Gusted Thanks for pointing out very kindly that I didn't even try to press F12. |
If you use Firefox, you can edit userContent.css like this: @media (prefers-color-scheme: dark){
.pdfViewer{filter: invert(1) hue-rotate(180deg);}
} If you use Chrome or Edge, install the extention "PDF Reader", then edit the extention option like this: html[data-theme*="dark"] .pdfViewer{
filter: invert(1) hue-rotate(180deg);
} |
Website
Example pdf link: Emma by Jane Austen
How to Reproduce
Expected behavior
Actual behavior
Screenshots
![Screen Shot of something already described above](https://user-images.githubusercontent.com/15174845/92127277-1c643880-ee3c-11ea-9e85-8a23e54b7a06.png)
System info:
Additional context
This could be really useful if fixed.
The text was updated successfully, but these errors were encountered: