From: Dan Allen Date: Thu, 10 Dec 2020 22:44:59 +0000 (-0700) Subject: add styles for the horizontal dlist X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=25de8a17663c1f5daebcd39142430c15890a69c0;p=eg-antora.git add styles for the horizontal dlist --- diff --git a/preview-src/index.adoc b/preview-src/index.adoc index 7ebb679..3759146 100644 --- a/preview-src/index.adoc +++ b/preview-src/index.adoc @@ -148,6 +148,15 @@ splendide sed mea:: agam graeci +Let's look at that another way. + +[horizontal] +sed:: +splendide sed + +mea:: +agam graeci + At ornatus splendide sed. .Library dependencies diff --git a/src/css/doc.css b/src/css/doc.css index 036b40b..4f0c09d 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -165,6 +165,7 @@ .doc .paragraph, .doc .dlist, +.doc .hdlist, .doc .olist, .doc .ulist, .doc .exampleblock, @@ -573,6 +574,21 @@ display: block; } +.doc .hdlist1, +.doc .hdlist2 { + padding: 0; + vertical-align: top; +} + +.doc .hdlist1 { + font-weight: var(--body-font-weight-bold); + padding-right: 0.25rem; +} + +.doc .hdlist2 { + padding-left: 0.25rem; +} + .doc .dlist dt { font-style: italic; }