-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (78 loc) · 1.25 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
* {
padding: 0;
margin: 0;
}
html {
overflow: hidden;
font-family: sans-serif;
}
canvas {
}
.reset {
position: fixed;
z-index: 5;
left: calc(50% - 33px);
bottom: 20px;
appearance: none;
border: 0;
background-color: transparent;
filter: drop-shadow(0 15px 12px rgba(0,0,0,0.5));
cursor: pointer;
}
.reset:active,
.reset:focus,
.reset:hover {
outline: none;
border: 0;
}
.reset:hover svg {
animation: rotate ease 0.5s;
}
#start {
position: fixed;
z-index: 10;
left: calc(50% - 50px);
top: calc(50% - 50px);
appearance: none;
border: 0;
background: transparent;
filter: drop-shadow(0 15px 12px rgba(0,0,0,0.5));
cursor: pointer;
display: none;
}
#start:active,
#start:focus,
#start:hover {
outline: none;
border: 0;
}
#start:hover svg {
animation: scale ease 0.5s;
}
.kmh {
position: fixed;
z-index: 5;
right: 20px;
bottom: 20px;
font-size: 1vw;
color: #fff;
}
.kmh strong {
font-size: 3vw;
}
@keyframes scale {
0%,100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}