1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-05-26 12:32:25 +00:00

Nav and search better mobile support

This commit is contained in:
Cadence Ember 2020-10-03 01:32:56 +13:00
parent 1ea272600c
commit 8998c472ef
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
6 changed files with 162 additions and 125 deletions

View file

@ -1,5 +1,13 @@
@use "colors.sass" as c
@mixin thin
@media screen and (max-width: 499px)
@content
@mixin wide
@media screen and (min-width: 500px)
@content
@mixin video-list-item
display: grid
grid-template-columns: 160px 1fr
@ -55,36 +63,44 @@
@mixin large-item
@include video-list-item
grid-gap: 16px
grid-template-columns: 240px 1fr
margin-bottom: 20px
overflow: hidden
max-height: 150px
.image
width: 240px
height: 135px
.duration
font-size: 17px
padding: 4px 5px
right: 5px
bottom: 5px
.title
font-size: 24px
font-size: 17px
.author-line
font-size: 15px
color: c.$fg-main
+wide
grid-gap: 16px
grid-template-columns: auto 1fr
margin-bottom: 20px
overflow: hidden
max-height: 150px
.author
color: c.$fg-main
.image
width: 240px
height: 135px
.description
margin-top: 16px
font-size: 15px
color: c.$fg-dim
.duration
font-size: 17px
padding: 4px 5px
right: 5px
bottom: 5px
.title
font-size: 24px
.author-line
font-size: 15px
color: c.$fg-main
.author
color: c.$fg-main
.description
margin-top: 16px
font-size: 15px
color: c.$fg-dim
+thin
.description
display: none
@mixin search-result
@include large-item