Explore page improvements
This commit is contained in:
parent
f31d439c6b
commit
fe0c6bf991
@ -3,4 +3,5 @@ component AnimeGrid(animeList []*arn.Anime, user *arn.User)
|
|||||||
each anime in animeList
|
each anime in animeList
|
||||||
a.anime-grid-cell.ajax(href="/anime/" + toString(anime.ID))
|
a.anime-grid-cell.ajax(href="/anime/" + toString(anime.ID))
|
||||||
img.anime-grid-image.lazy(data-src=anime.Image("medium"), data-webp="true", alt=anime.Title.Romaji)
|
img.anime-grid-image.lazy(data-src=anime.Image("medium"), data-webp="true", alt=anime.Title.Romaji)
|
||||||
p.anime-grid-title= anime.Title.ByUser(user)
|
.anime-grid-title
|
||||||
|
.anime-grid-title-text= anime.Title.ByUser(user)
|
@ -20,9 +20,11 @@
|
|||||||
left 0
|
left 0
|
||||||
width 100%
|
width 100%
|
||||||
padding 0.5rem
|
padding 0.5rem
|
||||||
font-size 80%
|
background linear-gradient(to top, hsla(0, 0%, 0%, 0.8), hsla(0, 0%, 0%, 0))
|
||||||
|
default-transition
|
||||||
|
|
||||||
|
.anime-grid-title-text
|
||||||
text-align center
|
text-align center
|
||||||
background linear-gradient(to top, hsla(0, 0%, 0%, 0.5), hsla(0, 0%, 0%, 0))
|
|
||||||
color white
|
color white
|
||||||
text-shadow 0 0 3px black
|
text-shadow 0 0 3px black
|
||||||
transition opacity transition-speed ease
|
font-size 80%
|
@ -59,7 +59,7 @@ mixin anime-mini-item-image
|
|||||||
border-radius 2px
|
border-radius 2px
|
||||||
filter none
|
filter none
|
||||||
transition filter transition-speed ease, opacity transition-speed ease
|
transition filter transition-speed ease, opacity transition-speed ease
|
||||||
|
|
||||||
:hover
|
:hover
|
||||||
filter saturate(1.3)
|
filter saturate(1.3)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user