ul/li have no top/bottom margins, but list do

This commit is contained in:
Joseph Reagle 2013-01-23 12:46:41 -05:00 committed by Alexis Métaireau
commit 168d713df8
3 changed files with 18 additions and 8 deletions

View file

@ -74,14 +74,16 @@ em, i {font-style: italic;}
/* Lists */ /* Lists */
ul { ul {
list-style: outside disc; list-style: outside disc;
margin: 0.5em 0 0 1.5em; margin: 0em 0 0 1.5em;
} }
ol { ol {
list-style: outside decimal; list-style: outside decimal;
margin: 0.5em 0 0 1.5em; margin: 0em 0 0 1.5em;
} }
li { margin-top: 0.5em;}
.post-info { .post-info {
float:right; float:right;
margin:10px; margin:10px;

View file

@ -65,7 +65,8 @@ h1 a:hover {
} }
/* Paragraphs */ /* Paragraphs */
p {margin-bottom: 1.143em;} p { margin-top: 1em;
margin-bottom: 1em;}
strong, b {font-weight: bold;} strong, b {font-weight: bold;}
em, i {font-style: italic;} em, i {font-style: italic;}
@ -73,14 +74,16 @@ em, i {font-style: italic;}
/* Lists */ /* Lists */
ul { ul {
list-style: outside disc; list-style: outside disc;
margin: 1em 0 1.5em 1.5em; margin: 0em 0 0 1.5em;
} }
ol { ol {
list-style: outside decimal; list-style: outside decimal;
margin: 1em 0 1.5em 1.5em; margin: 0em 0 0 1.5em;
} }
li { margin-top: 0.5em;}
.post-info { .post-info {
float:right; float:right;
margin:10px; margin:10px;
@ -88,6 +91,7 @@ ol {
} }
.post-info p{ .post-info p{
margin-top: 1px;
margin-bottom: 1px; margin-bottom: 1px;
} }

View file

@ -65,7 +65,8 @@ h1 a:hover {
} }
/* Paragraphs */ /* Paragraphs */
p {margin-bottom: 1.143em;} p { margin-top: 1em;
margin-bottom: 1em;}
strong, b {font-weight: bold;} strong, b {font-weight: bold;}
em, i {font-style: italic;} em, i {font-style: italic;}
@ -73,14 +74,16 @@ em, i {font-style: italic;}
/* Lists */ /* Lists */
ul { ul {
list-style: outside disc; list-style: outside disc;
margin: 1em 0 1.5em 1.5em; margin: 0em 0 0 1.5em;
} }
ol { ol {
list-style: outside decimal; list-style: outside decimal;
margin: 1em 0 1.5em 1.5em; margin: 0em 0 0 1.5em;
} }
li { margin-top: 0.5em;}
.post-info { .post-info {
float:right; float:right;
margin:10px; margin:10px;
@ -88,6 +91,7 @@ ol {
} }
.post-info p{ .post-info p{
margin-top: 1px;
margin-bottom: 1px; margin-bottom: 1px;
} }