Add empty /now page, removed hashes from headings
This commit is contained in:
parent
b10856ab6c
commit
c8d909e5c3
9
src/_includes/page.njk
Normal file
9
src/_includes/page.njk
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: base.njk
|
||||||
|
---
|
||||||
|
|
||||||
|
<main class="wrapper-lg stack-md">
|
||||||
|
<h1>{{ title }}</h1>
|
||||||
|
{{ content | safe }}
|
||||||
|
</main>
|
||||||
|
|
@ -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
10
src/now.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: My /now page
|
||||||
|
layout: page.njk
|
||||||
|
---
|
||||||
|
|
||||||
|
## What I'm reading
|
||||||
|
|
||||||
|
## What I'm watching
|
||||||
|
|
||||||
|
## What I'm enjoying
|
Loading…
Reference in New Issue
Block a user