-
Notifications
You must be signed in to change notification settings - Fork 4k
Use Poole v2 #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking "Sign up for GitHub", you agree to our terms of service and privacy statement. We'll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Use Poole v2 #97
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| _gh_pages | ||
| _site | ||
| .ruby-version | ||
| .sass-cache | ||
|
|
||
| # Numerous always-ignore extensions | ||
| *.diff | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -6,5 +6,5 @@ | |
|
|
||
404: Page not found |
||
|
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again. |
||
|
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again. |
||
39 changes: 22 additions & 17 deletions
_config.yml
This file contains hidden or 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,26 +1,31 @@ | ||
| # Dependencies | ||
| markdown: redcarpet | ||
| highlighter: pygments | ||
|
|
||
| # Permalinks | ||
| permalink: pretty | ||
| # | ||
| # Use of `relative_permalinks` ensures post links from the index work properly. | ||
| permalink: pretty | ||
| relative_permalinks: true | ||
|
|
||
| # Setup | ||
| title: Hyde | ||
| tagline: 'A Jekyll theme' | ||
| description: 'A brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. Made by @mdo.' | ||
| url: http://hyde.getpoole.com | ||
| baseurl: / | ||
| title: Hyde | ||
| tagline: A Jekyll theme | ||
| description: 'A brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. Made by @mdo.' | ||
| url: http://hyde.getpoole.com | ||
| paginate: 1 | ||
| baseurl: "" | ||
|
|
||
| author: | ||
| name: 'Mark Otto' | ||
| url: https://twitter.com/mdo | ||
| # Assets | ||
| # | ||
| # We specify the directory for Jekyll so we can use @imports. | ||
| sass: | ||
| sass_dir: _sass | ||
| style: :compressed | ||
|
|
||
| paginate: 5 | ||
| # About/contact | ||
| author: | ||
| name: Mark Otto | ||
| url: https://twitter.com/mdo | ||
| email: markdotto@gmail.com | ||
|
|
||
| # Custom vars | ||
| version: 2.1.0 | ||
|
|
||
| version: 3.0.0 | ||
| github: | ||
| repo: https://github.com/poole/hyde | ||
| repo: https://github.com/poole/hyde |
This file contains hidden or 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,10 +1,9 @@ | ||
|
|
||
|
|
||
|
|
||
| {% if page.title == "Home" %} | ||
|
|
@@ -15,15 +14,13 @@ | |
|
|
||
|
|
||
|
|
||
6 changes: 3 additions & 3 deletions
_layouts/default.html
This file contains hidden or 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,15 +1,15 @@ | ||
|
|
||
| {% include head.html %} | ||
|
|
||
|
|
||
| {% include sidebar.html %} | ||
|
|
||
| <div class="content container"> | ||
| <main class="container content"> | ||
| {{ content }} | ||
| div> | ||
| main> | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| layout: default | ||
| --- | ||
|
|
||
| <div class="page"> | ||
| <article class="page"> | ||
{{ page.title }} |
||
| {{ content }} | ||
| div> | ||
| article> | ||
This file contains hidden or 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
78 changes: 78 additions & 0 deletions
_sass/_base.scss
This file contains hidden or 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,78 @@ | ||
| // Body resets | ||
| // | ||
| // Update the foundational and global aspects of the page. | ||
|
|
||
| * { | ||
| -webkit-box-sizing: border-box; | ||
| -moz-box-sizing: border-box; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| html, | ||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| html { | ||
| font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| font-size: 16px; | ||
| line-height: 1.5; | ||
|
|
||
| @media (min-width: 38em) { | ||
| font-size: 18px; | ||
| } | ||
| } | ||
|
|
||
| body { | ||
| color: #515151; | ||
| background-color: #fff; | ||
| -webkit-text-size-adjust: 100%; | ||
| -ms-text-size-adjust: 100%; | ||
| } | ||
|
|
||
| // No `:visited` state is required by default (browsers will use `a`) | ||
| a { | ||
| color: #268bd2; | ||
| text-decoration: none; | ||
|
|
||
| // `:focus` is linked to `:hover` for basic accessibility | ||
| &:hover, | ||
| &:focus { | ||
| text-decoration: underline; | ||
| } | ||
|
|
||
| strong { | ||
| color: inherit; | ||
| } | ||
| } | ||
|
|
||
| img { | ||
| display: block; | ||
| max-width: 100%; | ||
| margin: 0 0 1rem; | ||
| border-radius: 5px; | ||
| } | ||
|
|
||
| table { | ||
| margin-bottom: 1rem; | ||
| width: 100%; | ||
| font-size: 85%; | ||
| border: 1px solid #e5e5e5; | ||
| border-collapse: collapse; | ||
| } | ||
|
|
||
| td, | ||
| th { | ||
| padding: .25rem .5rem; | ||
| border: 1px solid #e5e5e5; | ||
| } | ||
|
|
||
| th { | ||
| text-align: left; | ||
| } | ||
|
|
||
| tbody tr:nth-child(odd) td, | ||
| tbody tr:nth-child(odd) th { | ||
| background-color: #f9f9f9; | ||
| } |
78 changes: 78 additions & 0 deletions
_sass/_code.scss
This file contains hidden or 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,78 @@ | ||
| // Code | ||
| // | ||
| // Inline and block-level code snippets. Includes tweaks to syntax highlighted | ||
| // snippets from Pygments/Rouge and Gist embeds. | ||
|
|
||
| code, | ||
| pre { | ||
| font-family: Menlo, Monaco, "Courier New", monospace; | ||
| } | ||
|
|
||
| code { | ||
| padding: .25em .5em; | ||
| font-size: 85%; | ||
| color: #bf616a; | ||
| background-color: #f9f9f9; | ||
| border-radius: 3px; | ||
| } | ||
|
|
||
| pre { | ||
| margin-top: 0; | ||
| margin-bottom: 1rem; | ||
| } | ||
|
|
||
| pre code { | ||
| padding: 0; | ||
| font-size: 100%; | ||
| color: inherit; | ||
| background-color: transparent; | ||
| } | ||
|
|
||
| // Pygments via Jekyll | ||
| .highlight { | ||
| padding: 1rem; | ||
| margin-bottom: 1rem; | ||
| font-size: .8rem; | ||
| line-height: 1.4; | ||
| background-color: #f9f9f9; | ||
| border-radius: .25rem; | ||
|
|
||
| pre { | ||
| margin-bottom: 0; | ||
| overflow-x: auto; | ||
| } | ||
|
|
||
| .lineno { | ||
| display: inline-block; // Ensures the null space also isn't selectable | ||
| padding-right: .75rem; | ||
| padding-left: .25rem; | ||
| color: #999; | ||
| // Make sure numbers aren't selectable | ||
| -webkit-user-select: none; | ||
| -moz-user-select: none; | ||
| user-select: none; | ||
| } | ||
| } | ||
|
|
||
|
|
||
| // Gist via GitHub Pages | ||
| // .gist .gist-file { | ||
| // font-family: Menlo, Monaco, "Courier New", monospace !important; | ||
| // } | ||
| // .gist .markdown-body { | ||
| // padding: 15px; | ||
| // } | ||
| // .gist pre { | ||
| // padding: 0; | ||
| // background-color: transparent; | ||
| // } | ||
| // .gist .gist-file .gist-data { | ||
| // font-size: .8rem !important; | ||
| // line-height: 1.4; | ||
| // } | ||
| // .gist code { | ||
| // padding: 0; | ||
| // color: inherit; | ||
| // background-color: transparent; | ||
| // border-radius: 0; | ||
| // } |
0
public/css/hyde.css - _sass/_hyde.scss
File renamed without changes.
15 changes: 15 additions & 0 deletions
_sass/_layout.scss
This file contains hidden or 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 | ||
| // | ||
| // Styles for managing the structural hierarchy of the site. | ||
|
|
||
| .container { | ||
| max-width: 38rem; | ||
| padding-left: 1.5rem; | ||
| padding-right: 1.5rem; | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| } | ||
|
|
||
| footer { | ||
| margin-bottom: 2rem; | ||
| } |
26 changes: 26 additions & 0 deletions
_sass/_masthead.scss
This file contains hidden or 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,26 @@ | ||
| // Masthead | ||
| // | ||
| // Super small header above the content for site name and short description. | ||
|
|
||
| .masthead { | ||
| padding-top: 1rem; | ||
| padding-bottom: 1rem; | ||
| margin-bottom: 3rem; | ||
| } | ||
|
|
||
| .masthead-title { | ||
| margin-top: 0; | ||
| margin-bottom: 0; | ||
| color: #505050; | ||
|
|
||
| a { | ||
| color: #505050; | ||
| } | ||
|
|
||
| small { | ||
| font-size: 75%; | ||
| font-weight: 400; | ||
| color: #c0c0c0; | ||
| letter-spacing: 0; | ||
| } | ||
| } |
11 changes: 11 additions & 0 deletions
_sass/_message.scss
This file contains hidden or 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,11 @@ | ||
| // Messages | ||
| // | ||
|
// Show alert messages to users. You may add it to single elements like a ` `, |
||
| // or to a parent if there are multiple elements to show. | ||
|
|
||
| .message { | ||
| margin-bottom: 1rem; | ||
| padding: 1rem; | ||
| color: #717171; | ||
| background-color: #f9f9f9; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.