From 5da1fbec8756b13d9067996a3725cc16770bc2f5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 8 Apr 2016 17:32:22 +0100 Subject: [PATCH] Resize project cards on index --- static/src/less/homepage.less | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/static/src/less/homepage.less b/static/src/less/homepage.less index 5556cf5..7821b1a 100644 --- a/static/src/less/homepage.less +++ b/static/src/less/homepage.less @@ -88,7 +88,7 @@ body.index { } .thumbnail { padding: 15px; - height: 300px; + height: 275px; text-align: center; &.larger { .inner { @@ -100,15 +100,14 @@ body.index { } } &.project h2 { - font-size: 27px; + @media (min-width: @screen-sm-min) { + font-size: 30px; + } } } - @media (max-width: @screen-xs-max) { - height: 400px; - } img { max-width: 100%; - max-height: 50%; + max-height: 45%; } h3 { margin: 10px 0;