From 9096fbd977f197274f29a643ae8433d5f365a843 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Thu, 31 Oct 2013 19:07:10 +0100 Subject: [PATCH] Remove unscoped IDs Fixes #15 --- assets/css/screen.css | 21 ++++++--------------- index.hbs | 6 +++--- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 45a271c..c4ccfb4 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -360,7 +360,7 @@ table.plain tbody > tr:nth-child(odd) > th { ========================================================================== */ /* Big cover image on the home page */ -#site-head { +.site-head { position: relative; display: table; width: 100%; @@ -372,12 +372,12 @@ table.plain tbody > tr:nth-child(odd) > th { background-size: cover; } -#blog-logo { +.blog-logo { text-decoration: none; } /* Yo-logo. Yolo-go. Upload one in ghost/settings/ */ -#blog-logo img { +.blog-logo img { display: block; max-height: 100px; width: auto; @@ -385,15 +385,6 @@ table.plain tbody > tr:nth-child(odd) > th { line-height: 0; } -#back { - color: rgba(0,0,0,0.2); - position: fixed; - top: 8px; - left: 8px; - padding: 6px; - font-size: 16px; -} - /* The details of your blog. Defined in ghost/settings/ */ .blog-title { margin: 10px 0 10px 0; @@ -795,7 +786,7 @@ table.plain tbody > tr:nth-child(odd) > th { margin-left: 0; } - #site-head { + .site-head { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -853,7 +844,7 @@ table.plain tbody > tr:nth-child(odd) > th { @media only screen and (max-width: 500px) { - #blog-logo img { + .blog-logo img { max-height: 80px; } @@ -872,7 +863,7 @@ table.plain tbody > tr:nth-child(odd) > th { line-height: 1.6em; } - #site-head { + .site-head { padding: 10% 0; } diff --git a/index.hbs b/index.hbs index b451a1b..c56f27b 100644 --- a/index.hbs +++ b/index.hbs @@ -4,11 +4,11 @@ the {body} of the default.hbs template, which contains our header/footer. }} {{! The big featured header on the homepage, with the site logo and description }} -