[Design] Make background and clouds static. Make index.html a template.
This commit is contained in:
@@ -15,7 +15,8 @@ body {
|
||||
|
||||
@include body-font;
|
||||
.clouds {
|
||||
position: absolute;
|
||||
z-index: 50;
|
||||
position: fixed;
|
||||
width: $cloud_width;
|
||||
animation-name: move_right;
|
||||
animation-direction: alternate;
|
||||
@@ -35,8 +36,20 @@ body {
|
||||
animation-duration: 15s;
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
.top {
|
||||
.top_bg {
|
||||
background-image: linear-gradient(#24d3ff, #aaeeff);
|
||||
height: $top-height;
|
||||
width: 100vw;
|
||||
position: fixed;
|
||||
}
|
||||
.bottom_bg {
|
||||
background-image: linear-gradient(#26a4c4, #afdde9);
|
||||
height: 100 - $top-height;
|
||||
width: 100vw;
|
||||
position: fixed;
|
||||
top: $top-height;
|
||||
}
|
||||
.top {
|
||||
min-height: $top-height;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
@@ -64,7 +77,6 @@ body {
|
||||
}
|
||||
|
||||
.bottom {
|
||||
background-image: linear-gradient(#26a4c4, #afdde9);
|
||||
min-height: 100vh - $top-height;
|
||||
.wrapper {
|
||||
min-height: 100vh - $top-height;
|
||||
|
||||
Reference in New Issue
Block a user