-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (78 loc) · 1.38 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
.game {
height: 500px;
width: 70%;
margin: 0 auto;
border: 2px solid green;
border-radius: 5px;
overflow: hidden;
}
.bird {
width: 40px;
height: 40px;
border-radius: 30px;
position: absolute;
top: 0;
bottom: 0;
margin: auto;
margin-left: 10px;
background-color: transparent;
}
.borders {
float: right;
height: 100%;
width: 30px;
}
.border {
width: 40px;
margin-left: 35px;
background-color: black;
}
.border-top {
border-radius: 0px 4px 0px 0px;
}
.border-bottom {
border-radius: 0px 0px 4px 0px;
}
.brend {
padding-left: 200px;
font-size: 45pt;
margin-top: 0px;
font-family: 'Slabo 27px', serif;
letter-spacing: 10px;
}
.score {
float: right;
margin-right: 200px;
font-size: 20pt;
}
.high-text {
color: aqua;
}
.gameover-box {
width: 300px;
height: 300px;
position: absolute;
border: 1px solid black;
border-radius: 5px;
top: 0;
left: 50%;
margin-left: -170px;
margin-top: 50px;
display: none;
}
.gameover-box p,.restart {
text-align: center;
font-size: 20pt;
font-family: 'Slabo 27px', serif;
}
.gameover-box .restart {
cursor: pointer;
background-color: aquamarine;
position: absolute;
bottom: 0;
width: 100%;
border-radius: 0px 0px 5px 5px;
}
.gameover-box .restart:hover {
color: green;
}