-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyoutube-widgetic.css
More file actions
61 lines (50 loc) · 888 Bytes
/
youtube-widgetic.css
File metadata and controls
61 lines (50 loc) · 888 Bytes
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
#youtube-canvas {
padding: 1rem;
}
#youtube-canvas strong {
display: block;
}
#youtube-canvas>div,
#youtube-canvas>a.play {
display: inline-block;
margin: 0 -1rem;
}
#youtube-canvas figure {
margin: 0 0 1rem 0;
}
#youtube-canvas iframe {
border: none;
}
#youtube-canvas picture {
position: relative;
background: #eee;
display: inline-block;
}
#youtube-canvas picture::before {
content: url(/images/youtube-pasive.svg);
position: absolute;
text-align: center;
width: 100%;
margin-top: 30%;
}
#youtube-canvas :hover picture::before {
content: url(/images/youtube.svg);
}
#youtube-canvas img {
display: block;
max-width: 100%;
height: auto;
}
#youtube-canvas figcaption {
margin: 0 1rem;
text-align: left;
}
#youtube-canvas time {
float: left;
font-size: small;
}
#youtube-canvas [rel="enclosure"] {
float: right;
font-size: small;
margin-top: -1.3rem;
}