diff options
| -rw-r--r-- | astro.config.mjs | 6 | ||||
| -rw-r--r-- | src/styles/custom.css | 18 |
2 files changed, 21 insertions, 3 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 6506aaf..0f37d34 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -78,8 +78,6 @@ export default defineConfig({ }, ], }, - { label: "私の方針", link: "/policy/" }, - { label: "メディア掲載", link: "/media/" }, { label: "一般質問", collapsed: true, @@ -112,6 +110,8 @@ export default defineConfig({ }, ], }, + { label: "私の方針", link: "/policy/" }, + { label: "メディア掲載", link: "/media/" }, { label: "ディスレクシアについて", collapsed: true, @@ -171,7 +171,6 @@ export default defineConfig({ }, ], }, - { label: "ご支援", link: "/support/" }, { label: "活動を支えるツール", collapsed: true, @@ -186,6 +185,7 @@ export default defineConfig({ }, ], }, + { label: "ご支援", link: "/support/" }, { label: "コンタクト", link: "/contact/" }, ], customCss: ["./src/styles/custom.css"], diff --git a/src/styles/custom.css b/src/styles/custom.css index 29873b7..5b0a67c 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -340,6 +340,24 @@ p, text-align: justify; } +/* ── Sidebar section dividers ── */ +/* + * 左サイドバーのトップレベルを、セクションごとに横線で区切る。 + * 番号は astro.config.mjs の sidebar の並び順。 + * 1 実績 / 2 一般質問 / 3 委員会・請願 | + * 4 私の方針 / 5 メディア掲載 | + * 6 ディスレクシアについて / 7 活動を支えるツール | + * 8 ご支援 / 9 コンタクト + * サイドバーを並べ替えたときは、ここも見直すこと。 + */ +#starlight__sidebar ul.top-level > li:nth-child(4), +#starlight__sidebar ul.top-level > li:nth-child(6), +#starlight__sidebar ul.top-level > li:nth-child(8) { + margin-top: 1.1rem; + padding-top: 0.7rem; + border-top: 1px solid var(--sl-color-gray-5); +} + /* ── Admonition title inline ── */ .sl-banner .title, aside .title { |
