diff --git a/assets/css/screen.css b/assets/css/screen.css index a8046d1..d46a22f 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -244,10 +244,6 @@ a:hover { color: #111; } -.post-template .post-title { - margin-bottom: 3.4rem; -} - p, ul, ol, dl { -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; @@ -773,6 +769,24 @@ body:not(.post-template) .post-title { 5. Single Post - When you click on an individual post ========================================================================== */ +.post-template .post-header { + margin-bottom: 3.4rem; +} + +.post-template .post-title { + margin-bottom: 0; +} + +.post-template .post-meta { + margin: 0; +} + +.post-template .post-date { + padding: 0; + margin: 0; + border: none; +} + /* Stop .full-img from creating horizontal scroll - slight hack due to imperfections with browser width % calculations and rounding */ .post-template .content { @@ -1522,10 +1536,14 @@ body:not(.post-template) .post-title { display: none; } - .post-template .post-title { + .post-template .post-header { margin-bottom: 2rem; } + .post-template .post-date { + display: inline-block; + } + hr { margin: 1.6em 0; } diff --git a/post.hbs b/post.hbs index 9712b70..3793e6c 100644 --- a/post.hbs +++ b/post.hbs @@ -14,7 +14,12 @@ {{! Everything inside the #post tags pulls data from the post }} {{#post}} -