-
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
Matt R. Wilson
committed
Jul 14, 2015
1 parent
0bc4e6a
commit 780e9ee
Showing
15 changed files
with
674 additions
and
2 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
_site/ | ||
.sass-cache/ | ||
_site | ||
.sass-cache |
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 @@ | ||
mattw.co |
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,8 @@ | ||
# Site settings | ||
title: Matt R. Wilson | ||
email: [email protected] | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "http://mattw.co" # the base hostname & protocol for your site | ||
|
||
# Build settings | ||
markdown: kramdown |
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,7 @@ | ||
<footer class="site-footer"> | ||
|
||
<div class="wrapper"> | ||
<p class="right">Have a nice day.</p> | ||
</div> | ||
|
||
</footer> |
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,12 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
|
||
<link rel="shortcut icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}"/> | ||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
</head> |
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,18 @@ | ||
<header class="site-header"> | ||
|
||
<div class="wrapper"> | ||
|
||
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a> | ||
|
||
<div class="trigger"> | ||
{% for page in site.pages %} | ||
{% if page.title %} | ||
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a> | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
</nav> | ||
|
||
</div> | ||
|
||
</header> |
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,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
|
||
<div class="page-content"> | ||
<div class="wrapper"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{% include footer.html %} | ||
|
||
</body> | ||
|
||
</html> |
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,14 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="post"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
</header> | ||
|
||
<article class="post-content"> | ||
{{ content }} | ||
</article> | ||
|
||
</div> |
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,15 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="post"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p> | ||
</header> | ||
|
||
<article class="post-content"> | ||
{{ content }} | ||
</article> | ||
|
||
</div> |
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,207 @@ | ||
/** | ||
* Reset some basic elements | ||
*/ | ||
body, h1, h2, h3, h4, h5, h6, | ||
p, blockquote, pre, hr, | ||
dl, dd, ol, ul, figure { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Basic styling | ||
*/ | ||
body { | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
line-height: $base-line-height; | ||
font-weight: 300; | ||
color: $text-color; | ||
background-color: $background-color; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Set `margin-bottom` to maintain vertical rhythm | ||
*/ | ||
h1, h2, h3, h4, h5, h6, | ||
p, blockquote, pre, | ||
ul, ol, dl, figure, | ||
%vertical-rhythm { | ||
margin-bottom: $spacing-unit / 2; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Images | ||
*/ | ||
img { | ||
max-width: 100%; | ||
vertical-align: middle; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Figures | ||
*/ | ||
figure > img { | ||
display: block; | ||
} | ||
|
||
figcaption { | ||
font-size: $small-font-size; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Lists | ||
*/ | ||
ul, ol { | ||
margin-left: $spacing-unit; | ||
} | ||
|
||
li { | ||
> ul, | ||
> ol { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
|
||
|
||
/** | ||
* Headings | ||
*/ | ||
h1, h2, h3, h4, h5, h6 { | ||
font-weight: 300; | ||
} | ||
|
||
|
||
|
||
/** | ||
* Links | ||
*/ | ||
a { | ||
color: $brand-color; | ||
text-decoration: none; | ||
|
||
&:visited { | ||
color: darken($brand-color, 15%); | ||
} | ||
|
||
&:hover { | ||
color: $text-color; | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
|
||
|
||
/** | ||
* Blockquotes | ||
*/ | ||
blockquote { | ||
color: $grey-color; | ||
border-left: 4px solid $grey-color-light; | ||
padding-left: $spacing-unit / 2; | ||
font-size: 18px; | ||
letter-spacing: -1px; | ||
font-style: italic; | ||
|
||
> :last-child { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
|
||
|
||
/** | ||
* Code formatting | ||
*/ | ||
pre, | ||
code { | ||
font-size: 15px; | ||
border: 1px solid $grey-color-light; | ||
border-radius: 3px; | ||
background-color: #eef; | ||
} | ||
|
||
code { | ||
padding: 1px 5px; | ||
} | ||
|
||
pre { | ||
padding: 8px 12px; | ||
overflow-x: scroll; | ||
|
||
> code { | ||
border: 0; | ||
padding-right: 0; | ||
padding-left: 0; | ||
} | ||
} | ||
|
||
|
||
|
||
/** | ||
* Wrapper | ||
*/ | ||
.wrapper { | ||
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2)); | ||
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); | ||
margin-right: auto; | ||
margin-left: auto; | ||
padding-right: $spacing-unit; | ||
padding-left: $spacing-unit; | ||
@extend %clearfix; | ||
|
||
@include media-query($on-laptop) { | ||
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); | ||
max-width: calc(#{$content-width} - (#{$spacing-unit})); | ||
padding-right: $spacing-unit / 2; | ||
padding-left: $spacing-unit / 2; | ||
} | ||
} | ||
|
||
|
||
|
||
/** | ||
* Clearfix | ||
*/ | ||
%clearfix { | ||
|
||
&:after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} | ||
} | ||
|
||
|
||
.right { | ||
float: right; | ||
} | ||
|
||
/** | ||
* Icons | ||
*/ | ||
.icon { | ||
|
||
> svg { | ||
display: inline-block; | ||
width: 16px; | ||
height: 16px; | ||
vertical-align: middle; | ||
|
||
path { | ||
fill: $grey-color; | ||
} | ||
} | ||
} |
Oops, something went wrong.