Cool-Y.github.io/themes/next/source/css/_common/components/post/post-gallery.styl
2019-04-02 16:28:32 +08:00

24 lines
424 B
Stylus

.post-gallery {
display: table;
table-layout: fixed;
width: 100%;
border-collapse: separate;
}
.post-gallery-row { display: table-row; }
.post-gallery .post-gallery-img {
display: table-cell;
text-align: center;
vertical-align: middle;
border: none;
}
.post-gallery .post-gallery-img img {
max-width: 100%;
max-height: 100%;
border: none;
}
.fancybox-close, .fancybox-close:hover { border: none; }