From 6eb83b805316c6c408e7009d2c2740d6a8e3b0b4 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Mon, 21 Sep 2026 09:53:39 +0900 Subject: custom.css: 最下部のまとまりに「その他」の見出しを付ける MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ご支援・コンタクト・私の方針が、上のセクションと分かれていることがパッと見で 分かるようにした。 --- src/styles/custom.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/styles/custom.css') diff --git a/src/styles/custom.css b/src/styles/custom.css index 889023c..00a27cf 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -357,7 +357,8 @@ p, margin-top: 1rem; } #starlight__sidebar ul.top-level > li:nth-child(2)::before, -#starlight__sidebar ul.top-level > li:nth-child(6)::before { +#starlight__sidebar ul.top-level > li:nth-child(6)::before, +#starlight__sidebar ul.top-level > li:nth-child(8)::before { display: block; margin-bottom: 0.15rem; padding-inline: var(--sl-sidebar-item-padding-inline, 0.5rem); @@ -373,6 +374,9 @@ p, #starlight__sidebar ul.top-level > li:nth-child(6)::before { content: "調べたことのまとめ"; } +#starlight__sidebar ul.top-level > li:nth-child(8)::before { + content: "その他"; +} /* ── Admonition title inline ── */ .sl-banner .title, -- cgit v1.3.1