-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
145 lines (127 loc) · 2.5 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
body,
html {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
overflow: hidden;
background-color: #1c1c1b;
}
h1 {
color: orange;
font-family: 'Roboto', sans-serif;
font-size: 5vmin;
margin-bottom: 1vmin;
margin-left: 5vmin;
margin-right: 5vmin;
text-align: center;
}
h2 {
color: orange;
font-family: 'Roboto', sans-serif;
font-size: 3vmin;
margin-bottom: 5vmin;
margin-left: 5vmin;
margin-right: 5vmin;
text-align: center;
}
#matrix {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
gap: 5px;
width: 80vmin;
height: 80vmin;
padding: 2vmin;
}
button {
border: 2px solid orange;
color: orange;
background-color: #1c1c1b;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
button:hover {
color: #1c1c1b;
background-color: orange;
}
.square {
background-color: #ddd;
width: 100%;
height: 100%;
}
.ball {
width: 100px;
height: 100px;
/* background-color: white; */
position: absolute;
cursor: pointer;
text-align: center;
font-size: 50px;
/* Make sure positioning doesn't affect the flexbox */
}
#ballhome {
width: 50vmin;
height: 1vmin;
margin-top: 8vh;
display: flex;
align-items: center;
justify-content: space-evenly;
}
.fx {
font-size: 50px;
display: flex;
justify-content: space-between;
margin-top: 10vh;
}
.fxspacer {
width: 60vmin;
}
/* Keyframes for the spinner shown at load time */
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.spinner {
width: 5vmin;
height: 5vmin;
/* border-radius: 50%; */
background-color: orange;
-webkit-animation: spin 4s linear infinite;
-moz-animation: spin 4s linear infinite;
animation: spin 4s linear infinite;
}
progress {
margin-top: 5vmin;
width: 50 vw;
height: 2.5vmin;
background-color: orange;
color: orange;
}
progress::-webkit-progress-bar {
background-color: black;
}
progress::-webkit-progress-value {
background-color: orange;
}
progress::-moz-progress-bar {
background-color: orange;
}