-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (109 loc) · 1.93 KB
/
style.css
File metadata and controls
122 lines (109 loc) · 1.93 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
html, body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
h2 {
padding: 0;
margin: 0 auto;
text-align: center;
margin-top: 5px;
color: #666;
font-family: sans-serif;
}
.frame {
background-color: antiquewhite;
width: 150px;
height: 60px;
font-size: 24px;
margin: 10px;
display: none;
justify-content: space-between;
padding: 0 10px;
align-items: center;
}
.start {
background-color: red;
color : yellow;
width: 100px;
margin : 0 auto;
z-index: 2;
}
.button {
height: 40px;
font-size: 24px;
cursor: pointer;
padding : 0 10px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
margin-top: -23%;
margin-left:46%;
}
.stop {
display : none;
background-color: yellow;
color : red;
width: 60px;
}
.gameZone {
cursor: pointer;
height : 600px;
width: 500px;
background-color: lightgreen;
overflow: hidden;
position: relative;
margin : 0 auto;
top : 10px;
will-change: transform;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.pipes {
height: 600px;
width: 2400px;
transform: translateX(300px);
display: flex;
will-change: transform;
}
.pipe {
padding: 0 100px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.pipe > div {
background-color: #00BB27;
}
.score-box {
position: absolute;
top: 0;
left: 250px;
height : 600px;
width : 100px;
z-index: 1;
}
.score {
text-align: center;
color : #11772D;
font-size : 3em;
margin-left: -15%;
transform: translate(250px, 0);
}
.bird-box {
position: absolute;
top: 0;
left: 100px;
height : 600px;
width : 100px;
z-index: 1;
}
.bird {
width: 30px;
height: 30px;
background : red;
transform: translate(35px, 0);
}