From 917ef95d97149352d65deac4e52ee7945beb5d5c Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Sun, 24 Mar 2019 11:22:22 +0100 Subject: Bigger line height in tags and date This makes it look better on phones / smaller windows. Signed-off-by: Ole Herman Schumacher Elgesem --- layouts/index.html | 2 +- static/css/style.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 4f4ad80..f4c67a5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,7 +10,7 @@ {{ partial "tags" .Params.tags }} {{ end }} -

{{ .Date.Format "January 2, 2006" }}

+

{{ .Date.Format "January 2, 2006" }}

{{ .Title }}{{ if .Draft }} ::Draft{{ end }}

{{ .Summary | plainify | safeHTML }} diff --git a/static/css/style.css b/static/css/style.css index 6aa39d3..349c9b6 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -2600,6 +2600,11 @@ a.box:active { font-size: 14px; } +.subtitle.tags, +.subtitle.date { + line-height: 1.5em; +} + .subtitle.is-normal { font-weight: 400; } @@ -6879,4 +6884,4 @@ div.subtitle.tags { .highlight pre { margin: 0; -} \ No newline at end of file +} -- cgit v1.2.3