Skip to content

Commit 8bdd062

Browse files
committed
add styles for the horizontal dlist
1 parent 7921d83 commit 8bdd062

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

preview-src/index.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,15 @@ splendide sed
158158
mea::
159159
agam graeci
160160

161+
Let's look at that another way.
162+
163+
[horizontal]
164+
sed::
165+
splendide sed
166+
167+
mea::
168+
agam graeci
169+
161170
At ornatus splendide sed.
162171

163172
.Library dependencies

src/css/doc.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184

185185
.doc .paragraph,
186186
.doc .dlist,
187+
.doc .hdlist,
187188
.doc .olist,
188189
.doc .ulist,
189190
.doc .exampleblock,
@@ -751,6 +752,21 @@
751752
transition: none;
752753
}
753754

755+
.doc .hdlist1,
756+
.doc .hdlist2 {
757+
padding: 0;
758+
vertical-align: top;
759+
}
760+
761+
.doc .hdlist1 {
762+
font-weight: var(--body-font-weight-bold);
763+
padding-right: 0.25rem;
764+
}
765+
766+
.doc .hdlist2 {
767+
padding-left: 0.25rem;
768+
}
769+
754770
.doc .dlist dt {
755771
font-style: italic;
756772
}

0 commit comments

Comments
 (0)