10 changed files with 101 additions and 3 deletions
@ -1,3 +1,6 @@ |
|||||
# CSS Addons |
# CSS Addons |
||||
|
|
||||
## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) |
## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) |
||||
|
|
||||
|
## [Radarr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/radarr) |
||||
|
|
||||
|
@ -0,0 +1,6 @@ |
|||||
|
# CSS Addons |
||||
|
|
||||
|
## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) |
||||
|
|
||||
|
## [Radarr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/radarr) |
||||
|
|
@ -0,0 +1,54 @@ |
|||||
|
# Radarr 4K logo |
||||
|
|
||||
|
Add a 4K logo to your Radarr css. |
||||
|
|
||||
|
### Desktop |
||||
|
 |
||||
|
 |
||||
|
|
||||
|
### Mobile |
||||
|
 |
||||
|
 |
||||
|
|
||||
|
|
||||
|
## Setup |
||||
|
|
||||
|
#### Nginx |
||||
|
Examples of how to add it: |
||||
|
|
||||
|
```nginx |
||||
|
proxy_set_header Accept-Encoding ""; |
||||
|
sub_filter |
||||
|
'</head>' |
||||
|
'<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/radarr/THEME.css"> |
||||
|
<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-4k-logo.css"> |
||||
|
</head>'; |
||||
|
sub_filter_once on; |
||||
|
``` |
||||
|
|
||||
|
#### Apache |
||||
|
|
||||
|
```nginx |
||||
|
AddOutputFilterByType SUBSTITUTE text/html |
||||
|
Substitute 's|</head> '<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/radarr/THEME.css"><link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-4k-logo.css"> |
||||
|
</head>';|' |
||||
|
``` |
||||
|
|
||||
|
#### Caddy |
||||
|
|
||||
|
```nginx |
||||
|
filter rule { |
||||
|
content_type text/html.* |
||||
|
search_pattern </head> |
||||
|
replacement "<link rel='stylesheet' type='text/css' href='https://gilbn.github.io/theme.park/CSS/themes/<APP_NAME>/<THEME>.css'><link rel='stylesheet' type='text/css' href='https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-4k-logo.css'></head>" |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
#### Stylus |
||||
|
|
||||
|
Just add another import line. |
||||
|
|
||||
|
```css |
||||
|
@import "https://gilbn.github.io/theme.park/CSS/themes/radarr/THEME.css"; |
||||
|
@import "https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-4k-logo.css"; |
||||
|
``` |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 790 KiB |
After Width: | Height: | Size: 167 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 122 KiB |
Loading…
Reference in new issue