• 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 Themes & Styles Remove/unset inline styles in a theme

     
    • 0 Vote(s) - 0 Average

    Remove/unset inline styles in a theme

    Starting more from scratch
    User 3181
    Offline

    Unregistered
    Posts: 3
    Threads: 1
    Joined: 2023 Oct
    #1
    2023-10-27, 04:58 PM (This post was last modified: 2023-10-27, 05:20 PM by User 3181. Edited 1 time in total.)
    Is there a way to prevent all or some of the automatically loaded inline styles from loading altogether rather than having to juggle 200 custom styles just to reset and unset them?

    For example these:

    @media(min-width:35em) {
      .overflowSquareCard {
        width:31.2vw
      }
      .overflowBackdropCard {
        width:45.5vw
      }
      .overflowSmallBackdropCard {
        width:30vw
      }
    }
    @media(min-width:43.75em) {
      .overflowPortraitCard,
      .overflowSquareCard {
        width:23.1vw
      }
    }
    @media(min-width:48.125em) {
      .overflowBackdropCard,
      .overflowSmallBackdropCard {
        width:30vw
      }
    }
    @media(orientation:landscape) {
      .overflowBackdropCard,
      .overflowSmallBackdropCard {
        width:30vw
      }
      .overflowPortraitCard,
      .overflowSquareCard {
        width:23.1vw
      }
    }
    @media(orientation:landscape)and (min-width:48.125em) {
      .overflowBackdropCard,
      .overflowSmallBackdropCard {
        width:23.1vw
      }
    }
    @media(orientation:landscape)and (min-width:50em) {
      .overflowSmallBackdropCard {
        width:15.5vw
      }
    }
    @media(min-width:50em) {
      .overflowPortraitCard,
      .overflowSquareCard {
        width:18.5vw
      }
    }
    @media(min-width:75em) {
      .overflowBackdropCard,
      .overflowSmallBackdropCard {
        width:23.1vw
      }
      .overflowPortraitCard,
      .overflowSquareCard {
        width:15.5vw
      }
    }
    @media(min-width:87.5em) {
      .overflowPortraitCard,
      .overflowSquareCard {
        width:13.3vw
      }
    }
    User 3181
    Offline

    Unregistered
    Posts: 3
    Threads: 1
    Joined: 2023 Oct
    #2
    2023-10-27, 06:28 PM
    Update, I think it is this file, can I control it's inclusion somehow: https://github.com/jellyfin/jellyfin-web.../card.scss
    niels
    Offline

    Core Team

    Posts: 248
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #3
    2023-10-27, 08:08 PM
    No you cannot remove the standard CSS from the web client.
    User 3181
    Offline

    Unregistered
    Posts: 3
    Threads: 1
    Joined: 2023 Oct
    #4
    2023-10-27, 11:27 PM
    Is there a documentation available on what can be avoided?
    « 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