From 2d78c03fe75bafb611bfc7e920c7565f45cdf3f6 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Sun, 4 Jun 2017 16:29:22 +0200 Subject: [PATCH] improve project page look ever so slightly --- content/assets/stylesheets/includes/projects.scss | 10 ++++++++-- layouts/partials/_project.erb | 2 +- package-lock.json | 11 +++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 package-lock.json diff --git a/content/assets/stylesheets/includes/projects.scss b/content/assets/stylesheets/includes/projects.scss index 4b3241e..2dce0e1 100644 --- a/content/assets/stylesheets/includes/projects.scss +++ b/content/assets/stylesheets/includes/projects.scss @@ -33,8 +33,12 @@ margin-top: 30px; } +.logo-wrapper { + padding-top: 0; + padding-bottom: 0; +} + .logo { - height: 10vw; width: 10vw; min-width: 100px; min-height: 100px; @@ -42,12 +46,14 @@ margin-right: auto; display: flex; align-items: center; + + height: 100%; } .logo-initial { margin: auto; color: white; - font-size: 6vw; + font-size: 5rem; font-family: $family-sans-serif; } diff --git a/layouts/partials/_project.erb b/layouts/partials/_project.erb index a217c44..34c49b5 100644 --- a/layouts/partials/_project.erb +++ b/layouts/partials/_project.erb @@ -1,6 +1,6 @@
-
+
<% if project[:logo_image] %>