Fix URLs - remove /branch/main/ from paths, use correct API format
This commit is contained in:
@@ -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
|
1. Go to Jellyfin Dashboard → General → Custom CSS
|
||||||
2. Paste this code:
|
2. Paste this code:
|
||||||
```css
|
```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
|
3. Click Save
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"description": "Modern CSS theme for Jellyfin with custom fonts, smooth animations and responsive design",
|
"description": "Modern CSS theme for Jellyfin with custom fonts, smooth animations and responsive design",
|
||||||
"author": "Oleg",
|
"author": "Oleg",
|
||||||
"repository": "https://git.tolchin.pro/Oleg/Tolfin",
|
"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",
|
"target": "jellyfin",
|
||||||
"categories": ["theme", "css"]
|
"categories": ["theme", "css"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Import base theme */
|
/* 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 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/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/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/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/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/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/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/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/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/floating-progress.css?ref=main");
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
**Использование:**
|
**Использование:**
|
||||||
```css
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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
|
```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");
|
||||||
@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");
|
||||||
@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");
|
||||||
/* Добавляйте нужные модули */
|
/* Добавляйте нужные модули */
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
:root {
|
: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 */
|
/* Custom banner for background */
|
||||||
|
|||||||
Reference in New Issue
Block a user