forked from XRPLF/xrpl-dev-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_video.scss
95 lines (84 loc) · 1.59 KB
/
_video.scss
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
.video-image {
transition: all 0.35s ease-out;
cursor: pointer;
&:hover {
-webkit-transform: translateY(-16px);
-moz-transform: translateY(-16px);
-ms-transform: translateY(-16px);
-o-transform: translateY(-16px);
transform: translateY(-16px);
}
}
#video-overlay {
position:fixed;
top:0;
left:0;
z-index:1190;
height:100%;
width:100%;
background:#ffffff;
opacity:0.6;
display:none;
}
#video {
display: none;
position: fixed;
top: 10%;
left: 15%;
width: 70%;
z-index: 1200;
}
#video-container {
position: relative;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
max-width: 982px;
padding: 0 20px;
}
#videoWrapper {
position: absolute;
top: 0;
left: 0;
height: calc(90vh - 100px);
width: 80vw;
}
#videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-external-link {
color: $blue-purple-400;
font-weight: 600;
&::after {
content: "\00a0";
background-image: url(../img/icons/arrow-up-right.svg);
background-repeat: no-repeat;
display: inline-block;
background-size: 10px;
padding: 0 4px 0 8px;
width: 2rem;
background-position: left 8px bottom 6px;
transition: background-position 100ms ease-in-out;
}
&.video-external-link:hover::after {
background-position: left 12px bottom 8px;
}
}
.video-title{
line-height: 1.2;
@include media-breakpoint-up(md) {
font-size: 1rem;
}
}