aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-21 13:19:37 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-21 13:19:47 +0900
commit146a5ae9bacfa08c943f2565c62036a29e51933d (patch)
tree4c6b3b6bfde0f4aaa61cdc7d513db74746e2d249 /src
parent7723a5b0c17355e49fa36321fd4f2cd6ee55eaca (diff)
astro.config.mjs, custom.css: サイドバーの項目名短縮と本文の字下げ
- サイドバー: 「ディスレクシアについて」→「ディスレクシア」、「活動を支えるツール」→ 「活動のツール」に短縮。グループの中の見出し(年度・月など)を一段小さくした - custom.css: 本文の段落の1行目を1字下げした。吹き出しの中と、中央寄せ・右寄せの 段落(画像クレジットなど)は字下げしない
Diffstat (limited to 'src')
-rw-r--r--src/styles/custom.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css
index 783d309..38f7555 100644
--- a/src/styles/custom.css
+++ b/src/styles/custom.css
@@ -64,6 +64,13 @@
}
.sl-markdown-content p {
margin-bottom: 1em;
+ text-indent: 1em;
+}
+/* 吹き出しの中と、中央寄せ・右寄せの段落は字下げしない */
+.sl-markdown-content .bln p,
+.sl-markdown-content p[style*="center"],
+.sl-markdown-content p[style*="right"] {
+ text-indent: 0;
}
/* ── Stylish Headings ── */
@@ -421,6 +428,12 @@ p,
font-weight: 500;
}
+/* グループの中の見出し(年度・月など)は一段小さく */
+#starlight__sidebar ul.top-level ul .group-label > .large {
+ font-size: var(--sl-text-sm);
+ font-weight: 500;
+}
+
/* 現在地の下地は、アクセントの淡い色にする(既定の濃い塗りは主張が強いため) */
#starlight__sidebar ul.top-level [aria-current="page"],
#starlight__sidebar ul.top-level [aria-current="page"]:hover,