add styles for the horizontal dlist
authorDan Allen <dan@opendevise.com>
Thu, 10 Dec 2020 22:44:59 +0000 (15:44 -0700)
committerDan Allen <dan@opendevise.com>
Thu, 10 Dec 2020 22:44:59 +0000 (15:44 -0700)
preview-src/index.adoc
src/css/doc.css

index 7ebb679..3759146 100644 (file)
@@ -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
index 036b40b..4f0c09d 100644 (file)
 
 .doc .paragraph,
 .doc .dlist,
+.doc .hdlist,
 .doc .olist,
 .doc .ulist,
 .doc .exampleblock,
   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;
 }