-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
290 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#blog { | ||
.content { | ||
@include make-row(); | ||
|
||
.posts { | ||
@include make-sm-column(12); | ||
@include make-md-column(8); | ||
@include make-lg-column(7); | ||
} | ||
} | ||
|
||
.posts { | ||
ul { | ||
list-style: none; | ||
padding-left: 0; | ||
|
||
.post { | ||
margin-top: $line-height-computed; | ||
margin-bottom: $line-height-computed; | ||
|
||
h1 { | ||
@include font-heading; | ||
font-style: normal; | ||
margin-top: 0; | ||
font-size: $font-size-base * 1.6; | ||
} | ||
|
||
.date { | ||
@include font-body-italic; | ||
font-size: $font-size-small; | ||
line-height: $font-size-small; | ||
margin-left: $font-size-small; | ||
margin-bottom: $font-size-small; | ||
color: $gray-light; | ||
} | ||
|
||
.excerpt { | ||
a { | ||
color: $text-colour; | ||
|
||
&:hover { | ||
text-decoration: none; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
.post-container { | ||
.meta { | ||
font-style: italic; | ||
margin-bottom: 2em; | ||
} | ||
.post { | ||
|
||
article { | ||
@include make-md-column(9); | ||
@include make-sm-column(10); | ||
@include make-md-column(8); | ||
@include make-lg-column(7); | ||
} | ||
} | ||
|
||
.post { | ||
.date { | ||
font-style: italic; | ||
margin-bottom: 2em; | ||
} | ||
|
||
h2 { | ||
border-top: 2px solid #eee; | ||
padding: 0.5em 0; | ||
padding: 1em 0; | ||
} | ||
|
||
img { | ||
@include img-responsive; | ||
margin-top: ($line-height-computed / 2); | ||
margin-bottom: ($line-height-computed / 2); | ||
} | ||
|
||
.footnotes { | ||
margin-top: $line-height-computed; | ||
padding-top: $line-height-computed; | ||
border-top: 1px solid $gray-lighter; | ||
font-size: $font-size-small; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,15 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="post-container"> | ||
{% if page.banner_image_url %} | ||
<div style="background-image: url('{{ page.banner_image_url }}');" class="banner"> | ||
<div class="container"> | ||
<h2>{{ page.title }}</h2> | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="container"> | ||
|
||
<main class="post container"> | ||
<div class="row"> | ||
<article> | ||
{% if page.banner_image_url == null %} | ||
<h2>{{ page.title }}</h2> | ||
{% endif %} | ||
<p class="meta">{{ page.date | date_to_long_string }}</p> | ||
<h1>{{ page.title }}</h1> | ||
<p class="date">{{ page.date | date_to_long_string }}</p> | ||
<div class="post"> | ||
{{ content }} | ||
</div> | ||
</article> | ||
</div> | ||
</div> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.