-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (97 loc) · 1.83 KB
/
Copy pathstyle.css
File metadata and controls
112 lines (97 loc) · 1.83 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
* {
box-sizing: border-box;
}
body{
width: 100%;
height: 100vh;
margin: 0;
}
.startScreen {
position: absolute;
width: 100%;
height: 100vh;
background: url(./background.png);
background-repeat: no-repeat;
background-size: cover;
font-size: 2rem;
font-family: fantasy;
display: flex;
justify-content: center;
align-items: center;
color: rgb(255, 199, 17);
letter-spacing: 3px;
flex-direction: column
}
.hide {
display: none;
}
.gameArea {
width: 100%;
height: 100vh;
background: url(./background_1.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.msg {
padding: 50px;
color: green;
font-size: 4rem;
}
.score-div {
display: flex;
align-items: center;
justify-content: center;
}
.score {
position: absolute;
top: 0;
width: 500px;
height: 60px;
font-size: 3.3rem;
font-family: monospace;
background-color: rgba(0, 0, 0, 0.473);
color: white;
text-align: center;
z-index: 100;
}
.bird {
position: absolute;
top: 100px;
left: 50px;
width: 50px;
height: 40px;
line-height: 40px;
font-size: 1.5em;
background-image: url(./bird.png);
background-size: cover;
}
.wing {
position: absolute;
top: 10px;
left: -5px;
width: 30px;
height: 15px;
background-color: gold;
border-radius: 7px;
}
.gameMessage {
position: absolute;
top: 20%;
width: 100%;
height: 40vh;
background: rgba(0, 0, 0, 0.712);
color: white;
font-size: 2rem;
text-align: center;
font-family: fantasy;
font-size: bold;
z-index: 100;
}
.pipe {
width: 100px;
position: absolute;
text-align: center;
background-image: url(./pipe.png);
background-repeat: no-repeat;
background-size:100% 100%;
}