mirror of
https://github.com/LBRYFoundation/lbryorg.git
synced 2025-08-31 01:11:29 +00:00
feat: add a oarallax bg to make everything dark
This commit is contained in:
parent
b4290d9ac1
commit
6cd83ec786
2 changed files with 13 additions and 2 deletions
|
@ -53,7 +53,8 @@
|
|||
<!-- globalParallax -->
|
||||
<div class="parallax" id="global-parallax">
|
||||
<img src="./img/lbry_background_art.png" alt="bg-img" class="parallax-img" />
|
||||
<div class="parallax-mask" style="background-color: rgb(30, 100, 230); opacity: 0.5;"></div>
|
||||
<div class="parallax-mask"></div>
|
||||
<div class="parallax-bg"></div>
|
||||
|
||||
<!-- globalParallaxContent -->
|
||||
<div class="parallax-content">
|
||||
|
|
|
@ -44,7 +44,7 @@ html {
|
|||
}
|
||||
|
||||
.parallax .parallax-mask {
|
||||
z-index: 0;
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -68,10 +68,20 @@ html {
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#global-parallax .parallax-mask {
|
||||
position: fixed;
|
||||
background-color: rgb(30, 100, 230);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#global-parallax .parallax-bg {
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
background-color: black;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#global-parallax {
|
||||
|
|
Loading…
Add table
Reference in a new issue