-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyt-consent.css
61 lines (56 loc) · 1.26 KB
/
yt-consent.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
.video_wrapper {
/* Dummy image*/
background-image: url("dummy.jpg");
-moz-background-size: cover;
-webkit-background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
height: 400px;
width: 100%;
}
.video_wrapper .video_trigger {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
z-index: 9;
/* Centre content */
display: flex;
align-items: center;
justify-content: center;
text-align: center;
flex-direction: column;
}
.video_wrapper .video_layer {
position: relative;
display: none;
height: inherit;
width: inherit;
margin: auto;
}
.video_wrapper .video_layer iframe {
border: 0px none transparent;
height: inherit;
width: inherit;
padding: 0;
}
.video_wrapper .video-btn {
cursor: pointer;
display: inline-block;
transition: color 0.5s, background-color 0.5s, border 0.5s;
padding: 8px 16px;
font-size: 16px;
background-color: transparent;
color: #fff;
border: 1px solid #fff;
border-radius: 3px;
}
.video_wrapper .video-btn:hover {
background-color: #fff;
color: #000;
}