-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
54 lines (47 loc) · 931 Bytes
/
Copy pathstyle.css
File metadata and controls
54 lines (47 loc) · 931 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #e3f2fd;
}
.wrapper {
width: 70vmin;
height: 80vmin;
display: flex;
flex-direction: column;
background: #293447;
border-radius: 6px;
}
.game-details {
color: #b8c6dc;
font-size: 1.2rem;
font-weight: 500;
padding: 20px 27px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.play-board {
width: 100%;
height: 100%;
background: #212837;
display: grid;
grid-template: repeat(30, 1fr) / repeat(30, 1fr); /* grid tempalte rows + columns*/
}
.play-board .food {
background: red;
}
.play-board .poison {
background: rgb(88, 15, 11);
}
.play-board .head {
background: rgb(83, 184, 227);
}