Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
FogNetwork
GitHub Repository: FogNetwork/Tsunami
Path: blob/main/public/games/files/pacman/style.css
1036 views
1
/**********************************************************************************
2
3
.__ __ .__ ____ .__
4
______ | | _____ _/ |________| |__/_ |______ ______ ____ | |__
5
\____ \| | \__ \\ __\___ / | \| \_ __ \/ ___// ___\| | \
6
| |_> > |__/ __ \| | / /| Y \ || | \/\___ \\ \___| Y \
7
| __/|____(____ /__| /_____ \___| /___||__| /____ >\___ >___| / .ch
8
|__| \/ \/ \/ \/ \/
9
10
**********************************************************************************/
11
12
13
@font-face {
14
font-family: 'Socialico';
15
src: url(fonts/Socialico.otf) format('otf'),
16
url(fonts/Socialico.ttf) format('ttf');
17
src: local('Socialico'), local(Socialico),
18
url(fonts/Socialico.otf) format('opentype');
19
font-weight: normal;
20
font-style: normal;
21
}
22
23
a img { border: none; }
24
25
h1, h2, h3 {
26
font-family: 'Press Start 2P', cursive;
27
font-family: 'Codystar', cursive;
28
font-family: 'Acme', sans-serif;
29
text-transform: uppercase;
30
}
31
h1 { font-size: 2em; }
32
h2 { font-size: 1.7em; }
33
h3 { font-size: 1.5em; }
34
35
36
html, body {
37
width:100%;
38
font-family: 'Quando', serif;
39
font-size: 14px;
40
margin: 0;
41
padding: 0;
42
min-height: 100%;
43
height: 100%;
44
line-height: 23px;
45
background: url('img/bg-pattern-black.png') repeat;
46
text-align: center;
47
}
48
body {
49
overflow-x: hidden;
50
overflow-y: scroll;
51
}
52
53
div.layout {
54
margin: 0;
55
padding: 0;
56
}
57
58
aside { background-color: rgba(255, 255, 255, 0.1); }
59
aside > * { margin: 0 15px; padding: 15px 0; }
60
61
.wrapper { width: 100%; }
62
.mobile { display: none; }
63
64
.sidebar {
65
display: inline-block;
66
width: 320px;
67
float: left;
68
background: url(bg-pattern-green.png) repeat;
69
height: 100%;
70
position: fixed;
71
left: 0;
72
top: 0;
73
font-family: 'Acme', sans-serif;
74
text-transform: uppercase;
75
/*color: rgb(31,52,4); - dark green */
76
color: rgba(0,0,0,0.55);
77
text-align: left;
78
-webkit-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
79
-moz-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
80
box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
81
}
82
83
::selection {
84
background: rgba(24, 106, 12,0.7); /* Safari */
85
}
86
87
::-moz-selection {
88
background: rgba(24, 106, 12,0.7); /* Firefox */
89
}
90
91
/*---------------------------------------------------------------------
92
93
Sidebar: Navigation
94
95
*/
96
ul.nav {
97
list-style: none outside none;
98
font-size: 15px;
99
padding: 0;
100
margin: 0;
101
}
102
ul.nav.sub {
103
background-color: rgba(0,0,0,0.3);
104
background/*\**/: url(img/bg/black_30.png)\9;
105
display: none;
106
}
107
ul.nav.sub.active {
108
display: block;
109
}
110
111
ul.nav li {
112
line-height: 40px;
113
list-style: none outside none;
114
padding-left: 2em;
115
transition-property: background-color, padding-left;
116
transition-duration: 0.7s;
117
}
118
ul.nav.sub li{
119
padding-left: 2.8em;
120
}
121
122
ul.nav li:hover { background-color: rgba(255,255,255,0.2); background/*\**/: url(img/bg/white_20.png)\9; *background: url(img/bg/white_20.png); padding-left: 2.5em;}
123
ul.nav li.active { background-color: rgba(255,255,255,0.1); background/*\**/: url(img/bg/white_20.png)\9; *background: url(img/bg/white_20.png);}
124
125
ul.nav a, ul.nav a:link, ul.nav a:active, ul.nav a:visited, ul.nav a:hover, ul.nav a:focus { color: rgb(31,52,4); text-decoration: none; font-size: 1.5em;}
126
127
128
.main {
129
display: inline-block;
130
position: static;
131
margin: 0 auto;
132
text-align: left;
133
}
134
135
.header { display: none;}
136
137
.header, .content, .footer {
138
margin: 30px;
139
max-width: 700px;
140
background: rgba(0,0,0,0.4);
141
background/*\**/: url(img/bg/black_40.png)\9;
142
color: rgba(255,255,255,0.9);
143
color/*\**/: rgb(250,250,250)\9;
144
padding: 4em;
145
width: 700px;
146
-webkit-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
147
-moz-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
148
box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
149
}
150
151
.main a, .main a:link, .main a:active, .main a:visited {
152
/*color: rgba(20,20,20,0.9);
153
background: rgba(250,250,250,0.6);*/
154
155
/*color: rgba(255,255,255,0.8);
156
157
background: #367e20;*/
158
159
color: #367e20;
160
text-decoration: none;
161
}
162
.main a:hover, .main a:focus {
163
/*color: rgba(20,20,20,0.9);
164
text-decoration: none;
165
background: rgba(250,250,250,0.5);*/
166
167
text-decoration: underline;
168
color: #367e20;
169
}
170
171
.content {
172
min-height: 400px;
173
}
174
175
176
.logo {
177
width: 220px;
178
display: block;
179
margin: 30px auto 10px auto;
180
181
}
182
183
.social{
184
font-family: 'Socialico';
185
text-transform: none;
186
font-size: 40px;
187
text-align:center;
188
line-height: 55px;
189
vertical-align: top;
190
}
191
192
.social a, .social a:link, .social a:active, .social a:visited, .social a:hover, .social a:focus {
193
/*color: rgb(31, 52, 4); - dark green */
194
color: rgba(0,0,0,0.55);
195
text-decoration: none;
196
transition-property: opacity;
197
transition-duration: 0.3s;
198
}
199
.social a:hover {opacity: 0.8;}
200
201
/*---------------------------------------------------------------------
202
203
Boxes
204
205
*/
206
207
.box2, .box3 {
208
display: inline-block;
209
margin-right: 5px !important;
210
vertical-align: top;
211
}
212
213
.box2 {
214
width: 50%;
215
max-width: 320px;
216
}
217
218
.box3 {
219
width: 33%;
220
max-width: 205px;
221
}
222
223
div + .box2, div + box3 { margin: 5px !important;}
224
225
.portfolio-tile {
226
width: 200px;
227
height: 200px;
228
border: 1px solid rgba(0,0,0,0.5);
229
background: rgba(0,0,0,0.5);
230
display: inline-block;
231
margin-right: 10px;
232
margin-bottom: 10px;
233
}
234
235
.portfolio-tile:hover {
236
opacity: 0.8;
237
}
238
239
.portfolio-tile div {
240
visibility: hidden;
241
display: inline-block;
242
height: 35px;
243
width: 100%;
244
top: 165px;
245
line-height: 25px;
246
position: relative;
247
background: rgba(0,0,0,0.6);
248
background-size: 100%;
249
}
250
251
.portfolio-tile:hover div {
252
visibility: visible;
253
}
254
255
span.portfolio-label {
256
margin: auto 10px;
257
line-height: 35px;
258
height: 35px;
259
display: block;
260
vertical-align: middle;
261
color: #fff !important;
262
}
263
264
265
@media screen and (max-width: 1500px) {
266
.main {
267
position:absolute;
268
left: 320px;
269
}
270
}
271
272
@media screen and (max-width: 1040px) {
273
.box2 { width: 45%;}
274
.box3 { width: 27%;}
275
.portfolio-tile { width: 175px; height: 175px; }
276
.portfolio-tile div { top: 140px; }
277
}
278
279
@media screen and (max-width: 800px) {
280
.portfolio-tile { width: 150px; height: 150px; margin: 0 7px 7px 0;}
281
.portfolio-tile div { top: 115px; }
282
}
283
284
@media screen and (max-width: 650px) {
285
.portfolio-tile {
286
width: 200px;
287
height: 200px;
288
left: 50%;
289
position: relative;
290
margin-left: -100px;
291
display: block;
292
}
293
.portfolio-tile div {
294
top: 165px;
295
visibility: visible;
296
}
297
}
298
299
@media screen and (max-width: 320px) {
300
.box2 { width: 42%;}
301
.box3 { width: 25%;}
302
}
303
304
305
/*---------------------------------------------------------------------
306
307
Tables
308
309
*/
310
311
table {
312
width: 100%;
313
background-color: rgb(255,255,255);
314
color: rgba(0,0,0,0.9);
315
padding: 0;
316
border-spacing: 0;
317
/* padding: 1em; */
318
margin: 0.5em 0px !important;
319
overflow: auto;
320
}
321
td {
322
margin: 0;
323
padding: 1em;
324
}
325
thead {
326
font-weight: bold;
327
background: url(bg-pattern-green.png) repeat;
328
text-transform: uppercase;
329
}
330
331
tbody tr:nth-child(even){
332
background-color: #efefef;
333
}
334
335
/*---------------------------------------------------------------------
336
337
Forms
338
339
*/
340
341
input, select, textarea {
342
padding: 0.4em;
343
margin: 0.4em;
344
345
}
346
347
input[type=button], input[type=submit] {
348
background: #326a21;
349
text-transform: uppercase;
350
/*font-family: 'Acme',sans-serif;*/
351
border-radius: 15px;
352
color: #fff;
353
border: none;
354
}
355
input[type=text], input[type=password], textarea {
356
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3) inset;
357
}
358
input[type=button]:hover, input[type=button]:focus, input[type=submit]:hover, input[type=submit]:focus {
359
background: #367e20;
360
cursor: pointer;
361
}
362
363
input[type=text]:hover, input[type=text]:focus, input[type=password]:hover, input[type=password]:focus, textarea:hover, textarea:focus {
364
border: 1px solid #009600;
365
}
366
367
/*---------------------------------------------------------------------
368
369
Swipe.js - Javascript Slider
370
371
*/
372
373
.swipe {
374
margin: 1em 0;
375
376
}
377
.swipe ul { padding: 0;}
378
.swipe li div {
379
padding: 1em;
380
background: rgba(255,255,255,0.2);
381
border-radius: 8px;
382
}
383
384
385
/* Mobile CSS - Medium (Tablets, small Screens) */
386
387
@media screen and (max-width: 1050px) {
388
389
.main {
390
background: rgba(0,0,0,0.4);
391
background/*\**/: url(img/bg/black_40.png)\9;
392
background-attachment: fixed;
393
}
394
.header, .content, .footer {
395
margin: 0;
396
max-width: none;
397
width: auto;
398
height:100%;
399
background: none;
400
}
401
402
}
403
404
/* Mobile CSS - Small (Smartphones) */
405
@media screen and (max-width: 650px) {
406
407
html, body { height: auto;}
408
409
.main { background: none; }
410
body { background: rgba(0,0,0,0.4);
411
background/*\**/: url(img/bg/black_40.png)\9;
412
}
413
414
415
h1 {
416
font-size: 1.8em;
417
}
418
419
.mobile {
420
display: block;
421
}
422
.nomobile {
423
display: none !important;
424
}
425
.logo {
426
height: 90px;
427
width: auto;
428
/*display: inline-block;
429
float: left;*/
430
margin: 5px auto 5px auto;
431
}
432
433
.sidebar {
434
width: 100%;
435
height: auto;
436
position:relative;
437
}
438
439
.header, .content, .footer {
440
margin: 0;
441
max-width: 650px;
442
/*padding: 5px 10px;*/
443
padding: 5px 0;
444
}
445
446
.main {
447
position: relative;
448
left: 0;
449
width: 100%;
450
overflow-x: hidden;
451
452
}
453
454
.header > *, .content > *, .footer > * {
455
margin: 5px 10px;
456
}
457
.footer { position: relative; margin-bottom: 0; height: 40px;}
458
459
ul.nav {
460
margin: 0;
461
text-align: center;
462
}
463
464
ul.nav.sub {
465
margin: 0 auto;
466
background: rgba(0,0,0,0.4);
467
}
468
469
ul.nav li, ul.nav.sub li{
470
padding: 0 0.5em;
471
margin: 0;
472
display: inline-block;
473
background: none;
474
}
475
ul.nav li:hover, ul.nav.sub li:hover {
476
padding: 0 0.5em;
477
}
478
}
479
480
@media screen and (max-width: 360px) {
481
ul.nav.sub li { display: block; }
482
.box2, .box3 { display: block; width: 100%;}
483
}
484
485
@media screen and (max-width: 320px) {
486
ul.nav li { margin: 0; padding: 0 0.3em;}
487
ul.nav li:hover, ul.nav.sub li:hover { padding: 0 0.3em; }
488
}
489
490
#adsense {
491
text-align: center;
492
display: block;
493
}
494
495
#adsense .adsbygoogle {
496
497
margin-left: auto;
498
margin-right: auto;
499
}
500
501