blob: d4d2f8943b60b0cfa0097591db6fa1ecde4d062f (
plain) (
blame)
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
|
// Media
.img-responsive {
display: block;
height: auto;
max-width: 100%;
}
.video-responsive {
height: 0;
overflow: hidden;
padding-bottom: 56.25%; /* Default 16:9, you can calculate this value by dividing 9 by 16 */
padding-top: 3rem;
position: relative;
iframe,
object,
embed {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
video {
height: auto;
max-width: 100%;
width: 100%;
}
}
.video-responsive-4-3 {
padding-bottom: 75%; /* 4:3 */
}
.figure {
margin: 0 0 @layout-gutter 0;
.figure-caption {
color: @core-meta-color;
margin-top: @layout-gutter;
}
}
|