diff options
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/custom.css | 24 |
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, |
