Commit 8aa611f7 authored by Robert Lord's avatar Robert Lord

Adjust styling of border below h1 tag to be more consistent

parent 84b7705f
...@@ -151,9 +151,10 @@ html, body { ...@@ -151,9 +151,10 @@ html, body {
font-size: 30px; font-size: 30px;
padding-top: 0.5em; padding-top: 0.5em;
padding-bottom: 0.5em; padding-bottom: 0.5em;
border-bottom: 1px solid #ccc;
margin-top: 2em; margin-top: 2em;
margin-bottom: 0; margin-bottom: 21px;
border-top: 1px solid #bbb; border-top: 1px solid #ddd;
@include background-image(linear-gradient(top, #fff, #f9f9f9)); @include background-image(linear-gradient(top, #fff, #f9f9f9));
} }
...@@ -165,17 +166,15 @@ html, body { ...@@ -165,17 +166,15 @@ html, body {
font-size: 20px; font-size: 20px;
margin-top: 4em; margin-top: 4em;
margin-bottom: 0; margin-bottom: 0;
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; border-top: 1px solid #ccc;
padding-top: 1.2em; padding-top: 1.2em;
padding-bottom: 1.2em;
@include background-image(linear-gradient(top, rgba(#fff,0.4), rgba(#fff, 0)));
} }
h1 + h2, h1 + div + h2 { h1 + h2, h1 + div + h2 {
margin-top: 0; margin-top: -21px;
border-top: none;
} }
h3 { h3 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment