mirror of
https://github.com/thangisme/notes.git
synced 2024-12-31 18:16:33 -05:00
59f757a790
Resolve #420 - Remove `margin-top` for the first child in various list items, to improve alignment. - Add examples of lists to `docs/tests/styling`.
1.5 KiB
1.5 KiB
layout | title | parent | grand_parent |
---|---|---|---|
default | Description lists | Styling | Tests |
Description lists
The first child element of each dd
element in a dl
list should be aligned with the preceding dt
element in the following examples.
- term
-
paragraph text
paragraph text
- term
-
Header
paragraph text
- term
-
block quote
paragraph text
- term
-
fenced code block
paragraph text
- term
-
- unordered list item
- unordered list item
paragraph text
- term
-
- ordered list item
- ordered list item
paragraph text
- term
-
- sub-term
- sub-description
- sub-term
- sub-description
paragraph text
- term
-
|-----------------+------------+-----------------+----------------|
Default aligned Left aligned Center aligned Right aligned First body part Second cell Third cell fourth cell Second line foo strong baz Third line quux baz bar -----------------+------------+-----------------+---------------- Second body 2 line =================+============+=================+================ Footer row -----------------+------------+-----------------+---------------- paragraph text
- term
-
paragraph text