-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstyles.css
102 lines (85 loc) · 1.35 KB
/
styles.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
94
95
96
97
98
99
100
101
102
body {
display: flex;
justify-content: center;
font-family: 'VT323', monospace;
background-color: #232980;
}
.game {
position: relative;
padding-top: 60px;
}
.game__body {
position: relative;
}
.game__body svg {
width: 800px;
fill: deeppink;
}
.controls {
position: absolute;
top: 718px;
left: 297px;
}
.controls__button {
position: absolute;
width: 44px;
height: 44px;
border-radius: 50%;
background-color: yellow;
cursor: pointer;
}
.controls__button:hover {
background-color: #d6d603;
}
.controls__button:nth-child(2) {
top: 20px;
left: 79px;
}
.controls__button:nth-child(3) {
left: 160px;
}
.game__screen {
position: absolute;
top: 360px;
left: 260px;
background: #efefef;
width: 280px;
height: 280px;
border-radius: 16px;
}
.game__screen canvas {
position: absolute;
}
.game__options {
display: none;
position: absolute;
background: #efefef;
width: 280px;
height: 280px;
border-radius: 16px;
}
.game__options.visible {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.game__options > div {
color: #666;
font-family: 'VT323';
font-size: 80px;
cursor: pointer;
}
.game__options > div:hover {
color: #444;
}
.game__options > div:hover:before {
content: '>';
}
.background {
width: 100%;
height: 100%;
}
.animation {
bottom: 4%;
}