Jellyfin Forum
*SOLVED* Custom CSS to rid whitespace on ebooks - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: *SOLVED* Custom CSS to rid whitespace on ebooks (/t-solved-custom-css-to-rid-whitespace-on-ebooks)



*SOLVED* Custom CSS to rid whitespace on ebooks - Hermes - 2024-01-21

Using the cbz files to read ebooks. Had to fix a problem with the images not centering on mobile (fixed with css). The problem now is that I have whitespace above and below the centered image. See the attached screenshot.      

Does anyone know of any custom css to turn this whitespace to black for nighttime reading?


RE: Custom CSS to rid whitespace on ebooks - tmsrxzar - 2024-01-21

https://darkreader.org/blog/mobile/

i use their extensions for chrome and firefox, now all my sites are in 'dark mode' no matter how Apple the developer wanted to be (i mean white webpages)


RE: Custom CSS to rid whitespace on ebooks - Hermes - 2024-01-21

(2024-01-21, 06:15 AM)tmsrxzar Wrote: https://darkreader.org/blog/mobile/

i use their extensions for chrome and firefox, now all my sites are in 'dark mode' no matter how Apple the developer wanted to be (i mean white webpages)

I am using the mobile app and have a user base that is cross platform. That's why I am looking for a CSS solution, rather then asking my multiple users to each download browser extentions.


RE: Custom CSS to rid whitespace on ebooks - tmsrxzar - 2024-01-21

since the extension injects css to achieve what it does i suggest investigating the only suggestion you've received thus far instead of dismissing it immediately


RE: Custom CSS to rid whitespace on ebooks - Hermes - 2024-01-21

*SOLVED*

Used this CSS script to make a dark mode

raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/themes/dark/theme.css