-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
70 lines (61 loc) · 1.09 KB
/
main.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
body
{
font-family: arial;
background-color: #effff8;
margin: 0;
}
.main-box {
display: flex;
width: 100vw;
height: 100vh;
flex-direction: column;
}
.power_controls {
padding: 20px;
text-align: center;
margin-top: 50px;
}
#spin_button {
width: 50%;
}
#spin_button:not(.clickable) {
filter: grayscale(1);
}
#canvas {
width: 100%;
aspect-ratio: 1 / 1;
}
/* Sets the background image for the wheel */
.the_wheel
{
aspect-ratio: 1 / 1;
position: relative;
background-image: url(./wheel_back.png);
background-position: top center;
background-repeat: no-repeat;
padding-top: 70px;
margin-top: 70px;
}
.center-box {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
aspect-ratio: 1 / 1;
margin-top: 70px;
}
#win-label {
font-size: 40px;
font-weight: bold;
color: green;
}
/* Style applied to the spin button once a power has been selected */
.clickable
{
cursor: pointer;
}