-
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.
TODO: - Parallelise building - `meta` context - Write documentation
- Loading branch information
Showing
31 changed files
with
1,392 additions
and
353 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout = "default" | ||
title = "Page not found" | ||
permalink = "404.html" | ||
--- | ||
|
||
<div class="page"> | ||
<h1 class="page-title">Page not found</h1> | ||
<p class="lead">Return to the <a href="{{ global.url }}/">home page</a>.</p> | ||
</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,70 @@ | ||
// Body resets | ||
// | ||
// Update the foundational and global aspects of the page. | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: var(--body-font); | ||
font-size: var(--body-font-size); | ||
line-height: var(--body-line-height); | ||
color: var(--body-color); | ||
background-color: var(--body-bg); | ||
-webkit-text-size-adjust: 100%; | ||
-ms-text-size-adjust: 100%; | ||
} | ||
|
||
// No `:visited` state is required by default (browsers will use `a`) | ||
a { | ||
color: var(--link-color); | ||
|
||
// `:focus` is linked to `:hover` for basic accessibility | ||
&:hover, | ||
&:focus { | ||
color: var(--link-hover-color); | ||
} | ||
|
||
strong { | ||
color: inherit; | ||
} | ||
} | ||
|
||
img { | ||
display: block; | ||
max-width: 100%; | ||
margin-bottom: var(--spacer); | ||
border-radius: var(--border-radius); | ||
} | ||
|
||
table { | ||
margin-bottom: 1rem; | ||
width: 100%; | ||
border: 0 solid var(--border-color); | ||
border-collapse: collapse; | ||
} | ||
|
||
td, | ||
th { | ||
padding: .25rem .5rem; | ||
border-color: inherit; | ||
border-style: solid; | ||
border-width: 0; | ||
border-bottom-width: 1px; | ||
} | ||
|
||
th { | ||
text-align: left; | ||
} | ||
|
||
thead th { | ||
border-bottom-color: currentColor; | ||
} | ||
|
||
mark { | ||
padding: .15rem; | ||
background-color: var(--yellow-100); | ||
border-radius: .125rem; | ||
} |
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,58 @@ | ||
// Code | ||
// | ||
// Inline and block-level code snippets. Includes tweaks to syntax highlighted | ||
// snippets from Pygments/Rouge and Gist embeds. | ||
|
||
code, | ||
pre { | ||
font-family: var(--code-font); | ||
} | ||
|
||
code { | ||
font-size: 85%; | ||
} | ||
|
||
pre { | ||
display: block; | ||
margin-top: 0; | ||
margin-bottom: var(--spacer-3); | ||
overflow: auto; | ||
} | ||
|
||
.highlight { | ||
padding: var(--spacer); | ||
margin-bottom: var(--spacer); | ||
background-color: var(--code-bg); | ||
border-radius: var(--border-radius); | ||
|
||
pre { | ||
margin-bottom: 0; | ||
} | ||
|
||
// Triple backticks (code fencing) doubles the .highlight elements | ||
.highlight { | ||
padding: 0; | ||
} | ||
} | ||
|
||
.rouge-table { | ||
margin-bottom: 0; | ||
font-size: 100%; | ||
|
||
&, | ||
td, | ||
th { | ||
border: 0; | ||
} | ||
|
||
.gutter { | ||
vertical-align: top; | ||
user-select: none; | ||
opacity: .25; | ||
} | ||
} | ||
|
||
// Gist via GitHub Pages | ||
.gist .markdown-body { | ||
padding: 15px !important; | ||
} |
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,16 @@ | ||
// Layout | ||
// | ||
// Styles for managing the structural hierarchy of the site. | ||
|
||
.container { | ||
max-width: 45rem; | ||
padding-left: var(--spacer-2); | ||
padding-right: var(--spacer-2); | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
footer { | ||
margin-top: var(--spacer-3); | ||
margin-bottom: var(--spacer-3); | ||
} |
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,23 @@ | ||
// Masthead | ||
// | ||
// Super small header above the content for site name and short description. | ||
|
||
.masthead { | ||
padding-top: var(--spacer); | ||
padding-bottom: var(--spacer); | ||
margin-bottom: var(--spacer-3); | ||
} | ||
|
||
.masthead-title { | ||
margin-bottom: 0; | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
small { | ||
font-weight: 400; | ||
opacity: .5; | ||
} | ||
} |
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 @@ | ||
// Messages | ||
// | ||
// Show alert messages to users. You may add it to single elements like a `<p>`, | ||
// or to a parent if there are multiple elements to show. | ||
|
||
.message { | ||
padding: var(--spacer); | ||
margin-bottom: var(--spacer); | ||
color: var(--gray-900); | ||
background-color: var(--yellow-100); | ||
border-radius: var(--border-radius); | ||
} |
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,52 @@ | ||
// Pagination | ||
// | ||
// Super lightweight (HTML-wise) blog pagination. `span`s are provide for when | ||
// there are no more previous or next posts to show. | ||
|
||
.pagination { | ||
display: flex; | ||
margin: 0 -1.5rem var(--spacer); | ||
color: var(--gray-500); | ||
text-align: center; | ||
} | ||
|
||
// Pagination items can be `span`s or `a`s | ||
.pagination-item { | ||
display: block; | ||
padding: var(--spacer); | ||
text-decoration: none; | ||
border: solid var(--border-color); | ||
border-width: 1px 0; | ||
|
||
&:first-child { | ||
margin-bottom: -1px; | ||
} | ||
} | ||
|
||
// Only provide a hover state for linked pagination items | ||
a.pagination-item:hover { | ||
background-color: var(--border-color); | ||
} | ||
|
||
@media (min-width: 30em) { | ||
.pagination { | ||
margin: var(--spacer-3) 0; | ||
} | ||
|
||
.pagination-item { | ||
float: left; | ||
width: 50%; | ||
border-width: 1px; | ||
|
||
&:first-child { | ||
margin-bottom: 0; | ||
border-top-left-radius: var(--border-radius); | ||
border-bottom-left-radius: var(--border-radius); | ||
} | ||
&:last-child { | ||
margin-left: -1px; | ||
border-top-right-radius: var(--border-radius); | ||
border-bottom-right-radius: var(--border-radius); | ||
} | ||
} | ||
} |
Oops, something went wrong.