-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (73 loc) · 1.35 KB
/
style.css
File metadata and controls
82 lines (73 loc) · 1.35 KB
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
* {
margin: 0;
padding: 0;
font-family: sans-serif;
user-select: none;
}
body {
overscroll-behavior: none;
margin: none;
padding: none;
background-color: black;
color: white;
}
#record {
width: 5rem;
height: 5rem;
background-color: green;
}
#stop {
width: 5rem;
height: 5rem;
background-color: red;
}
#dpad {
width: 50vw;
height: 50vw;
position: relative;
display: flex;
justify-content: center;
align-items: center;
border-radius: 25vw;
border: 1px white solid;
box-shadow: 0 0 25vw inset #555577;
}
#dpad-knob {
width: 15vw;
height: 15vw;
border-radius: 7.5vw;
background-color: #aaa;
position: relative;
box-shadow: 0 0 7.5vw black inset;
}
.btn {
width: 10rem;
height: 10rem;
display: flex;
justify-content: center;
align-items: center;
border: 1px white solid;
border-radius: 5rem;
box-shadow: 0 0 5rem blue inset;
font-size: 2.5rem;
transition: all 0.5s linear;
}
#container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
#controls-container {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
gap: 2.5rem;
}
#spaceship {
height: 30%;
}