Fix scrollbars on frontpage
This commit is contained in:
parent
ea1bd71914
commit
673c82db78
@ -9,6 +9,7 @@ component FrontPage
|
||||
Login("")
|
||||
Footer
|
||||
|
||||
.bg-video-container
|
||||
video.bg-video(muted, autoplay, loop)
|
||||
source(src="/videos/elements/violet.webm", type="video/webm")
|
||||
|
||||
|
@ -1,14 +1,5 @@
|
||||
const frontpage-bg-color = rgb(32, 32, 32)
|
||||
|
||||
.frontpage-background
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
width 100%
|
||||
height 100%
|
||||
z-index -200
|
||||
background frontpage-bg-color
|
||||
|
||||
.frontpage
|
||||
vertical
|
||||
align-items center
|
||||
@ -40,6 +31,16 @@ const frontpage-bg-color = rgb(32, 32, 32)
|
||||
text-align center
|
||||
margin-top content-padding
|
||||
|
||||
.bg-video-container
|
||||
position absolute
|
||||
left 0
|
||||
top 0
|
||||
width 100%
|
||||
height 100%
|
||||
z-index -100
|
||||
background frontpage-bg-color
|
||||
overflow hidden
|
||||
|
||||
.bg-video
|
||||
display none
|
||||
position absolute
|
||||
@ -50,8 +51,6 @@ const frontpage-bg-color = rgb(32, 32, 32)
|
||||
min-height 100%
|
||||
width auto
|
||||
height auto
|
||||
z-index -100
|
||||
background frontpage-bg-color
|
||||
|
||||
> 1100px
|
||||
.bg-video
|
||||
|
Loading…
Reference in New Issue
Block a user