From 8aa611f77a0b770d1e66336980e3acd1a2f94f5a Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Mon, 7 Oct 2013 12:30:32 -0700 Subject: [PATCH] Adjust styling of border below h1 tag to be more consistent --- source/stylesheets/all.css.scss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/source/stylesheets/all.css.scss b/source/stylesheets/all.css.scss index a4d4e9c..4b37424 100644 --- a/source/stylesheets/all.css.scss +++ b/source/stylesheets/all.css.scss @@ -151,9 +151,10 @@ html, body { font-size: 30px; padding-top: 0.5em; padding-bottom: 0.5em; + border-bottom: 1px solid #ccc; margin-top: 2em; - margin-bottom: 0; - border-top: 1px solid #bbb; + margin-bottom: 21px; + border-top: 1px solid #ddd; @include background-image(linear-gradient(top, #fff, #f9f9f9)); } @@ -165,17 +166,15 @@ html, body { font-size: 20px; margin-top: 4em; margin-bottom: 0; + border-top: 1px solid #ccc; + padding-top: 1.2em; padding-bottom: 1.2em; @include background-image(linear-gradient(top, rgba(#fff,0.4), rgba(#fff, 0))); } - h2, h1 + p, h1 + table, h1 + ul, h1 + ol { - border-top: 1px solid #ccc; - padding-top: 1.2em; - } - h1 + h2, h1 + div + h2 { - margin-top: 0; + margin-top: -21px; + border-top: none; } h3 {