-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (94 loc) · 1.8 KB
/
style.css
File metadata and controls
108 lines (94 loc) · 1.8 KB
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
@font-face { /* import the font */
font-family: 'Fixedys';
src: url("assets/FSEX300.ttf") format('truetype');
}
canvas {
border: 1px solid #d3d3d3;
touch-action: none;
}
.gameover{
width: 400px;
height: 300px;
position:absolute;
left:50%;
top:50%;
z-index:2;
transform: translate(-50%,-50%);
background-color: rgba(69, 137, 215,0.7);
border: 6px solid rgba(255, 167, 78);
border-radius: 10px;
font-family: 'Fixedys', sans-serif;
font-size: 25px;
text-align: center;
color:rgb(255, 255, 255);
}
#p1{
margin-top:180px;
}
#p3{
margin-top: -10px;
font-size: 16px;
}
.GO_image{
margin-top:30px;
height:120px;
width:120px;
position: absolute;
left:50%;
transform: translate(-50%);
background: url('assets/gameover.png') no-repeat;
background-size: contain;
image-rendering: pixelated;
}
#canvasPath {
position:absolute;
left:0px;
top:0px;
z-index: 1;
}
#canvasCollision {
position:absolute;
left:0px;
top:0px;
z-index: 0;
}
/* z-index 2 important to keep planes on top of the map canvas (each plane has it's own canvas..) */
.planeCanvas {
position:absolute;
left:0px;
top:0px;
z-index: 2;
pointer-events: none;
}
#message{
height:300px;
width:500px;
}
#map{
height:300px;
width:500px;
}
#notice{
height:300px;
width:300px;
position: absolute;
top:500px;
left:50px;
font-family: 'Fixedys', sans-serif;
border-radius: 10px;
font-size: 25px;
text-align: center;
border: 2px dotted rgb(145, 145, 145);
}
#note{
padding-left:20px;
padding-right: 20px;
}
#score{
color:rgba(56, 56, 56, 1);
font-size: 30px;
position:absolute;
left:50%;
transform: translate(-50%);
bottom:10px;
}