aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/styles/custom.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/custom.css')
-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,