diff options
| -rw-r--r-- | astro.config.mjs | 4 | ||||
| -rw-r--r-- | src/styles/custom.css | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 714f89e..b11ffe5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -113,7 +113,7 @@ export default defineConfig({ }, { label: "メディア掲載", link: "/media/" }, { - label: "ディスレクシアについて", + label: "ディスレクシア", collapsed: true, items: [ { label: "概要", link: "/about-dyslexia/" }, @@ -172,7 +172,7 @@ export default defineConfig({ ], }, { - label: "活動を支えるツール", + label: "活動のツール", collapsed: true, items: [ { 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, |
