-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (61 loc) · 1.16 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
body {
background-color: indigo;
color: #fff;
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 0;
padding: 0;
}
.game-container {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
height: 100vh;
width: 100vw;
}
canvas {
border: 4px solid #ff6600;
border-radius: 8px;
background-color: #feff9d;
}
.btns {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin: 0 auto;
width: 100%;
}
@media (max-width: 360px) {
.game-container{
height: auto;
}
}
button {
background-color: #fdef05;
border-radius: 8px;
border-color: #ff6600;
font-family: inherit;
margin: 0;
padding: 5px 20px;
width: 100px;
}
button:not(:last-child) {
margin-right: 10px;
}
.messages {
display: flex;
text-align: center;
flex-wrap: wrap;
margin: 0 auto;
width: 80%;
max-width: 460px;
}
p {
display: block;
margin: 0;
width: 100%;
}
@media (max-width: 440px) {
button { margin-top: 25px; }
#up, #down { margin-left: 100%; margin-right: 100%; }
}