From 313c418788d2db71479f8f68b6adf7e7321af757 Mon Sep 17 00:00:00 2001 From: nodejh Date: Sun, 9 Apr 2017 20:56:12 +0800 Subject: [PATCH] change margin-top from 100px to 60px of home page --- layouts/partials/post-list.html | 8 +++++++- static/css/style.css | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html index 2b31d37..d519a50 100644 --- a/layouts/partials/post-list.html +++ b/layouts/partials/post-list.html @@ -5,7 +5,13 @@
  • - {{ .Title }}

    {{ .Description | markdownify }}

    + {{ if .Site.Params.useDescriptionAsTitle }} + {{ .Description }}

    {{ .Title | markdownify }}

    + {{ else }} + {{ .Title }}

    {{ .Description | markdownify }}

    + {{ end }} + +
  • {{ end }} {{ end }} diff --git a/static/css/style.css b/static/css/style.css index 2d8c177..546d550 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -135,7 +135,7 @@ h2 { } .profile #wrapper { - padding: 100px 40px 0px; + padding: 60px 40px 0px; max-width: 600px; margin: 0 auto; }