-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (65 loc) · 1.41 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
body {
overflow: hidden;
display: table;
background: url(http://th08.deviantart.net/fs70/PRE/f/2014/071/5/5/blue_space_by_whendell-d79zabi.jpg);
background-size: cover;
}
#lose{
position: fixed;
height: 100vh;
width: 100vw;
background-color: rgba(0,0,0,.7);
color: red;
font-size: 64px;
/* display: table-cell;
vertical-align: center;
*/ z-index: 1000;
display: inline-block;
}
#msg{
margin: 0 auto;
}
#sky {
/*background-color: cyan;*/
position: absolute;
width: 100%;
height: 80vh;
top: 0;
}
#ground {
/*background-color: brown;*/
position: absolute;
height: 20vh;
width: 100%;
bottom: 0;
}
#player {
background: url(http://fc04.deviantart.net/fs70/i/2012/106/3/2/space_cat_by_pekepeke0-d4wc8ay.png);
background-size: 120%;
position: relative;
background-color: fuchsia;
width: 20vh;
height: 20vh;
top: 60vh;
z-index: 9;
}
#van {
background: url(http://static.ddmcdn.com/gif/storymaker-photos-sharks-in-space-shark-week-1108040-515x344.jpg);
background-size: cover;
position: relative;
background-color: red;
width: 20vh;
height: 15vh;
top: 75vh;
z-index:9;
}
#pizza {
background: url(http://www.electronicproducts.com/uploadedImages/Sensors_and_Transducers/Image_Sensors_and_Optical_Detectors/3d%20Pizza%20NASA.PNG);
background-size: cover;
position: relative;
background-color: green;
width: 10vh;
height: 7vh;
top: 40vh;
z-index:9;
}