Cool-Y.github.io/themes/next/source/css/_common/components/post/post-gallery.styl

24 lines
424 B
Stylus
Raw Permalink Normal View History

2019-04-02 08:28:32 +00:00
.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; }