mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Move channel specific CSS to separate file
(cherry picked from commit 0d19937dac
)
This commit is contained in:
parent
619eca5ee3
commit
6810be8368
3 changed files with 14 additions and 10 deletions
13
assets/css/channel.css
Normal file
13
assets/css/channel.css
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#channel-banner-container {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
|
||||||
|
height: calc(100vw / 6.2 - 1px);
|
||||||
|
background-size: cover !important;
|
||||||
|
background-repeat: no-repeat !important;
|
||||||
|
}
|
||||||
|
|
|
@ -15,16 +15,6 @@ body {
|
||||||
background-color: rgb(255, 0, 0, 0.5);
|
background-color: rgb(255, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#channel-banner-container {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#banner {
|
|
||||||
height: calc(100vw / 6.2 - 1px);
|
|
||||||
background-size: cover !important;
|
|
||||||
background-repeat: no-repeat !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.channel-profile > * {
|
.channel-profile > * {
|
||||||
font-size: 1.17em;
|
font-size: 1.17em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
<title><%= channel.author %> - Invidious</title>
|
<title><%= channel.author %> - Invidious</title>
|
||||||
|
<link rel="stylesheet" href="/css/channel.css?v=<%= ASSET_COMMIT %>"/>
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/channel/<%= channel.ucid %>" />
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/channel/<%= channel.ucid %>" />
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue