From 25de8a17663c1f5daebcd39142430c15890a69c0 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 10 Dec 2020 15:44:59 -0700 Subject: [PATCH] add styles for the horizontal dlist --- preview-src/index.adoc | 9 +++++++++ src/css/doc.css | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) 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; } -- 2.11.0