From 815d89ad49cbc35d97c13dc0ae016d6d1a0f7de6 Mon Sep 17 00:00:00 2001 From: NeilBrommer Date: Tue, 31 Jul 2018 14:32:35 -0700 Subject: [PATCH] Various small styling changes --- layouts/_default/single.html | 2 +- layouts/index.html | 2 ++ layouts/partials/htmlhead.html | 2 +- static/css/main.css | 7 +++++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9bf136e..a1c5417 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@
{{ if isset .Params "description" }}
-

{{ .Title }}

+

{{ .Title }}

{{ .Params.description | markdownify }}
diff --git a/layouts/index.html b/layouts/index.html index 26bc94a..1203ca1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -13,6 +13,8 @@
+

Projects

+
{{ range .Site.Data.projects.project }} {{ partial "projectCard" . }} diff --git a/layouts/partials/htmlhead.html b/layouts/partials/htmlhead.html index dc1324f..3bd7050 100644 --- a/layouts/partials/htmlhead.html +++ b/layouts/partials/htmlhead.html @@ -2,7 +2,7 @@ - {{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} + {{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} · {{ .Title }}{{ end }} diff --git a/static/css/main.css b/static/css/main.css index 9c313e2..3100325 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -68,6 +68,13 @@ body { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); } +h1:not(.card-header):not(#title), h2:not(.card-header), h3:not(.card-header), h4:not(.card-header), h5:not(.card-header), h6:not(.card-header) { + margin-top: 30px; + margin-bottom: 15px; + padding-bottom: 10px; + border-bottom: 1px solid rgba(0, 0, 0, 0.1); +} + a:not(.nav-link):not(.navbar-brand) { color: #3f51b5; }