Skip to content

Commit

Permalink
Make the title of blog posts link back to main page.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Walker <[email protected]>
  • Loading branch information
Ben Walker committed Jun 27, 2016
1 parent a3899a4 commit d6e9a31
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _includes/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="page-title">
<h1>{{ site.title }}</h1>
<div class="page-title-banner">
<h1><a class = "page-title" href="{{ site.baseurl }}">{{ site.title }}</a></h1>
</ul>
</div>
</div>
Expand Down
14 changes: 11 additions & 3 deletions css/spdk.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,22 @@ p.copyright {
background-size: cover;
}

.page-title {
.page-title-banner {
position: relative;
}

.page-title > h1 {
.page-title {
margin: 0;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 4em;
color: #f8f8f8;
}

a:hover.page-title {
text-decoration: none;
}

a:active.page-title {
text-decoration: none;
}

.post {
Expand Down

0 comments on commit d6e9a31

Please sign in to comment.