moved water background to separate component
This commit is contained in:
19
src/lib/viewport/water-background.svelte
Normal file
19
src/lib/viewport/water-background.svelte
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="waters"></div>
|
||||
|
||||
<style>
|
||||
.waters {
|
||||
--color-waters: #242424;
|
||||
|
||||
position: fixed;
|
||||
z-index: -99;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: var(--color-waters);
|
||||
mask-image: url('/bremen-waters-white.svg');
|
||||
mask-position: center;
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user