-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.css
70 lines (58 loc) · 963 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
* {
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
body {
background: black;
min-width: 260px;
min-height: 320px;
}
.container {
width: 100%;
height: 100%;
padding: 5rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}
canvas {
flex: 0 0 75%;
border: 1px solid white;
}
.besturing {
flex: 0 0 22%;
display: flex;
justify-content: space-between;
}
.besturing button{
font-size: 2rem;
}
.besturing > * {
flex: 0 0 30%;
}
.besturing > .bovenBeneden {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.besturing > .bovenBeneden > button {
flex: 0 0 45%;
}
@media (max-width: 600px) {
.container {
padding: 1rem;
}
}
@media (max-height: 600px) {
.besturing button{
font-size: 1rem;
}
.container {
padding: 1rem;
}
}