• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions *SOLVED* Custom CSS to rid whitespace on ebooks

     
    • 0 Vote(s) - 0 Average

    *SOLVED* Custom CSS to rid whitespace on ebooks

    Hermes
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #1
    2024-01-21, 06:05 AM (This post was last modified: 2024-01-21, 02:18 PM by Hermes. Edited 1 time in total.)
    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?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-01-21, 06:15 AM (This post was last modified: 2024-01-21, 06:16 AM by tmsrxzar. Edited 1 time in total.)
    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)
    Hermes
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #3
    2024-01-21, 12:33 PM
    (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.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-01-21, 01:50 PM
    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
    Hermes
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #5
    2024-01-21, 02:17 PM
    *SOLVED*

    Used this CSS script to make a dark mode

    raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/themes/dark/theme.css
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode