diff --git a/README.md b/README.md index b0f7cc1..fa03710 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This project uses Gitea API for loading CSS files to bypass browser ORB restrict 1. Go to Jellyfin Dashboard → General → Custom CSS 2. Paste this code: ```css - @import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main"); + @import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/complete.css?ref=main"); ``` 3. Click Save diff --git a/manifest.json b/manifest.json index 1b8fd45..3703dff 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "description": "Modern CSS theme for Jellyfin with custom fonts, smooth animations and responsive design", "author": "Oleg", "repository": "https://git.tolchin.pro/Oleg/Tolfin", - "url": "https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main", + "url": "https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/complete.css", "target": "jellyfin", "categories": ["theme", "css"] } diff --git a/theme/complete.css b/theme/complete.css index 5b8bb29..a9a2756 100644 --- a/theme/complete.css +++ b/theme/complete.css @@ -7,15 +7,15 @@ */ /* Import base theme */ -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/base.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/base.css?ref=main"); /* Import modules */ -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/static-sidebar.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/central-libraries-small.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/change-banner.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/count-indicators.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/forgot-password.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/hide-my-media.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/moving-cards.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/smaller-cast.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/floating-progress.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/static-sidebar.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/central-libraries-small.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/change-banner.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/count-indicators.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/forgot-password.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/hide-my-media.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/moving-cards.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/smaller-cast.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/floating-progress.css?ref=main"); diff --git a/theme/modules/README.md b/theme/modules/README.md index 443f1c2..828f807 100644 --- a/theme/modules/README.md +++ b/theme/modules/README.md @@ -9,7 +9,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/static-sidebar.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/static-sidebar.css"); ``` --- @@ -19,7 +19,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/central-libraries-small.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/central-libraries-small.css"); ``` --- @@ -29,7 +29,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/change-banner.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/change-banner.css"); ``` --- @@ -39,7 +39,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/count-indicators.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/count-indicators.css"); ``` --- @@ -49,7 +49,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/forgot-password.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/forgot-password.css"); ``` --- @@ -59,7 +59,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/hide-my-media.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/hide-my-media.css"); ``` --- @@ -69,7 +69,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/moving-cards.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/moving-cards.css"); ``` --- @@ -79,7 +79,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/smaller-cast.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/smaller-cast.css"); ``` --- @@ -89,7 +89,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/floating-progress.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/floating-progress.css"); ``` --- @@ -98,13 +98,13 @@ ### Полная тема (все модули): ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/complete.css"); ``` ### Индивидуальные модули: ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/static-sidebar.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/central-libraries-small.css?ref=main"); -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/change-banner.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/static-sidebar.css"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/central-libraries-small.css"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main?ref=main/theme/modules/change-banner.css"); /* Добавляйте нужные модули */ ``` diff --git a/theme/modules/change-banner.css b/theme/modules/change-banner.css index 0419d3f..11b89c0 100644 --- a/theme/modules/change-banner.css +++ b/theme/modules/change-banner.css @@ -5,38 +5,26 @@ */ :root { - --banner-url: url('https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/assets/banner.png?ref=main'); + --banner-url: url('https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/assets/banner.png?ref=main'); } -/* Custom banner for background - higher specificity */ +/* Custom banner for background */ .homeBackdropContainer, .backgroundContainer.withBackdrop, .itemBackdrop, -.backdropImage, -#indexPage .backgroundContainer, -#indexPage .backdropImage, -.layout-desktop .backgroundContainer.withBackdrop, -.layout-desktop .itemBackdrop { +.backdropImage { background-image: var(--banner-url) !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; } -/* Remove gradient overlay on homepage - higher specificity */ -#indexPage .itemBackdrop::before, -.layout-desktop .itemBackdrop::before, -#indexPage .darkenContent { +/* Remove gradient overlay on homepage */ +#indexPage .itemBackdrop::before { display: none !important; +} + +#indexPage .darkenContent { background: none !important; backdrop-filter: none !important; } - -/* Remove blur from backdrop image */ -.layout-desktop .backdropImage { - filter: none !important; - -webkit-filter: none !important; - -moz-filter: none !important; - -o-filter: none !important; - -ms-filter: none !important; -}