-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmain.css
More file actions
98 lines (84 loc) · 1.59 KB
/
Copy pathmain.css
File metadata and controls
98 lines (84 loc) · 1.59 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
86
87
88
89
90
91
92
93
94
95
96
97
98
html, body {
background-color: black;
color: white;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
body video {
transition: filter 250ms linear;
}
body.loading video {
filter: grayscale(1) brightness(0.25);
}
body.loading:before {
content: "Loading Model...";
color: white;
text-align: center;
width: 100%;
position: absolute;
top: 20px;
font-size: 3em;
font-weight: bold;
z-index: 100;
}
#handValue {
color: white;
text-align: center;
width: 100%;
position: absolute;
top: 20px;
font-size: 3em;
font-weight: bold;
z-index: 100;
}
#dealerUpcard {
display: none;
position: absolute;
bottom: 35px;
width: 100%;
z-index: 100;
}
#dealerUpcard .instructions {
color: white;
font-size: 24px;
margin-bottom: 10px;
}
#dealerUpcard .options {
display: flex;
flex-wrap: wrap;
width: 100%;
}
#dealerUpcard button {
font-size: 24px;
flex: 1;
margin: 0 5px;
background-color: white;
border: 1px solid black;
cursor: button;
}
#dealerUpcard button.selected {
background-color: blue;
color: white;
border: 1px solid white;
}
html, body, video, canvas {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
video, canvas {
position: fixed;
top: 0;
left: 0;
}
#fps {
position: fixed;
bottom: 10px;
left: 10px;
}
#fps:empty {
display: none;
}
#fps:after {
content: " fps";
}