Improved AMV styles
This commit is contained in:
parent
56fcdf09ce
commit
f0bc78c8a3
17
pages/anime/amv.scarlet
Normal file
17
pages/anime/amv.scarlet
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.amvs
|
||||||
|
vertical
|
||||||
|
margin-top 1rem
|
||||||
|
|
||||||
|
.amv
|
||||||
|
width 100%
|
||||||
|
margin calc(content-padding / 2)
|
||||||
|
box-shadow shadow-medium
|
||||||
|
|
||||||
|
> 500px
|
||||||
|
.amvs
|
||||||
|
horizontal-wrap
|
||||||
|
justify-content flex-start
|
||||||
|
margin-top 0
|
||||||
|
|
||||||
|
.amv
|
||||||
|
max-width 380px
|
@ -31,15 +31,18 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
|
|||||||
|
|
||||||
if user != nil && (user.Role == "editor" || user.Role == "admin")
|
if user != nil && (user.Role == "editor" || user.Role == "admin")
|
||||||
if anime.ID == "LbbCcKiig"
|
if anime.ID == "LbbCcKiig"
|
||||||
h3.mountable AMVs
|
section.anime-section.mountable
|
||||||
.video-container.amv.mountable
|
h3.anime-section-name AMVs
|
||||||
video.video(controls="controls", controlsList="nodownload")
|
|
||||||
|
.amvs
|
||||||
|
.amv.mountable
|
||||||
|
.video-container
|
||||||
|
video.video
|
||||||
source(src="/videos/unchained.webm", type="video/webm")
|
source(src="/videos/unchained.webm", type="video/webm")
|
||||||
|
|
||||||
if anime.ID == "7VjCpFiiR"
|
.amv.mountable
|
||||||
h3.mountable AMVs
|
.video-container
|
||||||
.video-container.amv.mountable
|
video.video
|
||||||
video.video(controls="controls", controlsList="nodownload")
|
|
||||||
source(src="/videos/sunlight.webm", type="video/webm")
|
source(src="/videos/sunlight.webm", type="video/webm")
|
||||||
|
|
||||||
AnimeEpisodes(anime, episodes, user, false)
|
AnimeEpisodes(anime, episodes, user, false)
|
||||||
|
@ -69,17 +69,10 @@
|
|||||||
|
|
||||||
.soundtrack
|
.soundtrack
|
||||||
flex-basis auto
|
flex-basis auto
|
||||||
// vertical
|
|
||||||
// flex-grow 1
|
|
||||||
// margin-bottom 0.5rem
|
|
||||||
// min-width 200px
|
|
||||||
|
|
||||||
.soundtrack-anime-image
|
.soundtrack-anime-image
|
||||||
display none
|
display none
|
||||||
|
|
||||||
// .video-container
|
|
||||||
// box-shadow shadow-light
|
|
||||||
|
|
||||||
> 500px
|
> 500px
|
||||||
.anime-soundtracks
|
.anime-soundtracks
|
||||||
horizontal-wrap
|
horizontal-wrap
|
||||||
@ -159,9 +152,6 @@
|
|||||||
margin-top 0.6rem
|
margin-top 0.6rem
|
||||||
margin-bottom 0.4rem
|
margin-bottom 0.4rem
|
||||||
|
|
||||||
.amv
|
|
||||||
//
|
|
||||||
|
|
||||||
< 800px
|
< 800px
|
||||||
.anime-rating-categories
|
.anime-rating-categories
|
||||||
vertical
|
vertical
|
||||||
|
Loading…
Reference in New Issue
Block a user