From 6f6bb693842a72361df66f154c397102e2d41951 Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Sat, 19 Mar 2016 21:59:23 +0000 Subject: [PATCH] Style projects on index --- static/src/less/homepage.less | 18 +++++++++++++++--- templates/index.html | 5 +++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/static/src/less/homepage.less b/static/src/less/homepage.less index 9a66406..eee7b69 100644 --- a/static/src/less/homepage.less +++ b/static/src/less/homepage.less @@ -108,11 +108,21 @@ body.index { } #project-thumbnails { - margin-top: @container-inset; - margin-bottom: @container-inset; + background-image: @blueprint-logo; + background-size: cover; + background-attachment: fixed; + & > div > .row { + margin-top: @container-inset; + margin-bottom: @container-inset; + & > h1 { + color: white; + text-align: center; + } + } .thumbnail { padding: 15px; height: 300px; + text-align: center; &.see-more { h1 { position: relative; @@ -124,7 +134,6 @@ body.index { @media (max-width: @screen-xs-max) { height: 400px; } - text-align: center; img { max-width: 100%; @media (min-width: @screen-sm-min) { @@ -137,6 +146,9 @@ body.index { h3 { margin: 10px 0; } + .caption { + padding: 0; + } } } diff --git a/templates/index.html b/templates/index.html index 51d4756..eb3894d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,8 +34,9 @@
-
-
+
+
+

All Projects

{% for key, project in projects.items %}