blob: 58d3514c7a0e248186d441e3206315d092a16598 (
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
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
|
.reveal ul.gallery {
position: relative;
list-style-type: none;
margin: 0;
padding: 0;
width: 960px;
height: 700px;
}
.reveal ul.gallery[data-mode=full-screen] {
width: 100%;
height: 100%;
}
.gallery li {
display: block;
position: absolute;
top: 0;
left: 0;
width: 960px;
height: 700px;
opacity: 0;
-webkit-transition: opacity 0.3s ease-in-out;
-moz-transition: opacity 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}
.gallery[data-mode=full-screen] li {
width: 100%;
height: 100%;
background-size: 100% 100%;
background-attachment:fixed;
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.gallery .active {
opacity: 1;
}
.gallery .inactive {
opacity: 0;
}
.gallery img {
display: block;
position: absolute;
top: 0;
left: 0;
border: none !important;
}
.gallery label {
display: block;
position: absolute;
bottom: 20px;
min-width: 150px;
left: 0;
padding: 10px;
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 24px;
}
|