Change channel banner to be CSS background image

This is to allow for contents to be placed on the channel banner itself;
something that is required for the links widget shown on Youtube.

(cherry picked from commit 04cc15500f)
This commit is contained in:
syeopite 2021-04-16 00:27:37 -07:00
parent ed64def5a6
commit 619eca5ee3
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
2 changed files with 13 additions and 2 deletions

View file

@ -15,6 +15,16 @@ 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;