-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (95 loc) · 1.94 KB
/
Copy pathstyle.css
File metadata and controls
108 lines (95 loc) · 1.94 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
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
overflow: hidden;
}
#score {
position: absolute;
font-family: 'Press Start 2P', cursive;
font-size: x-small;
top: 10px;
left: 10px;
color: black;
width: 20px;
height: 10px;
}
#gameEndMessage {
position: absolute;
font-family: 'Press Start 2P', cursive;
font-size: small;
top: 300px;
left: 150px;
width:auto;
height:auto;
color: black;
}
.grid {
width: 400px;
height: 600px;
background-image: url("background.png");
background-size: cover;
overflow: hidden;
position: relative;
}
.doodler {
width: 60px;
height: 80px;
background-image: url("doodler.png");
background-size: cover;
position: absolute;
}
.platform {
width: 80px;
height: 10px;
background-color: green;
border: black;
border-radius: 8px;
position: absolute;
}
@media only screen and (max-device-width: 600px) {
body {
overflow: hidden!important;
margin:0px;
position: fixed;
}
.grid {
width: 100%;
height: 100%;
background-image: url("background.png");
background-size: cover;
position: fixed;
overflow: hidden!important;
}
#score {
position: relative;
top: 10px;
left: 10px;
color: black;
width: 20px;
height: 10px;
}
#gameEndMessage {
position: fixed;
font-family: 'Press Start 2P', cursive;
font-size: small;
width:auto;
height:auto;
top: 40%;
left: 33%;
color: black;
}
.doodler {
width: 60px;
height: 80px;
background-image: url("doodler.png");
background-size: cover;
position: absolute;
}
.platform {
width: 80px;
height: 10px;
background-color: green;
border: black;
border-radius: 8px;
position: absolute;
}
}