From 86b43308290927ed7e3ce41ebf774d6f543bc769 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Sat, 19 Sep 2026 14:10:09 +0900 Subject: custom.css: 吹き出し内の箇条書きの下余白を調整 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/custom.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src') 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, -- cgit v1.3.1