-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
104 lines (92 loc) · 1.87 KB
/
styles.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
body {
margin: 0;
padding: 0;
background-color: #F5EFE7; /* Skin color */
}
#game-container {
width: 500px;
height: 500px;
position: relative;
margin: 50px 0px 0px 700px;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
outline: 2px solid black; /* Add black outline */
background-color: #8CC63E; /* Grass green */
display:inline-block;
}
.wall {
width: 100%;
height: 100px;
position: absolute;
top: 0;
background-color: #964B00; /* Fox Brown */
}
.ball {
width: 50px;
height: 50px;
border-radius: 50%;
position: absolute;
bottom: 0;
background-color: red;
animation: none;
border: 2px solid black; /* Add black outline */
}
#instruction-panel {
position: absolute;
top: 50px;
left: 50px;
width: 500px;
padding: 50px;
background-color: #213555;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
outline: 2px solid black; /* Add black outline */
display: inline-block;
color : #F5EFE7
}
#instruction-panel h1 {
font-size: 38px;
margin-bottom: 10px;
}
#instruction-panel p {
font-size: 28px;
margin-bottom: 10px;
}
#instruction-panel ul {
font-size: 24px;
margin-left: 26px;
}
#game-description {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 20px;
background-color: #213555;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
outline: 2px solid black; /* Add black outline */
color: #F5EFE7;
font-size: 24px;
text-align: center;
}
#ball1 {
left: 50px;
}
#ball2 {
left: 225px;
}
#ball3 {
left: 400px;
}
@keyframes bounce {
0% {
bottom: 0;
}
50% {
bottom: 350px;
}
100% {
bottom: 0;
}
}