From df668bdb617a684a82b4a6db05add37476a5df2c Mon Sep 17 00:00:00 2001 From: Joseph Hutchinson Date: Mon, 19 Mar 2018 14:43:45 -0400 Subject: [PATCH] Put drop case only on post page and make whole card a link --- layouts/_default/li.html | 16 ++++++++-------- layouts/_default/single.html | 2 +- static/css/style.css | 5 +++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/layouts/_default/li.html b/layouts/_default/li.html index fb92dee..b300680 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -1,8 +1,8 @@ -
-

- {{ .Title }} -

- -

{{ .Description }}

- {{ if .Truncated }}Continue reading{{ end }} -
\ No newline at end of file + +
+

{{ .Title }}

+ +

{{ .Description }}

+ +
+
\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f7aa5ee..148d847 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@
-
+

{{ .Title }}

diff --git a/static/css/style.css b/static/css/style.css index fdec800..1434526 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -6,6 +6,7 @@ body { padding: 0; } p { + line-height: 1.5rem; margin: 1.5rem 0; } b, @@ -22,7 +23,7 @@ header > h1 { color: #7A7B7C; font-size: .8em } -article > p:first-of-type::first-letter { +.post > p:first-of-type::first-letter { font-family: 'LatoLatinWebHeavyItalic'; float: left; font-size: 3em; @@ -56,7 +57,7 @@ img { .card { background-color: white; padding: 15px; - border-radius: 10px; + border-radius: 5px; box-shadow: 0 20px 25px 0px rgba(0, 0, 0, 0.05); } .card-title {