From 929cbc3ee0fad5aa4ca784c7e4c423b32dd95415 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 11 Nov 2015 16:18:09 +0000 Subject: [PATCH] Added personal tile background --- static/src/less/style.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/src/less/style.less b/static/src/less/style.less index b0a6c79..0e44219 100644 --- a/static/src/less/style.less +++ b/static/src/less/style.less @@ -120,7 +120,8 @@ ol , ul{ color: white; margin: 0 auto; cursor: pointer; - background-size: contain; + background-size: cover; + background-position: center; .box-shadow(0px 4px 5px 2px rgba(0,0,0,0.7)); &:hover .project { @@ -131,14 +132,12 @@ ol , ul{ background-image: url(http://cdn.ttgtmedia.com/rms/computerweekly/39826_college-of-richard-collyer.gif); } &.personal { - background-color: red; + background-image: url(http://www.inzeed.com/kaleidoscope/wp-content/uploads/2014/11/stock-footage-computer-code-background1.jpg); } - &.work { background-image: url(http://www.recommendedagencies.com/images/logos/dabapps-logo-1432733278.jpg); } - & .project { padding: 25px; .transition(~"opacity 0.5s ease-in");