From af2fb0e58d996b4961aad87f314d34ad003f7b76 Mon Sep 17 00:00:00 2001 From: WasabiFan Date: Tue, 3 May 2016 08:19:23 -0700 Subject: [PATCH] Properly format and align project images/buttons --- projects/index.html | 4 ++-- stylesheets/page-content.scss | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/projects/index.html b/projects/index.html index 90dfb9d3d..eb842b27d 100644 --- a/projects/index.html +++ b/projects/index.html @@ -29,11 +29,11 @@ {% assign num_words = 60 %}
-
+
{% if post.youtube_video_id %} {% assign num_words = 35 %} - project thumbnail image + {{ post.title }} {% endif %}
diff --git a/stylesheets/page-content.scss b/stylesheets/page-content.scss index f73263faf..2485b5801 100644 --- a/stylesheets/page-content.scss +++ b/stylesheets/page-content.scss @@ -3,4 +3,18 @@ .language-icon { height: 25px; +} + +.project-thumbnail-container { + img { + margin-top: 15px; + } + + .caption { + padding-bottom: 0; + } + + .btn-primary { + width: 100%; + } } \ No newline at end of file