-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame.css
67 lines (58 loc) · 1.08 KB
/
game.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
* {
margin: 0;
padding: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html, body {
background: #000;
font-family: Tahoma;
}
canvas {
display: block;
}
div {
position: fixed;
top: calc(50% - 200px);
left: 0;
width: 100%;
color: #CCC;
z-index: 1;
-webkit-filter: blur(0px);
-moz-filter: blur(0px);
opacity: 1;
text-align: center;
-webkit-transition: -webkit-filter 0.5s, opacity 1s;
-moz-transition: -webkit-filter 0.5s, opacity 1s;
}
div.clear {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
opacity: 0;
pointer-events: none;
}
div h1 {
}
div p {
font-size: 20px;
}
div h1, div p {
text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
div button {
padding: 1em;
font-size: 20px;
border: #fff 2px solid;
background: #000;
color: #fff;
outline: 0;
}
div button:active {
box-shadow: 0 0 20px rgba(255, 255, 255, 1);
outline: 0;
margin-top: 2px;
}