-
Notifications
You must be signed in to change notification settings - Fork 10
/
photoswipe-masonry-inline.css
64 lines (63 loc) · 1.1 KB
/
photoswipe-masonry-inline.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* PhotoSwipe Plugin */
.psgal {
margin: auto;
padding-bottom:40px;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
opacity:0.1;
}
.psgal.use_masonry_{
opacity:1;
}
.psgal.use_masonry_1{
opacity:1;
text-align:center;
}
.psgal.photoswipe_showme{
opacity:1;
}
.psgal figure {
float: left;
text-align: center;
padding:5px;
margin: 0px;
box-sizing:border-box;
}
.psgal.use_masonry_1 figure {
float:none;
display:inline-block;
}
.psgal a{
display:block;
}
.psgal img{
margin:auto;
max-width:100%;
width: auto;
height: auto;
border: 0;
}
.psgal figure figcaption{
font-size:13px;
}
.msnry{
margin:auto;
}
.pswp__caption__center{
text-align: center;
}
.psgal.show_captions_ figure.photoswipe-gallery-caption {
display:none;
}
@media(max-width:650px){
.photoswipe_showme figure{
width: 100% !important;
max-width: auto;
height: auto;
}
.photoswipe_showme figure a {
height: auto !important;
}
}