From 1d84b814b4347fb8be0183db5cb3cff225e7e69a Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 14 Apr 2018 15:58:06 +0200 Subject: [PATCH] Added video container element --- pages/anime/anime.pixy | 5 +++-- pages/anime/anime.scarlet | 33 ++------------------------------- 2 files changed, 5 insertions(+), 33 deletions(-) diff --git a/pages/anime/anime.pixy b/pages/anime/anime.pixy index 4ac4152d..048ef5f9 100644 --- a/pages/anime/anime.pixy +++ b/pages/anime/anime.pixy @@ -31,8 +31,9 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks if anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin") h3.mountable AMVs - video.mountable(controls="controls", controlsList="nodownload") - source(src="/videos/unchained.mp4", type="video/mp4") + .video-container.mountable + video.amv-video(controls="controls", controlsList="nodownload") + source(src="/videos/unchained.mp4", type="video/mp4") AnimeEpisodes(anime, episodes, user, false) diff --git a/pages/anime/anime.scarlet b/pages/anime/anime.scarlet index 21e4f963..fdfc84bf 100644 --- a/pages/anime/anime.scarlet +++ b/pages/anime/anime.scarlet @@ -155,37 +155,8 @@ horizontal justify-content center - // Action button margin - // margin calc(content-padding - 0.5rem) -0.5rem - - // Setting z-index requires setting a background as well - // z-index 10 - -// > 1450px -// .anime-actions -// position fixed -// bottom 0 -// right content-padding - -// .anime-rating-categories -// horizontal -// width 100% - -// .anime-rating-category -// ui-element -// flex 1 -// text-align center -// margin 0.5rem - -// .anime-rating-category-name -// font-size 1.3rem -// margin-top 0.5rem - -// .anime-rating -// margin 0.5rem -// letter-spacing 3px -// font-size 1.3rem -// color link-color +.amv-video + width 100% .anime-widget margin-top 0.6rem