-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
84 lines (84 loc) · 1.5 KB
/
index.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
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
html {
font-family: Roboto;
}
body {
padding: 0px;
margin: 0px;
background: rgb(122, 0, 69);
color: rgb(229, 229, 229);
}
h1 {
font-weight: 700;
margin-top: 10px;
margin-bottom: 15px;
font-size: 3.5em;
}
.center {
text-align: center;
}
.controller-status {
font-weight: bold;
text-align: center;
}
#controller-connected {
font-size: 1.2rem;
}
#controller-connected-area {
display: none;
}
#controller-not-connected-area {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
#rumble-on-button-press-area {
margin-bottom: 10px;
text-align: center;
}
.loader {
display: inline-block;
border: 3px solid rgb(229, 229, 229);
border-radius: 50%;
border-top: 3px solid transparent;
width: 16px;
height: 16px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#buttons {
display: grid;
grid-template-columns: repeat(8, minmax(min-content, max-content));
grid-gap: 15px;
justify-content: center;
justify-items: start;
}
.button {
border: 1px solid rgb(229, 229, 229);
height: 50px;
min-width: 50px;
display: flex;
z-index: -1;
}
.button-text-area {
padding-left: 10px;
padding-right: 10px;
}
.button-text-area {
z-index: 100;
}
.selected-button {
fill: rgb(73, 0, 0);
}
.axis-name {
font-weight: bolder;
}