diff options
Diffstat (limited to 'src/styles/custom.css')
| -rw-r--r-- | src/styles/custom.css | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css index ca9c910..e5d198a 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -344,13 +344,14 @@ p, /* * 左サイドバーのトップレベルを、セクションごとに小見出しと横線で区切る。 * 番号は astro.config.mjs の sidebar の並び順。 - * 1 実績 / 2 一般質問 / 3 委員会・請願 / 4 メディア掲載 | - * 5 ディスレクシアについて / 6 活動を支えるツール | - * 7 ご支援 / 8 コンタクト / 9 私の方針 + * 1 ホーム | + * 2 実績 / 3 一般質問 / 4 委員会・請願 / 5 メディア掲載 | + * 6 ディスレクシアについて / 7 活動を支えるツール | + * 8 ご支援 / 9 コンタクト / 10 私の方針 * サイドバーを並べ替えたときは、ここも見直すこと。 */ -#starlight__sidebar ul.top-level > li:nth-child(1)::before, -#starlight__sidebar ul.top-level > li:nth-child(5)::before { +#starlight__sidebar ul.top-level > li:nth-child(2)::before, +#starlight__sidebar ul.top-level > li:nth-child(6)::before { display: block; margin-bottom: 0.15rem; padding-inline: var(--sl-sidebar-item-padding-inline, 0.5rem); @@ -360,14 +361,15 @@ p, letter-spacing: 0.04em; color: var(--sl-color-gray-3); } -#starlight__sidebar ul.top-level > li:nth-child(1)::before { +#starlight__sidebar ul.top-level > li:nth-child(2)::before { content: "議会での活動"; } -#starlight__sidebar ul.top-level > li:nth-child(5)::before { +#starlight__sidebar ul.top-level > li:nth-child(6)::before { content: "調べたことのまとめ"; } -#starlight__sidebar ul.top-level > li:nth-child(5), -#starlight__sidebar ul.top-level > li:nth-child(7) { +#starlight__sidebar ul.top-level > li:nth-child(2), +#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); |
