From aa1d36d70fe6de07228f71c0dc39722c5bc9edf1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 8 May 2017 08:45:12 +0100 Subject: [PATCH] make boxes better --- layouts/partials/box.html | 4 +++- static/src/scss/style.scss | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/layouts/partials/box.html b/layouts/partials/box.html index b5ec215..73e87fb 100644 --- a/layouts/partials/box.html +++ b/layouts/partials/box.html @@ -1,6 +1,8 @@
-

{{ title .LinkTitle }}

+ +

{{ title .LinkTitle }}

+

{{ .Summary | truncate .Site.Params.summary_length "..." }}

  • Read More
  • diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index ab7aca5..b894db4 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -7,8 +7,12 @@ $fa-font-path: "../fonts"; @import "alpha"; -.box .box { - border-radius: 0; +.box { + padding: 2em; + + .box { + border-radius: 0; + } } .dropotron {