Improved mobile styles
This commit is contained in:
parent
55adb9adef
commit
95d6057e13
@ -6,7 +6,7 @@ sidebar-spacing-y = 0.7rem
|
|||||||
left 0
|
left 0
|
||||||
top 0
|
top 0
|
||||||
z-index 10
|
z-index 10
|
||||||
width 60vw
|
width 70vw
|
||||||
height 100%
|
height 100%
|
||||||
background sidebar-opaque-background
|
background sidebar-opaque-background
|
||||||
transform translateX(-100%)
|
transform translateX(-100%)
|
||||||
@ -14,7 +14,7 @@ sidebar-spacing-y = 0.7rem
|
|||||||
overflow-y auto
|
overflow-y auto
|
||||||
opacity 0
|
opacity 0
|
||||||
pointer-events none
|
pointer-events none
|
||||||
box-shadow 24px 0 24px rgba(0, 0, 0, 0.3)
|
box-shadow 24px 0 24px rgba(0, 0, 0, 0.2)
|
||||||
transition opacity transition-speed ease, transform transition-speed ease
|
transition opacity transition-speed ease, transform transition-speed ease
|
||||||
will-change opacity, transition
|
will-change opacity, transition
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ component Genres(genres []string, genreToAnime map[string]*arn.Anime, user *arn.
|
|||||||
.genre-text.front
|
.genre-text.front
|
||||||
.genre-icon
|
.genre-icon
|
||||||
RawIcon(arn.GetGenreIcon(genre))
|
RawIcon(arn.GetGenreIcon(genre))
|
||||||
span= genre
|
span.genre-text-only= genre
|
||||||
|
|
||||||
img.genre-image.back(src=genreToAnime[genre].Image("medium"), alt=genreToAnime[genre].Title.ByUser(user), title=genre)
|
img.genre-image.back(src=genreToAnime[genre].Image("medium"), alt=genreToAnime[genre].Title.ByUser(user), title=genre)
|
@ -20,3 +20,15 @@
|
|||||||
|
|
||||||
.back
|
.back
|
||||||
shadow-up
|
shadow-up
|
||||||
|
|
||||||
|
< 450px
|
||||||
|
.genre
|
||||||
|
width 71px
|
||||||
|
height 100px
|
||||||
|
margin 0.3rem
|
||||||
|
|
||||||
|
.genre-icon
|
||||||
|
margin 0
|
||||||
|
|
||||||
|
.genre-text-only
|
||||||
|
display none
|
Loading…
Reference in New Issue
Block a user