From 8e8e7ba42cef59382ed0c0e0267acbc718b50da1 Mon Sep 17 00:00:00 2001 From: nek0 Date: Fri, 2 Sep 2016 20:47:39 +0200 Subject: [PATCH] center the figures --- static/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index 6b67c6d..ffa6285 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -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;