Skip to content

Commit

Permalink
Fix inconsistencies between archive header vs home header
Browse files Browse the repository at this point in the history
  • Loading branch information
John O'Nolan committed Apr 15, 2014
1 parent 213db8a commit 8a2edd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 29 deletions.
25 changes: 4 additions & 21 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,27 +741,14 @@ margin on the iframe, cause it breaks stuff. */
6. Tag archive
========================================================================== */

.archive-template .site-head {
height: auto;
padding-bottom: 5rem;
}

.archive-template .site-head a {
color: #fff;
}

.archive-template .blog-logo {
display: block;
margin-top: 5rem;
}

.tag-archive-header {
padding: 20px 0;
text-align: center;
position: relative;
max-width: 700px;
margin: 4rem auto;
border-bottom: 1px solid #EBF2F6;
position: relative;
padding: 20px 0;
text-align: center;
color: #222;
}

.tag-archive-header:after {
Expand All @@ -781,10 +768,6 @@ margin on the iframe, cause it breaks stuff. */
box-shadow: #fff 0 0 0 5px;
}

.archive-template .blog-title {
display: inline-block;
padding: 2.5rem 0;
}

/* ==========================================================================
7. Third Party Elements - Embeds from other services
Expand Down
12 changes: 4 additions & 8 deletions tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
<header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<div class="vertical">
<div class="site-head-content inner">
<a class="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{/if}}
</a>
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
<h1 class="blog-title">{{@blog.title}}</h1>
<h2 class="blog-description">{{@blog.description}}</h2>
</div>
Expand All @@ -21,9 +17,9 @@
{{! The main content area on the homepage }}
<main class="content" role="main">

<header class="tag-archive-header">
<h1>{{tag.name}}</h1>
</header>
<header class="tag-archive-header">
<h1>{{tag.name}}</h1>
</header>

{{! Each post will be output using this markup }}
{{#foreach posts}}
Expand Down

0 comments on commit 8a2edd6

Please sign in to comment.