Structured data in ordinary Markdown files
@@ -28,7 +18,6 @@ import AppShot from "../components/AppShot.astro";mdbase is in beta. Keep independent backups of important collections.
diff --git a/DESIGN.md b/DESIGN.md index e051f0c..83ba8b9 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -53,8 +53,7 @@ semibold; body text is 17px. Reading columns use a 72ch measure. ## Layout The homepage has long chapters in a left reading column, a fixed canvas on the -right, and a chapter index in the left gutter on wide screens. On narrow -screens, the canvas moves above each chapter. Interior pages open with a +right. On narrow screens, the canvas moves above each chapter. Interior pages open with a visible title and lede (`.page-intro`) under a still band of sky at the top right; documentation pages keep their three-column layout. Navigation, buttons, tables, callouts, and footer links remain visually quiet. diff --git a/public/mdbase-murmuration.js b/public/mdbase-murmuration.js index 4f196a7..b5163e5 100644 --- a/public/mdbase-murmuration.js +++ b/public/mdbase-murmuration.js @@ -1072,10 +1072,6 @@ chapters.forEach((chapter, chapterIndex) => { chapter.classList.toggle("is-active", chapterIndex === index); }); - document.querySelectorAll(".chapter-index a").forEach((link, linkIndex) => { - if (linkIndex === index) link.setAttribute("aria-current", "step"); - else link.removeAttribute("aria-current"); - }); buildScene(scene, true); } diff --git a/scripts/home-animation.test.mjs b/scripts/home-animation.test.mjs index c04509e..173c17d 100644 --- a/scripts/home-animation.test.mjs +++ b/scripts/home-animation.test.mjs @@ -26,7 +26,7 @@ function harness(width, height, reducedMotion = true) { querySelector: selector => selector === '#diagram' ? canvas : { getBoundingClientRect: () => ({ bottom: width <= 350 ? 137 : 107 }), }, - querySelectorAll: selector => selector.includes('chapter-index') ? [] : chapters, + querySelectorAll: () => chapters, documentElement: { style: { setProperty() {} }, addEventListener() {}, scrollHeight: height * 8 }, fonts: { ready: { then() {} } }, addEventListener() {}, diff --git a/src/pages/index.astro b/src/pages/index.astro index 0ac4e6e..a1f34fc 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,17 +9,7 @@ import AppShot from "../components/AppShot.astro"; >
- +mdbase is in beta. Keep independent backups of important collections.