-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (77 loc) · 1.4 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
html,
body {
text-align: center;
background-color: rgb(37, 38, 41);
color: whitesmoke;
}
body {
margin: auto;
border: solid;
max-width: 500px;
border-radius: 25px;
padding: 10px;
background-color: rgb(34, 34, 34);
box-shadow: rgba(255, 255, 255, 0.4) 0px 2px 4px,
rgba(255, 255, 255, 0.3) 0px 7px 13px -3px,
rgba(255, 252, 252, 0.2) 0px -3px 0px inset;
}
h1 {
margin-top: 0;
text-shadow: 0 1px 0 rgb(202, 202, 202);
}
#start {
padding: 10px 25px;
}
button {
/* padding: 10px 25px; */
background-color: aqua;
color: black;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
}
button:hover {
color: brown;
background-color: aquamarine;
}
.buttons button {
margin: 5px;
}
#grid {
margin: 0 auto;
display: flex;
flex-wrap: wrap;
width: 200px;
height: 200px;
margin-top: 25px;
background-color: white;
box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
border-radius: 5px;
}
#LR-buttons {
display: flex;
justify-content: space-around;
}
.square {
width: 20px;
height: 20px;
border-radius: 8px;
}
#head {
background-color: brown;
border-radius: 5px;
}
.snake {
background-color: green;
box-shadow: rgba(0, 0, 0, 0.89) 0px 5px 15px;
}
.dead {
background-color: brown;
box-shadow: rgba(0, 0, 0, 0.89) 0px 5px 15px;
}
.apple {
background-color: red;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.89) 0px 5px 15px;
}