From f51eb5e16fce065114db78ee4977fa0c43149194 Mon Sep 17 00:00:00 2001 From: Oleg Tolchin Date: Tue, 17 Feb 2026 16:07:41 +0300 Subject: [PATCH] Fix URLs - remove /branch/main/ from paths, use correct API format --- README.md | 2 +- manifest.json | 2 +- theme/complete.css | 20 ++++++++++---------- theme/modules/README.md | 26 +++++++++++++------------- theme/modules/change-banner.css | 2 +- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index fa03710..b0f7cc1 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/branch/main/theme/complete.css?ref=main"); + @import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main"); ``` 3. Click Save diff --git a/manifest.json b/manifest.json index b1b96e7..1b8fd45 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/branch/main/theme/complete.css?ref=main", + "url": "https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main", "target": "jellyfin", "categories": ["theme", "css"] } diff --git a/theme/complete.css b/theme/complete.css index a9a2756..5b8bb29 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/branch/main/theme/base.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/base.css?ref=main"); /* Import modules */ -@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"); +@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"); diff --git a/theme/modules/README.md b/theme/modules/README.md index bd8a28e..443f1c2 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/branch/main/theme/modules/static-sidebar.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/static-sidebar.css?ref=main"); ``` --- @@ -19,7 +19,7 @@ **Использование:** ```css -@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/theme/modules/central-libraries-small.css?ref=main"); ``` --- @@ -29,7 +29,7 @@ **Использование:** ```css -@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/theme/modules/change-banner.css?ref=main"); ``` --- @@ -39,7 +39,7 @@ **Использование:** ```css -@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/theme/modules/count-indicators.css?ref=main"); ``` --- @@ -49,7 +49,7 @@ **Использование:** ```css -@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/theme/modules/forgot-password.css?ref=main"); ``` --- @@ -59,7 +59,7 @@ **Использование:** ```css -@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/theme/modules/hide-my-media.css?ref=main"); ``` --- @@ -69,7 +69,7 @@ **Использование:** ```css -@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/theme/modules/moving-cards.css?ref=main"); ``` --- @@ -79,7 +79,7 @@ **Использование:** ```css -@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/theme/modules/smaller-cast.css?ref=main"); ``` --- @@ -89,7 +89,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/modules/floating-progress.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/modules/floating-progress.css?ref=main"); ``` --- @@ -98,13 +98,13 @@ ### Полная тема (все модули): ```css -@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/theme/complete.css?ref=main"); +@import url("https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/theme/complete.css?ref=main"); ``` ### Индивидуальные модули: ```css -@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/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"); /* Добавляйте нужные модули */ ``` diff --git a/theme/modules/change-banner.css b/theme/modules/change-banner.css index 11b89c0..389744c 100644 --- a/theme/modules/change-banner.css +++ b/theme/modules/change-banner.css @@ -5,7 +5,7 @@ */ :root { - --banner-url: url('https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/branch/main/assets/banner.png?ref=main'); + --banner-url: url('https://git.tolchin.pro/api/v1/repos/Oleg/Tolfin/raw/assets/banner.png?ref=main'); } /* Custom banner for background */