1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 01:52:32 +01:00

Created Sonarr 4K logo (markdown)

GilbN 2020-11-10 22:52:13 +01:00
parent 2d2a6e28b7
commit 24f2946512

52
Sonarr-4K-logo.md Normal file

@ -0,0 +1,52 @@
Add a 4K logo to your Sonarr css.
### Desktop
![](https://raw.githubusercontent.com/gilbN/theme.park/master/CSS/addons/sonarr/desktop.png)
![](https://raw.githubusercontent.com/gilbN/theme.park/master/CSS/addons/sonarr/v3-desktop.png)
### Mobile
![](https://raw.githubusercontent.com/gilbN/theme.park/master/CSS/addons/sonarr/mobile.png)
![](https://raw.githubusercontent.com/gilbN/theme.park/master/CSS/addons/sonarr/v3-mobile.png)
## 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/sonarr/THEME.css">
<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/addons/sonarr/sonarr-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/sonarr/THEME.css"><link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/addons/sonarr/sonarr-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/sonarr/sonarr-4k-logo.css'></head>"
}
```
#### Stylus
Just add another import line.
```css
@import "https://gilbn.github.io/theme.park/CSS/themes/sonarr/THEME.css";
@import "https://gilbn.github.io/theme.park/CSS/addons/sonarr/sonarr-4k-logo.css";
```