/
main.css
61 lines (54 loc) · 914 Bytes
/
main.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
.view-container {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.view {
position: relative;
top: 0;
display: none;
}
.main-view .logo {
height: 280px;
width: 280px;
border-radius: 100%;
}
#background-video {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: 0;
}
#background-video::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(0,0,0,0.4);
}
#background-video video {
object-fit: cover;
width: 100vw;
height: 100vh;
}
.capture-view .camera {
display: inline-block;
border-radius: 100%;
overflow: hidden;
height: 280px;
width: 280px;
position: relative;
}
.capture-view .camera video {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%)
}