-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
57 lines (50 loc) · 1.21 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@font-face {
font-family: "HKGrotesk";
font-weight: 700;
src: url("../fonts/HKGrotesk-Bold.eot");
src: url("../fonts/HKGrotesk-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/HKGrotesk-Bold.woff2") format("woff2"), url("../fonts/HKGrotesk-Bold.woff") format("woff");
}
@font-face {
font-family: "HKGrotesk";
font-weight: 500;
src: url("../fonts/HKGrotesk-Medium.eot");
src: url("../fonts/HKGrotesk-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/HKGrotesk-Medium.woff2") format("woff2"), url("../fonts/HKGrotesk-Medium.woff") format("woff");
}
html, body {
font-family: "HKGrotesk", Arial, Helvetica, sans-serif;
color: #000;
height: 100%;
}
header {
padding: 16px;
}
main {
display: flex;
justify-content: center;
align-items: center;
height: calc(100% - 120px);
}
.container {
height: 90px;
overflow: hidden;
text-align: center;
}
.text {
animation: snow 7s cubic-bezier(.97,.1,.91,.74);
animation-fill-mode: forwards;
animation-delay: 0.3s;
opacity: 0;
}
@keyframes snow {
0% {
opacity: 1;
transform: translateY(calc(-100% - 50px));
}
96% {
transform: translateY(10px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}