forked from dionyziz/canvas-tetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (50 loc) · 940 Bytes
/
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
body {
display: flex;
justify-content: center;
gap: 10px;
font-family: 'Fredoka', sans-serif;
}
canvas {
display: block;
border: 3px solid gainsboro;
}
#buttons {
display: flex;
flex-direction: column;
gap: 10px;
}
button {
width: 150px;
height: 50px;
display: block;
font-family: 'Fredoka', sans-serif;
font-size: 30px;
background-color: white;
cursor: pointer;
border-radius: 15px;
border: 3px solid rgba(236, 76, 40, 0.75);
color: rgba(236, 76, 40, 0.75);
background: rgba(236, 76, 40, 0.5);
}
button:disabled {
background: #d4ced6;
color: #c6b5c9;
border: 3px solid #c6b5c9;
}
.score-display {
display: block;
width: 150px;
text-align: center;
font-size: 30px;
}
canvas {
height: 540px;
width: 225px;
}
@media (min-width: 500px) {
canvas {
height: 720px;
width: 300px;
}
}
/* 225, 540 */