63 lines
745 B
CSS
63 lines
745 B
CSS
|
|
@keyframes fall {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
top: 100vh;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes sway {
|
|
0% {
|
|
margin-left: 0;
|
|
}
|
|
25% {
|
|
margin-left: 50px;
|
|
}
|
|
50% {
|
|
margin-left: -50px;
|
|
}
|
|
75% {
|
|
margin-left: 50px;
|
|
}
|
|
100% {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
|
|
#winter {
|
|
z-index: -1;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 0;
|
|
transition: opacity 500ms;
|
|
width: 100%;
|
|
}
|
|
|
|
.snow {
|
|
animation: fall ease-in infinite, sway ease-in-out infinite;
|
|
color: skyblue;
|
|
position: absolute;
|
|
}
|
|
|
|
.content {
|
|
max-width: 750px;
|
|
margin: 0 auto;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.content p {
|
|
line-height: 1.7em;
|
|
}
|
|
|
|
.context {
|
|
font-style: italic;
|
|
}
|