diff --git a/assets/css/channel.css b/assets/css/channel.css new file mode 100644 index 00000000..e40dc6aa --- /dev/null +++ b/assets/css/channel.css @@ -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; +} + diff --git a/assets/css/default.css b/assets/css/default.css index b28519e8..d9f95529 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -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; diff --git a/src/invidious/views/components/channel-information.ecr b/src/invidious/views/components/channel-information.ecr index a3c7a9f0..6d272abc 100644 --- a/src/invidious/views/components/channel-information.ecr +++ b/src/invidious/views/components/channel-information.ecr @@ -1,5 +1,6 @@ <% content_for "header" do %>