From b406efc624ccf0a1984d237172bc6d7c7af21b1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 16 May 2022 14:26:14 +0200 Subject: [PATCH] avoid odd margins in list items --- common.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.css b/common.css index 359f07d..a79230a 100644 --- a/common.css +++ b/common.css @@ -17,6 +17,7 @@ body { } ul, ol, dl, table, p { margin-bottom: .5em; } +p:only-child { margin-bottom: 0; } a { font-style: italic; @@ -44,6 +45,10 @@ ul, ol { margin-left: 1.125em; } dl dt { font-weight: bolder; } table th { font-weight: bold; } +li p + ul, li p + ol { + margin-top: -.25em; +} + hr { border-bottom: 1pt solid; } h1, h2, h3 { -- 2.39.2