-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstyle.css
135 lines (118 loc) · 2 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
123
124
125
126
127
128
129
130
131
132
133
134
135
html {
height: 100%;
}
.score-container {
position: absolute;
top: 10px;
right: 10px;
transition: transform 0.5s 4s;
}
canvas {
width: 100%;
height: 100%;
}
.score-container #score {
color: white;
font-size: 1em;
font-family: "Permanent Marker", sans-serif;
font-weight: 700;
}
body {
background: rgb(13, 11, 43);
background: radial-gradient(
circle,
rgba(13, 11, 43, 1) 0%,
rgba(11, 11, 56, 1) 45%,
rgba(16, 39, 43, 1) 100%
);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
margin: 0;
align-items: center;
justify-content: center;
display: flex;
}
.intro {
display: none;
}
.mobile-message {
display: block;
margin: 0 auto;
color: white;
position: absolute;
z-index: 10;
width: 80%;
text-align: center;
font-family: "Open Sans", "Helvetica";
font-size: 1.5em;
}
#ThreeJS {
display: none;
}
@media only screen and (min-width: 500px) {
.intro {
position: absolute;
z-index: 10;
display: block;
}
#ThreeJS {
display: block;
}
.mobile-message {
display: none;
}
}
h1.title {
color: white;
font-size: 70px;
text-align: center;
margin-bottom: 0.5em;
font-family: "Impact";
display: block;
opacity: 1;
margin-top: 0;
transition: opacity 1s;
}
div#connect {
margin: 0 auto;
display: block;
text-align: center;
font-size: 14px;
color: white;
font-family: "Open Sans", "Helvetica";
transition: opacity 1s ease-out;
}
button {
font-size: 14px;
margin-top: 0.5em;
border: none;
border-radius: 2px;
padding: 0.5em 1em;
cursor: pointer;
font-family: "Open Sans", "Helvetica";
}
div#connect.fade-out {
opacity: 0;
}
.counter {
position: absolute;
display: block;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: rgb(237, 71, 93);
font-size: 100px;
z-index: 20;
transition: display 1s ease-out;
font-family: "Permanent Marker", sans-serif;
font-weight: 700;
}
.counter.fade-out {
display: none;
}
.title.fade-out {
opacity: 0;
}