This repository has been archived by the owner on Apr 7, 2021. It is now read-only.
forked from herkyl/webrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
executable file
·117 lines (96 loc) · 1.91 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
116
117
body {
background: black;
height: 100%;
margin: 0;
/* align-items: center; */
/* justify-content: center; */
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.attachBottom {
position: absolute;
bottom: 0;
}
.dark:lang(en) {
color: #222;
}
.light:lang(fr) {
color: #fff;
}
.light:lang(en) {
color: #ddd;
}
.dark:lang(fr) {
color: #000;
}
video {
background: white;
background-image: url(img/logo-peek-a-mons.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
max-width: calc(50% - 5%);
/* margin: 0 5%; */
box-sizing: border-box;
/* border-radius: 2px; */
padding: 0;
}
.videoContainer {
position: absolute;
top: 0;
bottom: 0;
width: 80%;
height: 100%;
overflow: hidden;
}
.spicy {
font-family: 'spicy_riceregular', georgia;
}
.videoContainer video {
/* Make video to at least 100% wide and tall */
min-width: 100%;
min-height: 100%;
/* Setting width & height to auto prevents the browser from stretching or squishing the video */
width: auto;
height: auto;
object-fit: cover;
/* Center the video */
position: absolute;
top: 0;
left: 0;
/* transform: translate(-50%,-50%); */
}
.copy {
position: fixed;
top: 25px;
left: 50%;
transform: translateX(-50%);
font-size: 18px;
color: white;
}
.floatOnTop {
position: fixed;
}
.center-when-flipped {
right: 0pt;
bottom: 45%;
}
.center-when-flipped2 {
left: 0pt;
bottom: 45%;
}
.mainVideo {
width: 100%;
height: 100%;
/* transform: translate(-50%,-50%) rotateY(180deg) rotateZ(90deg); */
/* transform: translate(-50%,-50%) rotateZ(90deg); */
}
.flip {
transform: rotateZ(90deg);
}
.mirrorHoriz {
transform: rotateY(180deg);
}
.upside-down {
/* transform: rotate(180deg); */
}