/
media2click.css
49 lines (41 loc) · 1.03 KB
/
media2click.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
.media2click-placeholder {
display: block;
background: #ddd url(../Images/placeholder.svg) no-repeat center center;
background-size: contain;
box-sizing: border-box;
padding: 1em;
text-align: center;
cursor: pointer;
transition: background-color .2s;
}
.media2click-placeholder.media2click-haspreview {
color: #000;
text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff;
}
.media2click-placeholder:hover {
background-color: #eee;
}
.media2click-title {
display: block;
font-weight: bold;
margin-bottom: .5em;
}
.media2click-placeholder-inner {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.media2click-placeholder.media2click-haspreview .media2click-placeholder-inner {
background-image: url(../Images/videobutton.png);
background-size: 30% auto;
background-position: center center;
background-repeat: no-repeat;
}
.media2click-content {
display: block;
}
.media2click-wrap iframe {
display: none;
}