Reverted forum style, used for genres now
This commit is contained in:
@ -2,5 +2,5 @@ component Genre(genre string, animeList []*arn.Anime)
|
||||
h2.genre-header= arn.Capitalize(genre)
|
||||
.grid
|
||||
each anime in animeList
|
||||
a.grid-cell.ajax(href="/anime/" + toString(anime.ID))
|
||||
img.anime-image.grid-cell-content.grid-cell-image(src=anime.Image, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + toString(anime.Watching) + ")")
|
||||
a.grid-cell.grid-anime.ajax(href="/anime/" + toString(anime.ID))
|
||||
img.anime-image.grid-image(src=anime.Image, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + toString(anime.Watching) + ")")
|
@ -1,28 +0,0 @@
|
||||
.grid
|
||||
display flex
|
||||
flex-flow row wrap
|
||||
float none !important
|
||||
justify-content center
|
||||
|
||||
.grid-cell
|
||||
margin 0.5em
|
||||
flex-grow 0
|
||||
flex-shrink 0
|
||||
|
||||
.grid-cell-content
|
||||
width 16vw
|
||||
height 9vw
|
||||
min-width 90px
|
||||
min-height 127px
|
||||
max-width 200px
|
||||
max-height 282px
|
||||
|
||||
.grid-cell-image
|
||||
object-fit cover
|
||||
|
||||
.grid-cell-text
|
||||
display flex
|
||||
flex-flow column
|
||||
align-items center
|
||||
justify-content center
|
||||
padding 0.75em
|
Reference in New Issue
Block a user