1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-09-19 18:57:30 +00:00
cloudtube/sass/includes/video-page.sass

93 lines
1.7 KiB
Sass
Raw Normal View History

2020-08-22 13:17:31 +00:00
@use "colors.sass" as c
2020-08-24 10:43:55 +00:00
@use "video-list-item.sass" as *
2020-08-22 13:17:31 +00:00
.video-page
display: grid
grid-auto-flow: row
padding: 20px
grid-gap: 16px
@media screen and (min-width: 1000px)
grid-template-columns: 1fr 400px
.main-video-section
.video-container
text-align: center
.video
display: inline-block
width: 100%
height: auto
max-height: 80vh
.stream-notice
background: c.$bg-darkest
padding: 4px
2020-08-22 13:17:31 +00:00
.info
display: flex
margin: 8px 4px 16px
font-size: 17px
2020-10-06 10:45:09 +00:00
@media screen and (max-width: 499px)
display: block
2020-08-22 13:17:31 +00:00
.info-main
flex: 1
.title
margin: 0px 0px 4px
font-size: 30px
font-weight: normal
color: c.$fg-bright
.author-link
color: c.$fg-main
text-decoration: none
&:hover, &:active
color: c.$fg-bright
text-decoration: underline
.info-secondary
display: flex
flex-direction: column
2020-08-24 10:43:55 +00:00
align-items: flex-end
text-align: right
2020-08-22 13:17:31 +00:00
margin-top: 6px
margin-left: 6px
2020-10-06 10:45:09 +00:00
@media screen and (max-width: 499px)
align-items: flex-start
margin-left: 0px
2020-08-22 13:17:31 +00:00
.rating-bar
margin-top: 8px
width: 140px
height: 8px
border-radius: 3px
background: linear-gradient(to right, #1a1 var(--rating), #bbb var(--rating))
.description
font-size: 17px
margin: 16px 4px 4px 4px
background-color: c.$bg-accent-area
padding: 12px
border-radius: 4px
2020-08-30 13:54:59 +00:00
.subscribe-form
display: inline-block
2020-08-22 13:17:31 +00:00
.related-header
margin: 4px 0px 12px 2px
font-weight: normal
font-size: 26px
.related-video
2020-08-24 10:43:55 +00:00
@include video-list-item
2020-08-31 13:22:16 +00:00
.video-error-page
padding: 40px 20px 20px
margin: 0 auto
max-width: 600px