w3c / wai-website-design

WAI Website Design and Redesign
3 stars 7 forks source link

optional extra list spacing #132

Closed shawna-slh closed 6 years ago

shawna-slh commented 6 years ago

I'd like a style for lists with more space. Previously we had:

.listspaced li { margin-bottom: 1em;

@yatil, feel free to use whatever implementation, class, unit of measure, etc. that you think is best.

shawna-slh commented 6 years ago

(Then we can fix the br/s I put in https://github.com/w3c/wai-std-gl-overview/commit/ce1ce005f9fc9a147521f81de6de3c9e96d05968#diff-d680e8a854a7cbad6d490c445cba2eba )

yatil commented 6 years ago

@slhenry

If you put empty lines between the list items, the content of the list items should be wrapped in a <p> and therefore have apt spacing. (Yes, this is one of the non-obvious things in Markdown :-D)

- One
- Two
- Three

vs.

- One

- Two

- Three
shawna-slh commented 6 years ago

humm -- but still marked up as a list?

yatil commented 6 years ago

Yes, It is <li><p>This and that</p></li> instead of <li>This and that</li> – feels slightly more semantic to me, too. Let me know if that is sufficient for your needs.

shawna-slh commented 6 years ago

ok I guess. :-) /me fixed it in that doc

yatil commented 6 years ago

\o/