Add empty /now page, removed hashes from headings

This commit is contained in:
Lewis Dale 2023-02-08 21:47:52 +00:00
parent b10856ab6c
commit c8d909e5c3
3 changed files with 21 additions and 19 deletions

9
src/_includes/page.njk Normal file
View File

@ -0,0 +1,9 @@
---
layout: base.njk
---
<main class="wrapper-lg stack-md">
<h1>{{ title }}</h1>
{{ content | safe }}
</main>

View File

@ -1,6 +1,6 @@
body { body {
background-color: var(--color-slate-800); background-color: var(--color-neutral-800);
color: var(--color-slate-200); color: var(--color-neutral-200);
font-family: var(--font-family-mono); font-family: var(--font-family-mono);
font-size: var(--text-size-s); font-size: var(--text-size-s);
text-underline-offset: var(--space-size-4xs); text-underline-offset: var(--space-size-4xs);
@ -70,20 +70,3 @@ footer {
padding: var(--space-size-l) 0 var(--space-size-s); padding: var(--space-size-l) 0 var(--space-size-s);
width: 100%; 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;
}
}

10
src/now.md Normal file
View File

@ -0,0 +1,10 @@
---
title: My /now page
layout: page.njk
---
## What I'm reading
## What I'm watching
## What I'm enjoying