-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (77 loc) · 1.41 KB
/
style.css
File metadata and controls
86 lines (77 loc) · 1.41 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
83
84
85
html, body {
margin: 0;
padding: 0;
}
canvas {
display: block;
width: 80%;
margin: 0 auto;
}
#hud{
position: absolute;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-content: center;
padding: 5vh 5vw;
/* border: 1px solid black; */
}
#hud > div {
display: flex;
justify-content: space-between;
width: 80%;
margin: 5px auto;
}
/* #hud > div button:first-child{
} */
#resetButton {
position: absolute;
top: 0;
left: 0;
margin: 10vh 5vw;
}
.buttonContainer{
position: relative;
width: 20vw;
margin: 0px auto;
height: 36px;
}
button{
width: 100%;
font-family: sans-serif;
position: absolute;
top: 0;
bottom: 0;
color: white;
outline: 0;
z-index: 100;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid white;
border-bottom: 6px solid white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3),
0 5px 5px rgba(0, 0, 0, 0.3)
;
transition: all 0.1s ease;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
button:hover{
background-color: rgba(255, 255, 255, 0.2);
}
button:active{
margin-top: 3px;
background-color: rgba(255, 255, 255, 0.1);
border-bottom: 3px solid white;
}
button:disabled{
color: rgba(255,255,255, 0.3);
margin-top: 6px;
border-bottom: 1px solid white;
}