From fd84f2e180ab04be26a99926c08c3bfa574beb59 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord Date: Wed, 28 Mar 2018 10:57:05 +0200 Subject: [PATCH] square thumbnails, gray photogrid background to combat hermann illusion --- static/css/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index d0b16dd..236372e 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -82,11 +82,16 @@ nav ul { justify-content: center; align-items: center; justify-items: center; + background-color: #3a3a3a; + padding: 2rem; } .photo-grid img { - max-height: 200px; + width: 200px; + height: 200px; + overflow: hidden; border-radius: 5px; + object-fit: cover; } .view-image {