-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (102 loc) · 1.76 KB
/
styles.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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.page-container {
left: 0;
right: 0;
margin: auto;
margin-top: 20px;
padding-left: 280px;
display: inline-flex !important;
}
@media only screen and (max-width : 992px) {
.page-container {
padding-left: 0;
display: flex !important;
}
}
#navbar {
position: absolute;
top: 20px;
left: 20px;
}
.center-content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.side-by-side {
display: flex;
justify-content: center;
align-items: center;
}
.side-by-side >* {
margin: 0 5px;
}
.bold {
font-weight: bold;
}
.margin-sm {
margin: 5px;
}
.margin {
margin: 20px;
}
.button-sm {
padding: 0 10px !important;
}
.pad-sides-sm {
padding: 0 8px !important;
}
#github-link {
display: flex !important;
justify-content: center;
align-items: center;
border-bottom: 1px solid;
margin-bottom: 10px;
}
#overlay, .overlay {
position: absolute;
top: 0;
left: 0;
}
#facesContainer canvas {
margin: 10px;
}
input[type="file"]::-webkit-file-upload-button {
background: #26a69a;
border: 1px solid gray;
cursor: pointer;
color: #fff;
border-radius: .2em;
}
html, body{
height:100vh;
overflow: hidden;
}
#inputVideo, #overlay{
width: 100vw; /* Could also use width: 100%; */
height: 100vh;
object-fit: cover;
position: fixed; /* Change position to absolute if you don't want it to take up the whole page */
left: 0px;
top: 0px;
z-index: -1;
}
.recognition-status{
position: fixed;
bottom:20px;
left:50%;
transform:translateX(-50%);
z-index:10;
display: flex;
width:calc(100% - 40px);
}
.recognition-label{
background:#1e1e1e;
color:#fff;
border-radius: 25px;
margin:auto;
padding:20px;
width:100%;
text-align: center;
}