-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (86 loc) · 1.86 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
91
92
93
94
95
96
97
98
99
@import url("https://fonts.googleapis.com/css2?family=Fredoka:[email protected]&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
*{
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
}
body {
background-color: #000;
position: relative;
}
.heading{
text-align: center;
background-color: #DDC6B6;
color: #000;
padding: 20px;
}
.play-control{
margin: 80px auto;
display: flex;
justify-content: center;
align-items: center;
gap: 25px;
}
button {
font-size: 16px;
padding: 16px 32px;
cursor: pointer;
border: none;
}
.snake{
background-color: #DDC6B6;
color: #000;
font-weight: bold;
}
.water{
background-color: #DDC6B6;
color: #000;
font-weight: bold;
}
.gun{
background-color: #DDC6B6;
color: #000;
font-weight: bold;
}
#score{
display: flex;
flex-direction: row;
gap: 10px;
color: #DDC6B6;
font-size: 25px;
justify-content: flex-end;
margin-right: 20px;
}
#result{
display: flex;
flex-direction: column;
gap: 10px;
justify-content: center;
align-items: center;
color: #DDC6B6;
}
#computer,#user{
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 15px;
}
.final-card{
position: absolute;
top: 65%;
left: 28%;
margin: 80px auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 15px;
}
.final-card::before{
content: "";
display: block;
height: 60px;
background-color: #000;
}