diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index edd154c8..0b385c21 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -1,9 +1,14 @@
@@ -83,6 +88,19 @@
Wordplaypen
+
+
+
+ {#each headers as [header, id]}
+ - {header}
+ {/each}
+
+
@@ -111,7 +129,7 @@
background-color: var(--border-color);
}
- :global(nav > .at) {
+ :global(nav .at) {
background-color: var(--annotation-color);
}
@@ -121,6 +139,16 @@
flex-basis: 1;
}
+ .outline li {
+ font-style: italic;
+ font-size: 80%;
+ list-style-type: square;
+ }
+
+ .outline ul {
+ padding-inline-start: calc(3 * var(--padding));
+ }
+
@media only screen and (min-width: 800px) {
nav {
position: sticky;
@@ -139,6 +167,10 @@
display: none;
}
+ .outline {
+ display: none;
+ }
+
nav {
white-space: nowrap;
}
diff --git a/src/lib/components/Link.svelte b/src/lib/components/Link.svelte
index ab7ebc07..bbb3ab42 100644
--- a/src/lib/components/Link.svelte
+++ b/src/lib/components/Link.svelte
@@ -4,6 +4,7 @@
export let to: string;
export let at: string | undefined = undefined;
+ export let active = false;
$: path = $page.url.pathname;
@@ -13,7 +14,7 @@
{:else if to.startsWith('http')}
{:else}
-
+
{/if}
diff --git a/src/lib/components/Page.svelte b/src/lib/components/Page.svelte
index 238ec3ff..9b34c481 100644
--- a/src/lib/components/Page.svelte
+++ b/src/lib/components/Page.svelte
@@ -1,16 +1,42 @@
+
+