From 928e7e3ffe7903b8c6f0180a20c58d81184db3b5 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Wed, 30 Oct 2013 16:55:54 +0100 Subject: [PATCH] Make the single post view less shit when there's no blog logo --- assets/css/screen.css | 12 ++++++++++++ post.hbs | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index f67453d..7ccb6ea 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -372,6 +372,10 @@ table.plain tbody > tr:nth-child(odd) > th { background-size: cover; } +#blog-logo { + text-decoration: none; +} + /* Yo-logo. Yolo-go. Upload one in ghost/settings/ */ #blog-logo img { display: block; @@ -395,6 +399,8 @@ table.plain tbody > tr:nth-child(odd) > th { margin: 10px 0 10px 0; font-size: 5rem; letter-spacing: -1px; + font-weight: bold; + font-family: 'Open Sans', sans-serif; } .blog-description { @@ -530,6 +536,12 @@ table.plain tbody > tr:nth-child(odd) > th { /* Insert some mad padding up in the header for better spacing */ .post-template .post-header { padding: 60px 0; + text-align: center; +} + +.post-template .blog-title { + display: block; + padding: 2.5rem 0; } /* Keep large images within the bounds of the post-width */ diff --git a/post.hbs b/post.hbs index 4b7ca19..4c4e613 100644 --- a/post.hbs +++ b/post.hbs @@ -13,7 +13,7 @@ {{#if @blog.logo}} Blog Logo {{else}} - {{@blog.title}} + {{@blog.title}} {{/if}}