From 0ecf55e7be6144869ce12e871e3bf8bebc7fb523 Mon Sep 17 00:00:00 2001 From: Devon Campbell Date: Mon, 28 Nov 2022 18:25:59 -0800 Subject: [PATCH] Add title as H1 header --- assets/css/theme.css | 11 +++++++++++ src/_includes/base.njk | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/assets/css/theme.css b/assets/css/theme.css index 25ec3ab..3dcb19e 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -26,6 +26,17 @@ h6 { font-family: var(--fancy-font-stack); } +h1 { + font-size: 3.5rem; + z-index: 1; + position: relative; + margin-top: 0; + text-shadow: 0.1em 0 black; +} +h1 + article { + margin-top: -0.9rem; +} + .logo { opacity: 1; width: 25rem; diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 8df2873..7d08f3b 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -10,8 +10,9 @@ +

{{ title }}

{{ content | safe }}
- \ No newline at end of file +