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