-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (99 loc) · 1.84 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
.game {
width:100%;
height:100%;
background-color:black;
min-height: 650px;
background-image: url('img/background.jpg');
background-size: cover;
-ms-user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
overflow: hidden;
cursor:none; /*url('img/crosshair.png');*/
}
body {
margin: 0px;
overflow:hidden;
height: 100%;
min-height: 600px;
/*cursor:url('img/spaceship.png');*/
}
.player {
opacity:1;
height:50px;
width:60px;
background-image:url('./img/spaceship.png');
background-size: cover;
display:inline-block;
position:absolute;
}
.speed {
color:white;
}
.rotation {
color:white;
}
.y {
color:white;
}
.x {
color:white;
}
.laser {
background-image: url('./img/redLaser.png');
background-size: cover;
position:absolute;
height:15px;
width:8px;
}
.asteroid {
background-size: cover;
position: absolute;
height: 60px;
width: 50px;
}
.a1 {
background-image:url('./img/asteroid1.png');
}
.a2 {
background-image:url('./img/asteroid2.png');
}
.a3 {
background-image:url('./img/asteroid3.png');
}
.explosion{
background-image: url('./img/sprites/explosionsprite.png');
position: absolute;
height:94px;
width:104px;
}
.playerexplosion{
position:absolute;
height:120px;
width:120px;
background-image: url('./img/sprites/playerexplosionsprite.png');
}
#github {
width:60px;
height:50px;
background-image:url('img/github.png');
position:absolute;
top:10px;
right:10px;
background-size:cover;
cursor:pointer;
z-index: 1000;
}
#github:hover {
background-image:url('img/githubOver.png');
}
#cursor {
background-image:url('./img/crosshair.png');
height: 50px;
width: 50px;
position: absolute;
z-index: 500;
}