mirror of https://github.com/iv-org/invidious.git
Move channel specific CSS to separate file
This commit is contained in:
parent
35d94f9ed3
commit
710b269d30
|
@ -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);
|
||||
}
|
||||
|
||||
#channel-banner-container {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#banner {
|
||||
height: calc(100vw / 6.2 - 1px);
|
||||
background-size: cover !important;
|
||||
background-repeat: no-repeat !important;
|
||||
}
|
||||
|
||||
.channel-profile > * {
|
||||
font-size: 1.17em;
|
||||
font-weight: bold;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<% content_for "header" do %>
|
||||
<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 %>" />
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue