/
style.css
122 lines (122 loc) · 2.21 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
html,
body {
margin: 0;
padding: 0;
font-family: 'Avenir Next', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
animation: fade 400ms backwards;
}
dialog {
position: absolute;
background: #0F242D;
border: 4px solid #0E2129;
padding: 40px;
color: #fe4136;
text-align: center;
max-height: 280px;
box-sizing: border-box;
top: 50%;
left: 50%;
max-width: 80%;
transform: translate(-50%, -50%);
margin: 0;
}
dialog a {
position: relative;
color: #fe4136;
}
dialog .title {
margin: 0 0 10px;
}
dialog .desc {
margin: 0 0 30px;
}
dialog .btn-ready {
line-height: 45px;
padding: 0.25em 1em;
border-radius: 3px;
}
canvas {
display: block;
background-color: #002b36;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.btn {
cursor: pointer;
transition: all 0.1s ease-out;
font-size: 18px;
font-weight: 500;
letter-spacing: 0.1em;
color: #fe4136;
background-color: transparent;
border: 0;
box-shadow: inset 0 0 0 3px #fe4136;
outline: none;
}
.btn:active {
transform: scale(0.96875);
box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.25), 0 0 0 3px #203036, 0 0 0 5px #fe4136;
}
.btn-flat {
position: relative;
}
.btn-flat:hover:before {
opacity: 0.15;
}
.btn-flat:before {
opacity: 0;
content: '';
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
right: 0;
background: currentColor;
}
.btn-halo:hover {
color: #203036;
background-color: rgba(255, 85, 34, 0.875);
box-shadow: inset 0 0 0 3px #fe4136, 0 0 0 3px #203036, 0 0 0 5px rgba(255, 85, 34, 0.5);
transform: scale(1.0625);
}
.btn-start {
position: absolute;
opacity: 0;
top: 20px;
right: 20px;
line-height: 45px;
padding: 0.25em 1em;
border-radius: 3px;
}
@media (max-width: 420px) {
.hide-mobile {
display: none;
}
}
.source {
color: #fff;
opacity: 0.6;
position: absolute;
bottom: 10px;
right: 10px;
animation: fade 400ms backwards 1s;
font-style: italic;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.source:hover {
opacity: 1;
}
@keyframes fade {
0% {
transform: scale(0.95);
opacity: 0;
}
}