Improve list element white-space

This commit is contained in:
Michael Rose
2016-04-05 21:15:39 -04:00
parent c1d8c79152
commit 71a7adec31
3 changed files with 29 additions and 6 deletions

View File

@ -163,6 +163,18 @@ hr {
border-top: 1px solid $border-color;
}
/* lists */
ul li,
ol li {
margin-bottom: 0.5em;
}
li ul,
li ol {
margin-top: 0.5em;
}
/*
Media and embeds
========================================================================== */
@ -278,6 +290,17 @@ nav {
a {
text-decoration: none;
}
/* override white-space for nested lists */
ul li,
ol li {
margin-bottom: 0;
}
li ul,
li ol {
margin-top: 0;
}
}
/*