aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/styles
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-19 14:10:09 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-19 14:10:09 +0900
commit86b43308290927ed7e3ce41ebf774d6f543bc769 (patch)
treeb8a21cfe2e0e15127cb07562c03947cfd1599b6a /src/styles
parentae64f5e204b6f70a93929213576877b56dc9e0a1 (diff)
custom.css: 吹き出し内の箇条書きの下余白を調整
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/custom.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css
index efc8fda..29873b7 100644
--- a/src/styles/custom.css
+++ b/src/styles/custom.css
@@ -550,6 +550,30 @@ aside .title {
margin: 0;
}
+/* Bubble inner lists — keep a clear gap below the list */
+.bln.bleft > ul,
+.bln.bleft > ol,
+.bln.bright > ul,
+.bln.bright > ol {
+ margin-bottom: 1rem;
+}
+
+/* リストの直後に続く段落(.bln > p:last-child の margin:0 を打ち消す) */
+.bln.bleft > :is(ul, ol) + p,
+.bln.bright > :is(ul, ol) + p {
+ margin-top: 0.5rem;
+}
+
+.bln li + li {
+ margin-top: 0.3rem;
+}
+
+/* 入れ子の箇条書きの下にも余白を取る */
+.bln li > ul,
+.bln li > ol {
+ margin-bottom: 0.5rem;
+}
+
/* Bubble emotion variants */
.bln.bleft.thought,
.bln.bleft.smile,