aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/custom.css31
1 files changed, 23 insertions, 8 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css
index 5b0a67c..f265b41 100644
--- a/src/styles/custom.css
+++ b/src/styles/custom.css
@@ -342,17 +342,32 @@ p,
/* ── Sidebar section dividers ── */
/*
- * 左サイドバーのトップレベルを、セクションごとに横線で区切る。
+ * 左サイドバーのトップレベルを、セクションごとに小見出しと横線で区切る。
* 番号は astro.config.mjs の sidebar の並び順。
- * 1 実績 / 2 一般質問 / 3 委員会・請願 |
- * 4 私の方針 / 5 メディア掲載 |
- * 6 ディスレクシアについて / 7 活動を支えるツール |
- * 8 ご支援 / 9 コンタクト
+ * 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) {
+#starlight__sidebar ul.top-level > li:nth-child(1)::before,
+#starlight__sidebar ul.top-level > li:nth-child(5)::before {
+ display: block;
+ margin-bottom: 0.15rem;
+ padding-inline: var(--sl-sidebar-item-padding-inline, 0.5rem);
+ font-size: 0.72rem;
+ line-height: 1.6;
+ font-weight: 400;
+ letter-spacing: 0.04em;
+ color: var(--sl-color-gray-3);
+}
+#starlight__sidebar ul.top-level > li:nth-child(1)::before {
+ content: "議会での活動";
+}
+#starlight__sidebar ul.top-level > li:nth-child(5)::before {
+ content: "活動の副産物";
+}
+#starlight__sidebar ul.top-level > li:nth-child(5),
+#starlight__sidebar ul.top-level > li:nth-child(7) {
margin-top: 1.1rem;
padding-top: 0.7rem;
border-top: 1px solid var(--sl-color-gray-5);