From 9ed4e77049d15428cf25b14ebd9118f38a0b26a7 Mon Sep 17 00:00:00 2001 From: Joseph Reagle Date: Wed, 23 Jan 2013 12:34:12 -0500 Subject: [PATCH] improve spacing of p and nested lists --- pelican/themes/notmyidea/static/css/main.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pelican/themes/notmyidea/static/css/main.css b/pelican/themes/notmyidea/static/css/main.css index 29cce82c..ae8fe3d6 100644 --- a/pelican/themes/notmyidea/static/css/main.css +++ b/pelican/themes/notmyidea/static/css/main.css @@ -65,7 +65,8 @@ h1 a:hover { } /* Paragraphs */ -p {margin-bottom: 1.143em;} +p { margin-top: 1em; + margin-bottom: 1em;} strong, b {font-weight: bold;} em, i {font-style: italic;} @@ -73,12 +74,12 @@ em, i {font-style: italic;} /* Lists */ ul { list-style: outside disc; - margin: 1em 0 1.5em 1.5em; + margin: 0.5em 0 0 1.5em; } ol { list-style: outside decimal; - margin: 1em 0 1.5em 1.5em; + margin: 0.5em 0 0 1.5em; } .post-info { @@ -88,6 +89,7 @@ ol { } .post-info p{ + margin-top: 1px; margin-bottom: 1px; }