Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/_includes/markdown-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,17 @@ Not indented
1. Mid level
+ Bottom level

* List item

List paragraph
* List item

List paragraph
* Subitem
* Subitem

List paragraph

- Code within list items: indention requires blank line then 4 additional spaces beyond list indention level.

1. Top level
Expand Down
18 changes: 12 additions & 6 deletions lib/css/components/_stacks-prose.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,19 @@
h1,
h1 code {
font-size: @fs-headline1;
margin-bottom: .2em;
margin-bottom: .18em;
}

h2,
h2 code {
font-size: @fs-title;
margin-bottom: .3em;
margin-bottom: .4em;
}

h3,
h3 code {
font-size: @fs-subheading;
margin-bottom: .3em;
}

h4,
Expand Down Expand Up @@ -127,11 +128,15 @@
blockquote:only-child,
table:only-child,
hr:only-child,
ol:only-child,
ul:only-child,
p:last-child,
dl:last-child,
blockquote:last-child,
table:last-child,
hr:last-child {
hr:last-child,
ol:last-child,
ul:last-child {
margin-bottom: 0;
}

Expand All @@ -143,7 +148,9 @@
blockquote,
table,
hr,
dd {
dd,
ul,
ol {
margin-bottom: .5em;
}

Expand All @@ -166,8 +173,7 @@
li {
> ul,
> ol {
padding-top: 0.5em;
margin-bottom: 0;
margin-top: .5em;
}
}

Expand Down