From 13fd7904cbf88961df8f56d9996632c0d64e7b14 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 17 Dec 2020 03:37:54 -0700 Subject: [PATCH] limit hdlist styles to hdlist and add space between entries --- src/css/doc.css | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 9786e27..ef37ac5 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -667,27 +667,36 @@ user-select: none; } -.doc .hdlist1, -.doc .hdlist2 { - padding: 0; - vertical-align: top; +.doc .dlist dt { + font-style: italic; } -.doc .hdlist1 { - font-weight: var(--body-font-weight-bold); - padding-right: 0.25rem; +.doc .dlist dd { + margin: 0 0 0.25rem 1.5rem; } -.doc .hdlist2 { - padding-left: 0.25rem; +.doc .dlist dd:last-of-type { + margin-bottom: 0; } -.doc .dlist dt { - font-style: italic; +.doc td.hdlist1, +.doc td.hdlist2 { + padding: 0.5rem 0 0; + vertical-align: top; } -.doc .dlist dd { - margin: 0 0 0.3rem 1.5rem; +.doc tr:first-child > .hdlist1, +.doc tr:first-child > .hdlist2 { + padding-top: 0; +} + +.doc td.hdlist1 { + font-weight: var(--body-font-weight-bold); + padding-right: 0.25rem; +} + +.doc td.hdlist2 { + padding-left: 0.25rem; } .doc .colist { -- 2.11.0