-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (56 loc) · 975 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
body {
margin: 0;
font-family: Tahoma, sans-serif;
}
.intro {
max-height: 100vh;
overflow: hidden;
position: relative;
background: url("cover.jpg") center no-repeat;
background-size: cover;
}
.intro:after {
content: "";
display: block;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .8);
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.intro__content {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 3;
}
.intro__title {
margin: 0;
font-size: 45px;
color: #fff;
text-align: center;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.video {
position: relative;
z-index: 1;
padding-bottom: 56.25%;
}
.video__media {
width: 100%;
height: auto;
position: absolute;
top: 0;
left: 0;
}