-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (79 loc) · 1.29 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
* {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #000;
color: #fff;
}
html {
font-size: 62.5%;
}
header {
display: flex;
height: 10rem;
margin: 0 10.8rem;
align-items: center;
justify-content: space-between;
}
header span {
font-size: 3rem;
}
.unorder-menu {
display: flex;
list-style: none;
}
.menu-link {
margin: 0 1rem;
text-decoration: none;
color: #c6e518;
font-size: 2rem;
}
.menu-link:hover {
color: #C7C7C7;
}
#snake {
display: flex;
align-items: center;
justify-content: space-evenly;
}
#game-info {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
font-size: 3rem;
}
h1,
h2,
button {
font-family: "Pixelify Sans", sans-serif;
}
#gameCanvas {
border: 0.4rem solid gray;
}
button {
display: block;
margin: 2rem 0;
padding: 1.4rem;
background-color: #fff;
color: #000;
font-size: larger;
border-radius: 10rem;
}
#game-info {
height: 95vh;
width: 95vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: 2rem;
line-height: 3rem;
}
footer {
display: flex;
justify-content: center;
margin-bottom: 4rem;
}