-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.css
75 lines (62 loc) · 1013 Bytes
/
snake.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
body {
background-color: #EEEEEE;
font-family: sans-serif;
}
#global-container {
border: solid 2px #666666;
border-radius: 4px;
background-color: #CCCCCC;
justify-content: center;
align-items: center;
display: flex;
padding: 10px;
}
#playing-field-container {
position: relative;
flex: 0 0 720px;
height: 600px;
}
#playing-field {
border: solid 1px #666666;
border-radius: 4px;
background-color: #DDDDDD;
position: relative;
top: 50%;
transform: translateY(-50%);
margin: auto;
}
.body-part {
border: solid 1px #666666;
border-radius: 4px;
background-color: #444444;
position: absolute;
}
#output {
width: 130px;
padding: 0 0 0 10px;
}
#body-0 {
background-color: #222222;
}
#lost {
visibility: hidden;
}
#retry {
}
#star-container {
display: flex;
justify-content: center;
position: absolute;
}
#star {
text-align: center;
}
#left-column {
width: 180px;
}
#navigation p {
text-align: justify;
}
h3, #output {
text-align: center;
}