-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (66 loc) · 1.21 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
.page {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0;
padding: 1.85vmin;
background-color: bisque;
}
.control-box {
display: block;
padding: 10vmin 10vmin 0;
text-align: center;
}
.canvas-box {
display: flex;
justify-content: center;
align-items: center;
width: 96.3vmin;
height: 96.3vmin;
}
.ctx {
background-color: #0ff855;
border: 1.85vmin solid black;
}
/* btn-start */
.btn-start {
font-size: 30px;
background-color: yellow;
margin-bottom: 30px;
}
.btn-start:active {
background-color: red;
}
.btns {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 200px;
height: 200px;
}
.btns__flex-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.up, .left, .right, .down {
box-sizing: border-box;
width: 60px;
height: 60px;
background-color: aqua;
border: 2px solid black;
border-radius: 25px;
}
.up:hover, .down:hover, .left:hover, .right:hover {
cursor: pointer;
background-color: yellow;
}
.btn:hover {
cursor: pointer;
background-color: aqua;
}
.up:active, .down:active, .left:active, .right:active {
background-color: red;
}