-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyle.css
102 lines (90 loc) · 1.68 KB
/
style.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
background: linear-gradient(0deg, #f9f9f9 25%, #e2faff 75%);
font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#menu {
position: absolute;
bottom: 16px;
left: 0;
right: 0;
padding: 0.5em 0.5em 0 0.5em;
background-color: rgba(255, 255, 255, 0.65);
}
button {
font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 1em;
background: none;
border: none;
border-bottom: 1px solid rgb(100, 100, 100);
padding: 0;
}
button:hover {
background: rgb(100, 100, 100);
color: white;
cursor: pointer;
}
.credits {
font-size: 12px;
margin-bottom: 0;
}
.legend-label {
font-weight: bold;
}
canvas {
filter: opacity(0);
transition: filter 1s;
}
.snow {
pointer-events: none;
position: absolute;
top: 0;
height: 100%;
width: 100%;
display: none;
}
#loader {
position: absolute;
top: 50%;
margin-top: -100px;
text-align: center;
width: 100%;
}
#loader>img {
height: 70px;
filter: drop-shadow(1px 1px 2px rgba(100, 100, 100, 0.6));
}
.i-large,
.i-medium,
.i-small {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.i-large {
background: url("./img/snow_large.png") repeat 0px 0px;
animation: dropSnowFlakes 2s linear infinite;
}
.i-medium {
background: url("./img/snow_medium.png") repeat 0px 0px;
animation: dropSnowFlakes 12s linear infinite;
}
.i-small {
background: url("./img/snow_small.png") repeat 0px 0px;
animation: dropSnowFlakes 27s linear infinite;
}
@keyframes dropSnowFlakes {
from {
background-position: 0 0;
}
to {
background-position: 0 413px;
}
}