From 673332654a6faead1bddd8c60cc4d9518faa8c30 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sat, 2 Sep 2017 20:31:44 +0100 Subject: [PATCH] Define an HTML header block --- layouts/partials/header.html | 18 ++++++++++-------- static/css/main.css | 4 ++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 41a67a6..98adeb6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -27,12 +27,14 @@ {{- template "_internal/twitter_cards.html" -}} -

{{ .Site.Title }}

+
+

{{ .Site.Title }}

-
- {{ range .Site.Params.social}} - - - - {{ end }} -
+
+ {{ range .Site.Params.social}} + + + + {{ end }} +
+
diff --git a/static/css/main.css b/static/css/main.css index a5132e6..7c1a7e6 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -191,6 +191,10 @@ ul.tag-cloud li a, ul.tag-cloud li a:visited { color: white; } +header { + margin: 60px 0; +} + @media screen and (max-width: 599px) { body { width: 90%;