1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-24 16:37:30 +00:00
cloudtube/sass/includes/_channel-page.sass

95 lines
1.7 KiB
Sass
Raw Normal View History

$_theme: () !default
@use "sass:map"
@use "_dimensions" as dimensions
@use "video-list-item" as *
2020-08-29 13:21:48 +00:00
.channel-page
padding: 40px 20px 20px
max-width: 900px
margin: 0 auto
.banner
display: flex
.banner-image
width: 100%
height: auto
border-radius: 8px
align-self: flex-start
2020-08-29 13:21:48 +00:00
.channel-data
background-color: map.get($_theme, "bg-1")
2020-08-29 13:21:48 +00:00
padding: 24px
margin: 12px 0px 24px
border-radius: 8px
.info
display: flex
flex-wrap: wrap
+dimensions.thin
display: block
2020-08-29 13:21:48 +00:00
.thumbnail-image
$size: 120px
width: $size
height: $size
border-radius: 50%
margin-right: 24px
.about
flex: 1
margin-top: 10px
.name
font-size: 30px
font-weight: normal
color: map.get($_theme, "fg-bright")
margin: 0
2020-08-29 13:21:48 +00:00
.subscribers
color: map.get($_theme, "fg-main")
2020-08-29 13:21:48 +00:00
font-size: 18px
2020-08-30 13:54:59 +00:00
.subscribe-form
2020-08-29 13:21:48 +00:00
margin-top: 24px
.subscribe-button
$padding: 14px
padding: $padding - 2px $padding $padding
line-height: 1
border-radius: 8px
font-size: 22px
background-color: map.get($_theme, "power-deep")
color: map.get($_theme, "power-fg")
2020-08-29 13:21:48 +00:00
border: none
.description
margin-top: 16px
2021-11-02 23:06:09 +00:00
overflow-wrap: break-word
2020-08-29 13:21:48 +00:00
.channel-video
@include channel-video
2022-01-10 01:18:45 +00:00
.channel-error
background-color: map.get($_theme, "bg-1")
padding: 24px
margin: 12px 0px 24px
border-radius: 8px
border: 1px solid map.get($_theme, "edge-grey")
font-size: 20px
color: map.get($_theme, "fg-warning")
.you-should-unsubscribe
margin-top: 20px
color: map.get($_theme, "fg-main")
.about-description // class provided by youtube
pre
font-size: inherit
font-family: inherit
white-space: pre-wrap