Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
mhemmings wants to merge 1 commit into poole:master
base: master
Choose a base branch
Loading
from mhemmings:master
Open

Use Poole v2 #97

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
_gh_pages
_site
.ruby-version
.sass-cache

# Numerous always-ignore extensions
*.diff
Expand Down
2 changes: 1 addition & 1 deletion 404.html
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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
View file
Open in desktop
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
15 changes: 6 additions & 9 deletions _includes/head.html
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@


</span></td> </tr> <tr> <td id="diff-e241bda4e3c3c6dc1c0b00185b61f6ce19b5eb16e294dd955ca9fa6d01befb0eL10"></td> <td id="diff-e241bda4e3c3c6dc1c0b00185b61f6ce19b5eb16e294dd955ca9fa6d01befb0eR9"></td> <td> <span> {% if page.title == "Home" %}</span></td> </tr> <tr> <td colspan="2"> <tool-tip id="tooltip-e1b0ffe8-3a42-42ac-b63e-8ea06c3ee405" for="expand-link-13-diff-e241bda4e3c3c6dc1c0b00185b61f6ce19b 5eb16e294dd955ca9fa6d01befb0e" popover="manual">Expand All</tool-tip> </td> <td>@@ -15,15 +14,13 @@</td> </tr> <tr> <td id="diff-e241bda4e3c3c6dc1c0b00185b61f6ce19b5eb16e294dd955ca9fa6d01befb0eL15"></td> <td id="diff-e241bda4e3c3c6dc1c0b00185b61f6ce19b5eb16e294dd955ca9fa6d01befb0eR14"></td> <td> <span>



6 changes: 3 additions & 3 deletions _layouts/default.html
View file
Open in desktop
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>

4 changes: 2 additions & 2 deletions _layouts/page.html
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
---

<div class="page">
<article class="page">

{{ page.title }}

{{ content }}
div>
article>
16 changes: 9 additions & 7 deletions _layouts/post.html
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@
layout: default
---

<div class="post">
<article class="post">

{{ page.title }}

<span class="post-date">{{ page.date | date_to_string }}span>
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}time>
{{ content }}
div>
article>

{% if site.related_posts != empty %}

Related Posts

{% for post in site.related_posts limit:3 %}
  • {{ post.title }}
    {{ post.date | date_to_string }}
    date_to_string }}
    {% endfor %}
    {% endif %}
    78 changes: 78 additions & 0 deletions _sass/_base.scss
    View file
    Open in desktop
    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
    View file
    Open in desktop
    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
    View file
    Open in desktop
    File renamed without changes.
    15 changes: 15 additions & 0 deletions _sass/_layout.scss
    View file
    Open in desktop
    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
    View file
    Open in desktop
    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
    View file
    Open in desktop
    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;
    }
    Loading