Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
titaniumnetwork-dev
GitHub Repository: titaniumnetwork-dev/Incognito-old
Path: blob/main/static/src/gs/public/gopher-kart/css/styles.css
1325 views
1
/*-- GLOBAL STYLES --*/
2
body.game-page {
3
text-align: center;
4
font-family: 'Roboto', sans-serif;
5
background: url("../assets/web/full-bg.jpg") #000 50% 0px;
6
background-size: 2958px 1310px;
7
background-repeat: no-repeat;
8
color: #FFF;
9
margin: 0;
10
}
11
html, body {
12
height: 100%;
13
margin: 0;
14
}
15
.wrapper {
16
min-height: 100%;
17
margin-bottom: -150px;
18
padding-top: 160px;
19
}
20
footer,
21
.push {
22
height: 150px;
23
}
24
footer {
25
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
26
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
27
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
28
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
29
text-align: center;
30
font-family: 'Roboto', sans-serif;
31
padding-top: 20px;
32
}
33
footer h1 {
34
font-size: 23px;
35
font-weight: 500;
36
opacity: 0.85;
37
margin: 0;
38
}
39
footer p {
40
margin: 0;
41
padding: 0;
42
opacity: 0.85;
43
}
44
footer ul {
45
margin: 0;
46
padding: 0;
47
opacity: 0.85;
48
}
49
footer ul li {
50
list-style: none;
51
margin: 0;
52
padding: 0;
53
}
54
footer ul li a {
55
color: #6CBDFF;
56
}
57
footer .jami a {
58
color: #C1B1FF;
59
font-weight: 500;
60
}
61
footer .renee a {
62
color: #B2FBFF;
63
font-weight: 500;
64
}
65
footer .ardan a {
66
color:#FFA488;
67
font-weight: 500;
68
}
69
/*-- GAME SCREEN STYLES --*/
70
canvas{
71
image-rendering: -moz-crisp-edges;
72
image-rendering: -webkit-crisp-edges;
73
image-rendering: pixelated;
74
margin: 50px auto 0;
75
}
76
#phaser-wrapper {
77
position: relative;
78
height: 432px;
79
width: 100%;
80
}
81
#phaser-wrapper img {
82
display: block;
83
margin: 0 auto;
84
text-align: center;
85
position: relative;
86
}
87
#phaser-wrapper canvas {
88
position: absolute;
89
top: 0;
90
left: 50%;
91
margin-left: -300px;
92
border-radius: 10px;
93
margin-top: 0px;
94
}
95
96
/*-- LEADERBOARD SCREEN --*/
97
body.leaderboard-page {
98
font-family: 'Patua One', cursive;
99
background: url("../assets/web/arcade-bg.jpg") #000;
100
background-size:cover;
101
background-repeat: no-repeat;
102
color: #FFF;
103
}
104
.ardan-sticker {
105
height: 60px;
106
width: 130px;
107
display: block;
108
position: absolute;
109
top: 693px;
110
left: 50%;
111
margin-left: -65px;
112
border-radius: 100%;
113
transition: all 0.1s ease;
114
}
115
.ardan-sticker:hover {
116
background: rgba(255,255,255,0.1);
117
box-shadow: 0px 1px 30px rgba(255,255,255,0.2);
118
-webkit-filter: blur(10px);
119
-moz-filter: blur(10px);
120
-o-filter: blur(10px);
121
-ms-filter: blur(10px);
122
filter: blur(10px);
123
}
124
.github-sticker {
125
height: 90px;
126
width: 110px;
127
display: block;
128
position: absolute;
129
top: 30px;
130
left: 50%;
131
margin-left: 205px;
132
border-radius: 100%;
133
transition: all 0.1s ease;
134
}
135
.github-sticker:hover {
136
background: rgba(255,255,255,0.1);
137
box-shadow: 0px 1px 30px rgba(255,255,255,0.2);
138
-webkit-filter: blur(10px);
139
-moz-filter: blur(10px);
140
-o-filter: blur(10px);
141
-ms-filter: blur(10px);
142
filter: blur(10px);
143
}
144
body.leaderboard-page h1 {
145
color: #04fcdc;
146
text-align: center;
147
}
148
@keyframes fade {
149
from {opacity: 0;}
150
to {opacity: 1;}
151
}
152
.leaderboard-list dl {
153
border: 3px solid rgba(255,255,255,0.10);
154
opacity: 0;
155
padding: 5px 25px;
156
border-radius: 5px;
157
}
158
.leaderboard-list dl:nth-child(1) {
159
color: #fcfc04;
160
opacity: 1;
161
border: none;
162
}
163
.leaderboard-list dl:nth-child(2) {
164
color: #dcdcdc;
165
animation: fade 1s normal forwards ease-in-out;
166
animation-delay: 0.2s;
167
}
168
.leaderboard-list dl:nth-child(3) {
169
color: #fc0404;
170
animation: fade 1s normal forwards ease-in-out;
171
animation-delay: 0.4s;
172
}
173
.leaderboard-list dl:nth-child(4) {
174
color: #fcb444;
175
animation: fade 1s normal forwards ease-in-out;
176
animation-delay: 0.8s;
177
}
178
.leaderboard-list dl:nth-child(5) {
179
color: #fcb494;
180
animation: fade 1s normal forwards ease-in-out;
181
animation-delay: 1.2s;
182
}
183
.leaderboard-list dl:nth-child(6) {
184
color: #f4cc34;
185
animation: fade 1s normal forwards ease-in-out;
186
animation-delay: 1.4s;
187
}
188
.leaderboard-list dl:nth-child(7) {
189
color: #fcfc04;
190
animation: fade 1s normal forwards ease-in-out;
191
animation-delay: 1.8s;
192
}
193
.leaderboard-list dl:nth-child(8) {
194
color: #14b42c;
195
animation: fade 1s normal forwards ease-in-out;
196
animation-delay: 2.2s;
197
}
198
.leaderboard-list dl:nth-child(9) {
199
color: #04fcdc;
200
animation: fade 1s normal forwards ease-in-out;
201
animation-delay: 2.4s;
202
}
203
.leaderboard-list dl:nth-child(10) {
204
color: #149cb4;
205
animation: fade 1s normal forwards ease-in-out;
206
animation-delay: 2.8s;
207
}
208
.leaderboard-list dl:nth-child(11) {
209
color: #0cd424;
210
animation: fade 1s normal forwards ease-in-out;
211
animation-delay: 3.2s;
212
}
213
.leaderboard-list dl dd{
214
display: inline-block;
215
font-size: 25px;
216
width: 32.5%;
217
margin: 0;
218
}
219
.leaderboard-list dl dd:last-child{
220
text-align: right;
221
}
222
223
.mobile-wrapper {
224
background: url("../assets/mobile-bg.png") #000 50% 0px;
225
border-radius: 10px;
226
height: 432px;
227
width: 600px;
228
display: none;
229
position: absolute;
230
top: 0;
231
left: 50%;
232
margin-left: -300px;
233
border-radius: 10px;
234
margin-top: 0px;
235
z-index: 300;
236
color: #000;
237
}
238
.mobile-wrapper h1 {
239
display: block;
240
}
241
.mobile-wrapper img.mobile-gopher {
242
bottom: 10px !important;
243
display: block !important;
244
position: absolute !important;
245
left: 50% !important;
246
margin-left: -68.5px !important;
247
image-rendering: pixelated !important;
248
249
}
250
.mobile-wrapper img.mobile-title {
251
position: absolute !important;
252
top: 30px !important;
253
left: 50% !important;
254
margin-left: -150px !important;
255
image-rendering: pixelated !important;
256
}
257
.mobile-wrapper img.mobile-info {
258
position: absolute !important;
259
top: 110px !important;
260
left: 50% !important;
261
margin-left: -150px !important;
262
image-rendering: pixelated !important;
263
}
264
265
@media(max-width:767px){
266
body{
267
overflow-x: hidden;
268
}
269
.mobile-wrapper {
270
display: block;
271
}
272
canvas {
273
display: none !important;
274
}
275
}
276
@media(max-width:576px){
277
.mobile-wrapper {
278
border-radius: 0;
279
margin: 0;
280
left: 0;
281
width: 100%;
282
}
283
canvas {
284
display: none !important;
285
}
286
body{
287
overflow-x: hidden;
288
}
289
.mobile-wrapper {
290
display: block;
291
}
292
canvas {
293
display: none !important;
294
}
295
}
296