Collapse and style definition lists

ie display this:

     <dl>
       <dt>Foo:</dt>
       <dd>Bar</dd>
       <dt>Juice:</dt>
       <dd>Toast</dd>
       <dd>Milk</dd>
     </dl>

as:

     *Foo:*    Bar
     *Juice:*  Toast
               Milk
This commit is contained in:
Will Thompson 2015-09-14 20:45:49 +00:00 committed by j
parent 6f135629a0
commit 078be8e98f

View file

@ -55,6 +55,16 @@ ol, ul {
padding-left: 1.5em;
margin: 0;
}
dt {
float: left;
clear: left;
width: 40px;
font-weight: bold;
text-overflow: hidden;
}
dd {
margin-left: 40px;
}
p {
text-align: justify;
}