Skip to content

Commit

Permalink
Linked blogpost headers on homepage up to posts
Browse files Browse the repository at this point in the history
  • Loading branch information
barryclark committed Apr 30, 2014
1 parent ea558e6 commit 5c2832e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% for post in site.posts %}
<article class="post">

<h1>{{ post.title }}</h1>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>

<div class="date">
{{ post.date | date: "%B %e, %Y" }}
Expand Down
7 changes: 5 additions & 2 deletions scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ h1, h2, h3, h4, h5, h6 {

h1 {
font-weight: 400;
font-size: 35px;
font-size: 32px;
@include mobile {
font-size: 32px;
}
a {
color: inherit;
}
}

h2 {
Expand Down Expand Up @@ -157,7 +160,7 @@ img {

font-family: $helveticaNeue;
font-weight: 300;
font-size: 31px;
font-size: 28px;
letter-spacing: 1px;
@include mobile {
font-size: 22px;
Expand Down
6 changes: 4 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,12 @@ h1, h2, h3, h4, h5, h6 {

h1 {
font-weight: 400;
font-size: 35px; }
font-size: 32px; }
@media screen and (max-width: 520px) {
h1 {
font-size: 32px; } }
h1 a {
color: inherit; }

h2 {
font-size: 26px; }
Expand Down Expand Up @@ -422,7 +424,7 @@ img {
float: left;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 31px;
font-size: 28px;
letter-spacing: 1px;
text-decoration: none;
cursor: pointer;
Expand Down

0 comments on commit 5c2832e

Please sign in to comment.