Skip to content

Commit 3fc2bcb

Browse files
author
Tim Bannister
committed
Add left indent for definition lists
Use padding to make the lists stand out from surrounding text.
1 parent a49c612 commit 3fc2bcb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

assets/scss/_custom.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,3 +721,13 @@ figure {
721721
}
722722
}
723723
}
724+
725+
// Indent definition lists
726+
dl {
727+
padding-left: 1.5em;
728+
729+
// Add vertical space before definitions
730+
> *:not(dt) + dt, dt:first-child {
731+
margin-top: 1.5em;
732+
}
733+
}

0 commit comments

Comments
 (0)