From 4b7ad2da7782ba0d9af425d64326bace70c1390d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 12 Nov 2017 12:49:50 +0000 Subject: [PATCH] Remove inline styles --- layouts/partials/content.html | 4 ++-- static/src/scss/style.scss | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index e0f38e2..d4f93da 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -1,5 +1,5 @@ {{ if .Params.image }} -
+
{{ end }}

{{ .Title }}

{{ partial "subtitle.html" . }}
@@ -9,7 +9,7 @@ {{ end }} {{ range .Params.tags }} - + {{ . }} {{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index b8bd324..47696b5 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -180,3 +180,12 @@ p code { @extend .chroma; padding: $spacer * 0.25; } + +.header-image { + width: 100%; + height: 35vh; +} + +.tag { + font-size: 1rem; +}