From 74804764fb97e73c9123febe6426b835cc613dc7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 16 Jan 2016 14:59:20 +0000 Subject: [PATCH] Use flexbox to center --- static/src/less/homepage.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/src/less/homepage.less b/static/src/less/homepage.less index 7c2c91c..5f41f03 100644 --- a/static/src/less/homepage.less +++ b/static/src/less/homepage.less @@ -162,7 +162,10 @@ } & .project { - padding: 10%; + padding: 8%; + .flexbox(); + align-items: center; + justify-content: center; .transition(~"opacity 0.5s ease-in"); opacity: 0; background-color: rgba(0,0,0,0.7);