-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
64 lines (55 loc) · 1.1 KB
/
main.css
File metadata and controls
64 lines (55 loc) · 1.1 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
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;
}
html, body, video, canvas {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
video, canvas {
position: fixed;
top: 0;
left: 0;
}
body:after {
content: "Thanos Was Right";
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1;
font-size: 2em;
background-size: contain;
background-repeat: no-repeat;
background-position: bottom right;
}
#fps {
position: fixed;
bottom: 10px;
left: 10px;
}
#fps:empty {
display: none;
}
#fps:after {
content: " fps";
}