-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (96 loc) · 1.66 KB
/
style.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
116
117
118
html {
height: 100%;
min-height: 100%;
}
body {
color: white;
margin: 0;
padding: 0;
background: black;
margin: auto;
display: grid;
grid-template: 1fr min-content/1fr;
height: 100%;
}
.video-container {
top:0;
left: 0;
}
#video {
width: 100%;
height: 75%;
object-fit: cover;
z-index: 0;
}
.camera-controls{
position: fixed;
background-color: black;
bottom: 0;
width: 100%;
height: auto;
display: grid;
grid-template-rows: auto;
grid-template-columns: 1fr 1fr 1fr;
margin-bottom: 1em;
}
#canvas {
display: none;
}
#photo {
border-radius: 100%;
width: 70px;
height: 70px;
align-self: center;
justify-self: center;
}
button {
outline: none;
color: white;
opacity: 1;
background: transparent;
border: solid 2px #fff;
padding: 0;
text-shadow: 0px 0px 4px black;
background-position: center center;
background-repeat: no-repeat;
pointer-events: auto;
}
.snap {
width: 70px;
height: 70px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.5);
align-self: center;
justify-self: center;
}
#snap:active {
background-color: #fff;
}
#flip {
background-image: url('https://cdn.glitch.com/f5e9ac2c-d9fb-4f72-8970-ba1907ab0a95%2Fflip_camera.svg?v=1626905989989');
background-size: cover;
}
.msg {
grid-row: 1;
font-size: 18px;
grid-column: 1 / 4;
justify-self: center;
display:none;
}
@media (vertical-viewport-segments: 1) and (device-posture: folded) {
body {
display: flex;
flex-flow: column nowrap;
}
.video-container{
height: 100vw;
width: 100vw;
}
#video{
height:100%;
}
.msg {
display:block;
margin: 5em;
}
}