Added video container element

This commit is contained in:
Eduard Urbach 2018-04-14 15:58:06 +02:00
parent 50e588300b
commit 1d84b814b4
2 changed files with 5 additions and 33 deletions

View File

@ -31,7 +31,8 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
if anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin") if anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin")
h3.mountable AMVs h3.mountable AMVs
video.mountable(controls="controls", controlsList="nodownload") .video-container.mountable
video.amv-video(controls="controls", controlsList="nodownload")
source(src="/videos/unchained.mp4", type="video/mp4") source(src="/videos/unchained.mp4", type="video/mp4")
AnimeEpisodes(anime, episodes, user, false) AnimeEpisodes(anime, episodes, user, false)

View File

@ -155,37 +155,8 @@
horizontal horizontal
justify-content center justify-content center
// Action button margin .amv-video
// margin calc(content-padding - 0.5rem) -0.5rem width 100%
// 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
.anime-widget .anime-widget
margin-top 0.6rem margin-top 0.6rem