From c8d909e5c33a15e8c7e7a2d327b7c5a4f985e5c4 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Wed, 8 Feb 2023 21:47:52 +0000 Subject: [PATCH] Add empty /now page, removed hashes from headings --- src/_includes/page.njk | 9 +++++++++ src/css/globals.css | 21 ++------------------- src/now.md | 10 ++++++++++ 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 src/_includes/page.njk create mode 100644 src/now.md diff --git a/src/_includes/page.njk b/src/_includes/page.njk new file mode 100644 index 0000000..05f58aa --- /dev/null +++ b/src/_includes/page.njk @@ -0,0 +1,9 @@ +--- +layout: base.njk +--- + +
+

{{ title }}

+ {{ content | safe }} +
+ diff --git a/src/css/globals.css b/src/css/globals.css index de281f4..a970621 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -1,6 +1,6 @@ body { - background-color: var(--color-slate-800); - color: var(--color-slate-200); + background-color: var(--color-neutral-800); + color: var(--color-neutral-200); font-family: var(--font-family-mono); font-size: var(--text-size-s); text-underline-offset: var(--space-size-4xs); @@ -70,20 +70,3 @@ footer { padding: var(--space-size-l) 0 var(--space-size-s); width: 100%; } - -@media (min-width: 50em) { - h1::before { - content: "#"; - margin-inline-start: -2ch; - } - - h2::before { - content: "##"; - margin-inline-start: -3ch; - } - - h3::before { - content: "###"; - margin-inline-start: -4ch; - } -} diff --git a/src/now.md b/src/now.md new file mode 100644 index 0000000..a3d4e92 --- /dev/null +++ b/src/now.md @@ -0,0 +1,10 @@ +--- +title: My /now page +layout: page.njk +--- + +## What I'm reading + +## What I'm watching + +## What I'm enjoying \ No newline at end of file