-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (74 loc) · 1.31 KB
/
style.css
File metadata and controls
84 lines (74 loc) · 1.31 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
body {
margin: 0;
padding: 0;
background-color: black;
color: white;
font-family: monospace;
}
body.webcam canvas {
transform: scaleX(-1);
}
canvas#source {
position: absolute;
top: 0; left: 0;
width: 50%; height: 100%;
object-fit: contain;
}
canvas#result {
position: absolute;
top: 0; left: 50%;
width: 50%; height: 100%;
object-fit: scale-down;
}
footer {
position: absolute;
width: 100%;
bottom: 20px;
text-align: center;
}
a {
color: white;
}
#inputs {
position: fixed;
bottom: 60px; left: 20px;
z-index: 1;
}
#inputs .option {
width: 60px; height: 60px;
float: left;
cursor: pointer;
position: relative;
}
#inputs .option img {
width: 100%; height: 100%;
object-fit: cover;
}
#inputs .option.user-input {
font-size: 2em;
text-align: center;
line-height: 60px;
border: 1px solid white;
box-sizing: border-box;
background: #222;
}
#inputs .option[type='photo-upload'] input {
position: absolute;
width: 100%; height: 100%;
left: 0; top: 0;
opacity: 0;
cursor: pointer;
}
.dg.main.a {
position: fixed;
left: 0;
top: 0;
}
video {
opacity: .00000001;
pointer-events: none;
z-index: -1;
position: absolute;
top: 0; left: 0;
width: 100px;
}