center the figures

This commit is contained in:
nek0 2016-09-02 20:47:39 +02:00
parent d41bea427b
commit 8e8e7ba42c

View file

@ -148,6 +148,12 @@ a:hover, .item a:hover, .medium a:hover, a:hover figcaption {
height: 230px;
}
figure {
position: relative;
top: 50%;
transform: translateY(-50%);
}
figure img {
display: block;
margin: 0 auto;