Files
Grinch-AP/WebHostLib/static/styles/landing.css

163 lines
2.8 KiB
CSS
Raw Normal View History

2020-07-18 16:25:07 -04:00
#landing-wrapper{
display: flex;
2020-12-01 16:44:24 -05:00
flex-direction: column;
2020-07-18 16:25:07 -04:00
justify-content: center;
flex-wrap: wrap;
2020-12-01 16:44:24 -05:00
margin-top: 50px;
2020-07-18 16:25:07 -04:00
}
#landing-header{
2020-07-18 16:25:07 -04:00
text-align: center;
width: 100%;
margin-bottom: 50px;
}
#landing-header h1{
color: #ffffff;
font-size: 3.5rem;
text-shadow: 1px 1px 7px #000000;
-webkit-text-stroke: 1px #00582e;
z-index: 10;
}
#landing-header h4{
color: #ffffff;
font-size: 1.75rem;
margin-bottom: 0;
text-shadow: 1px 1px 7px #000000;
font-kerning: none;
z-index: 10;
}
2020-12-01 16:44:24 -05:00
#landing-buttons{
margin-left: auto;
margin-right: auto;
height: 50px;
2020-07-18 16:25:07 -04:00
}
#landing-clouds{
z-index: 5;
}
#landing-clouds #cloud1{
position: absolute;
left: 10px;
top: 65px;
width: 400px;
height: 350px
}
#landing-clouds #cloud2{
position: absolute;
right: 82px;
top: 167px;
width: 300px;
height: 300px;
}
#landing-clouds #cloud3{
position: absolute;
right: 24px;
top: 500px;
width: 200px;
height: 325px;
}
2020-12-01 16:44:24 -05:00
#landing{
width: 660px;
min-height: 360px;
2020-12-01 16:44:24 -05:00
margin-left: auto;
margin-right: auto;
2020-07-18 16:25:07 -04:00
}
@media all and (max-width: 1550px){
#cloud1{
animation-name: c1-glide-out;
animation-duration: 1s;
animation-fill-mode: forwards;
left: -400px;
}
#cloud2{
animation-name: c2-glide-out;
animation-duration: 1s;
animation-fill-mode: forwards;
right: -300px;
}
#cloud3{
animation-name: c3-glide-out;
animation-duration: 1s;
animation-fill-mode: forwards;
right: -200px;
}
@keyframes c1-glide-out{
from{ left: 10px; }
to{
left: -400px;
display: none;
}
}
@keyframes c2-glide-out{
from{ right: 82px; }
to{
right: -300px;
display: none;
}
}
@keyframes c3-glide-out{
from{ right: 24px; }
to{
right: -200px;
display: none;
}
}
}
@media all and (min-width: 1550px){
#cloud1{
animation-name: c1-glide-in;
animation-duration: 1s;
animation-fill-mode: forwards;
}
#cloud2{
animation-name: c2-glide-in;
animation-duration: 1s;
animation-fill-mode: forwards;
}
#cloud3{
animation-name: c3-glide-in;
animation-duration: 1s;
animation-fill-mode: forwards;
}
@keyframes c1-glide-in{
from{ left: -400px; }
to{
left: 10px;
display: none;
}
}
@keyframes c2-glide-in{
from{ right: -300px; }
to{
right: 82px;
display: none;
}
}
@keyframes c3-glide-in{
from{ right: -200px; }
to{
right: 24px;
display: none;
}
}
}