-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (47 loc) · 924 Bytes
/
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
/* body ::before {
display: block;
content: '';
height: 60px;
} */
@media (min-width: 768px) {
.news-input {
width: 50%;
}
}
body {
overflow-x: hidden;
overflow-y: scroll;
}
.fullscreen-video {
position: relative;
top: 56px;
left: 0;
width: 100vw;
height: calc(100vh - 250px);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
border-top: none;
border-bottom: none;
}
.video-container video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
}
.video-container video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}