From eedcc37b5caf65c17d2b654afbd87afc8f4bcdfd Mon Sep 17 00:00:00 2001 From: mgutz Date: Mon, 8 Feb 2010 08:50:22 -0800 Subject: [PATCH] more space between article and other article links --- content/assets/css/style.sass | 6 +++++- layouts/_article.haml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/content/assets/css/style.sass b/content/assets/css/style.sass index 0f4baec..97f0c7a 100644 --- a/content/assets/css/style.sass +++ b/content/assets/css/style.sass @@ -157,7 +157,7 @@ pre color = !passive_color #other-articles - margin-top: 0.5em + margin-top: 4em +ul_left h3 margin: 0 0 .5em @@ -197,6 +197,10 @@ pre .article, .excerpt, .featured margin-bottom: 2.5em +.article, .featured + h1 + margin-bottom: .25em + .clear clear: both diff --git a/layouts/_article.haml b/layouts/_article.haml index 57db48c..86e362d 100644 --- a/layouts/_article.haml +++ b/layouts/_article.haml @@ -8,7 +8,8 @@ %a(href="#{route_path(item)}" title="Full article" class="permalink")= item[:title] - else = item[:title] + + = render('_meta', :item => item) .body != content || partial(item) - = render('_meta', :item => item)