jekyll-theme-poole 2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +9 -0
- data/README.md +121 -0
- data/_includes/head.html +17 -0
- data/_layouts/default.html +38 -0
- data/_layouts/home.html +32 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +25 -0
- data/_sass/_base.scss +78 -0
- data/_sass/_code.scss +78 -0
- data/_sass/_layout.scss +15 -0
- data/_sass/_masthead.scss +25 -0
- data/_sass/_message.scss +11 -0
- data/_sass/_pagination.scss +51 -0
- data/_sass/_posts.scss +67 -0
- data/_sass/_syntax.scss +65 -0
- data/_sass/_type.scss +117 -0
- data/_sass/_variables.scss +30 -0
- data/assets/apple-touch-icon-precomposed.png +0 -0
- data/assets/favicon.ico +0 -0
- data/assets/styles.scss +29 -0
- metadata +108 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2b92e8218bcf043304b738d7fa043f48d321d1f7
|
4
|
+
data.tar.gz: e13ce041533dd9ace7d61af8718a29134c3bda63
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a362c3ab59290b2f2225ac47ed017c07fe7b6b8b5907e15bfd7a0d035fa9f026245fdaaebf8b85fc2fd64a89b227a14dfb853483d6f7691e6fcfcc5f1e8344b4
|
7
|
+
data.tar.gz: 1da8d306c0539bb77c987aa2d875f2c596e39081f27d676f812e761ea5ce77283c0bbf87e8c17bff63c2af7b8640b1d05162cc03322364e3131b5d10e03500ef
|
data/LICENSE.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# Released under MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2013 Mark Otto.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
# Poole
|
2
|
+
|
3
|
+
*The Strange Case of Dr. Jekyll and Mr. Hyde* tells the story of a lawyer investigating the connection of two persons, Dr. Henry Jekyll and Mr. Edward Hyde. Chief among the novel's supporting cast is a man by the name of Mr. Poole, Dr. Jekyll's loyal butler.
|
4
|
+
|
5
|
+
-----
|
6
|
+
|
7
|
+
Poole is the butler for [Jekyll](http://jekyllrb.com), the static site generator. It's designed and developed by [@mdo](https://twitter.com/mdo) to provide a clear and concise foundational setup for any Jekyll site. It does so by furnishing a full vanilla Jekyll install with example templates, pages, posts, and styles.
|
8
|
+
|
9
|
+
![Poole](https://f.cloud.github.com/assets/98681/1834359/71ae4048-73db-11e3-9a3c-df38eb170537.png)
|
10
|
+
|
11
|
+
See Poole in action with [the demo site](http://demo.getpoole.com).
|
12
|
+
|
13
|
+
There are currently two official themes built on Poole:
|
14
|
+
|
15
|
+
* [Hyde](http://hyde.getpoole.com)
|
16
|
+
* [Lanyon](http://lanyon.getpoole.com)
|
17
|
+
|
18
|
+
Individual theme feedback and bug reports should be submitted to the theme's individual repository.
|
19
|
+
|
20
|
+
|
21
|
+
## Contents
|
22
|
+
|
23
|
+
- [Usage](#usage)
|
24
|
+
- [Options](#options)
|
25
|
+
- [Rems, `font-size`, and scaling](#rems-font-size-and-scaling)
|
26
|
+
- [Development](#development)
|
27
|
+
- [Author](#author)
|
28
|
+
- [License](#license)
|
29
|
+
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
### 1. Install dependencies
|
34
|
+
|
35
|
+
Poole is built on Jekyll and uses its built-in SCSS compiler to generate our CSS. Before getting started, you'll need to install the Jekyll gem:
|
36
|
+
|
37
|
+
```bash
|
38
|
+
$ gem install jekyll
|
39
|
+
```
|
40
|
+
|
41
|
+
**Windows users:** Windows users have a bit more work to do, but luckily [@juthilo](https://github.com/juthilo) has your back with his [Run Jekyll on Windows](https://github.com/juthilo/run-jekyll-on-windows) guide.
|
42
|
+
|
43
|
+
**Need syntax highlighting?** Poole includes support for Pygments or Rouge, so install your gem of choice to make use of the built-in styling. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting).
|
44
|
+
|
45
|
+
### 2a. Quick start
|
46
|
+
|
47
|
+
To help anyone with any level of familiarity with Jekyll quickly get started, Poole includes everything you need for a basic Jekyll site. To that end, just download Poole and start up Jekyll.
|
48
|
+
|
49
|
+
### 2b. Roll your own Jekyll site
|
50
|
+
|
51
|
+
Folks wishing to use Jekyll's templates and styles can do so with a little bit of manual labor. Download Poole and then copy what you need (likely `_layouts/`, `*.html` files, `atom.xml` for RSS, and `public/` for CSS, JS, etc.).
|
52
|
+
|
53
|
+
### 3. Running locally
|
54
|
+
|
55
|
+
To see your Jekyll site with Poole applied, start a Jekyll server. In Terminal, from `/poole` (or whatever your Jekyll site's root directory is named):
|
56
|
+
|
57
|
+
```bash
|
58
|
+
$ jekyll serve
|
59
|
+
```
|
60
|
+
|
61
|
+
Open <http://localhost:4000> in your browser, and voilà.
|
62
|
+
|
63
|
+
### 4. Serving it up
|
64
|
+
|
65
|
+
If you host your code on GitHub, you can use [GitHub Pages](https://pages.github.com) to host your project.
|
66
|
+
|
67
|
+
1. Fork this repo and switch to the `gh-pages` branch.
|
68
|
+
1. If you're [using a custom domain name](https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages), modify the `CNAME` file to point to your new domain.
|
69
|
+
2. If you're not using a custom domain name, **modify the `baseurl` in `_config.yml`** to point to your GitHub Pages URL. Example: for a repo at `github.com/username/poole`, use `http://username.github.io/poole/`. **Be sure to include the trailing slash.**
|
70
|
+
3. Done! Head to your GitHub Pages URL or custom domain.
|
71
|
+
|
72
|
+
No matter your production or hosting setup, be sure to verify the `baseurl` option file and `CNAME` settings. Not applying this correctly can mean broken styles on your site.
|
73
|
+
|
74
|
+
## Options
|
75
|
+
|
76
|
+
Poole includes some customizable options, typically applied via classes on the `<body>` element.
|
77
|
+
|
78
|
+
|
79
|
+
### Rems, `font-size`, and scaling
|
80
|
+
|
81
|
+
Poole is built almost entirely with `rem`s (instead of pixels). `rem`s are like `em`s, but instead of building on the immediate parent's `font-size`, they build on the root element, `<html>`.
|
82
|
+
|
83
|
+
By default, we use the following:
|
84
|
+
|
85
|
+
```css
|
86
|
+
html {
|
87
|
+
font-size: 16px;
|
88
|
+
line-height: 1.5;
|
89
|
+
}
|
90
|
+
@media (min-width: 38em) {
|
91
|
+
html {
|
92
|
+
font-size: 20px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
```
|
97
|
+
|
98
|
+
To easily scale your site's typography and components, simply customize the base `font-size`s here.
|
99
|
+
|
100
|
+
|
101
|
+
## Development
|
102
|
+
|
103
|
+
Poole has two branches, but only one is used for active development.
|
104
|
+
|
105
|
+
- `master` for development. **All pull requests should be to submitted against `master`.**
|
106
|
+
- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.**
|
107
|
+
|
108
|
+
CSS is handled via Jeykll's built-in Sass compiler. Source Sass files are located in `_sass/`, included into `styles.scss`, and compile to `styles.css`.
|
109
|
+
|
110
|
+
## Author
|
111
|
+
|
112
|
+
**Mark Otto**
|
113
|
+
- <https://github.com/mdo>
|
114
|
+
- <https://twitter.com/mdo>
|
115
|
+
|
116
|
+
|
117
|
+
## License
|
118
|
+
|
119
|
+
Open sourced under the [MIT license](LICENSE.md).
|
120
|
+
|
121
|
+
<3
|
data/_includes/head.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
|
5
|
+
<title>
|
6
|
+
{% if page.title == "Home" %}
|
7
|
+
{{ site.title }} · {{ site.tagline }}
|
8
|
+
{% else %}
|
9
|
+
{{ page.title }} · {{ site.title }}
|
10
|
+
{% endif %}
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
14
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "/assets/apple-touch-icon-precomposed.png" | relative_url }}">
|
15
|
+
<link rel="shortcut icon" href="{{ "/assets/favicon.ico" | relative_url }}">
|
16
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
17
|
+
</head>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<div class="container content">
|
9
|
+
<header class="masthead">
|
10
|
+
<h3 class="masthead-title">
|
11
|
+
<a href="{{ "/" | relative_url }}" title="Home">{{ site.title }}</a>
|
12
|
+
<small>{{ site.tagline }}</small>
|
13
|
+
</h3>
|
14
|
+
</header>
|
15
|
+
|
16
|
+
<main>
|
17
|
+
{{ content }}
|
18
|
+
</main>
|
19
|
+
|
20
|
+
<footer class="footer">
|
21
|
+
<small>
|
22
|
+
© <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>. All rights reserved.
|
23
|
+
</small>
|
24
|
+
</footer>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
{% if site.analytics_id %}
|
28
|
+
<script>
|
29
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
30
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
31
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
32
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
33
|
+
ga('create', '{{ site.analytics_id }}', 'auto');
|
34
|
+
ga('send', 'pageview');
|
35
|
+
</script>
|
36
|
+
{% endif %}
|
37
|
+
</body>
|
38
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="posts">
|
6
|
+
{% for post in paginator.posts %}
|
7
|
+
<article class="post">
|
8
|
+
<h1 class="post-title">
|
9
|
+
<a href="{{ post.url | relative_url }}">
|
10
|
+
{{ post.title }}
|
11
|
+
</a>
|
12
|
+
</h1>
|
13
|
+
|
14
|
+
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time>
|
15
|
+
|
16
|
+
{{ post.content }}
|
17
|
+
</article>
|
18
|
+
{% endfor %}
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="pagination">
|
22
|
+
{% if paginator.next_page %}
|
23
|
+
<a class="pagination-item older" href="{{ paginator.next_page_path | relative_url }}">Older</a>
|
24
|
+
{% else %}
|
25
|
+
<span class="pagination-item older">Older</span>
|
26
|
+
{% endif %}
|
27
|
+
{% if paginator.previous_page %}
|
28
|
+
<a class="pagination-item newer" href="{{ paginator.previous_page_path | relative_url }}">Newer</a>
|
29
|
+
{% else %}
|
30
|
+
<span class="pagination-item newer">Newer</span>
|
31
|
+
{% endif %}
|
32
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post">
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
7
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
|
8
|
+
{{ content }}
|
9
|
+
</article>
|
10
|
+
|
11
|
+
{% if site.related_posts != empty %}
|
12
|
+
<aside class="related">
|
13
|
+
<h3>Related posts</h3>
|
14
|
+
<ul class="related-posts">
|
15
|
+
{% for post in site.related_posts limit:3 %}
|
16
|
+
<li>
|
17
|
+
<a href="{{ post.url | relative_url }}">
|
18
|
+
{{ post.title }}
|
19
|
+
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</aside>
|
25
|
+
{% endif %}
|
data/_sass/_base.scss
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
// Body resets
|
2
|
+
//
|
3
|
+
// Update the foundational and global aspects of the page.
|
4
|
+
|
5
|
+
* {
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
|
11
|
+
html,
|
12
|
+
body {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
html {
|
18
|
+
font-family: $root-font-family;
|
19
|
+
font-size: $root-font-size;
|
20
|
+
line-height: $root-line-height;
|
21
|
+
|
22
|
+
@media (min-width: $large-breakpoint) {
|
23
|
+
font-size: $large-font-size;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
body {
|
28
|
+
color: $body-color;
|
29
|
+
background-color: $body-bg;
|
30
|
+
-webkit-text-size-adjust: 100%;
|
31
|
+
-ms-text-size-adjust: 100%;
|
32
|
+
}
|
33
|
+
|
34
|
+
// No `:visited` state is required by default (browsers will use `a`)
|
35
|
+
a {
|
36
|
+
color: $link-color;
|
37
|
+
text-decoration: none;
|
38
|
+
|
39
|
+
// `:focus` is linked to `:hover` for basic accessibility
|
40
|
+
&:hover,
|
41
|
+
&:focus {
|
42
|
+
text-decoration: underline;
|
43
|
+
}
|
44
|
+
|
45
|
+
strong {
|
46
|
+
color: inherit;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
img {
|
51
|
+
display: block;
|
52
|
+
max-width: 100%;
|
53
|
+
margin: 0 0 1rem;
|
54
|
+
border-radius: 5px;
|
55
|
+
}
|
56
|
+
|
57
|
+
table {
|
58
|
+
margin-bottom: 1rem;
|
59
|
+
width: 100%;
|
60
|
+
font-size: 85%;
|
61
|
+
border: 1px solid #e5e5e5;
|
62
|
+
border-collapse: collapse;
|
63
|
+
}
|
64
|
+
|
65
|
+
td,
|
66
|
+
th {
|
67
|
+
padding: .25rem .5rem;
|
68
|
+
border: 1px solid #e5e5e5;
|
69
|
+
}
|
70
|
+
|
71
|
+
th {
|
72
|
+
text-align: left;
|
73
|
+
}
|
74
|
+
|
75
|
+
tbody tr:nth-child(odd) td,
|
76
|
+
tbody tr:nth-child(odd) th {
|
77
|
+
background-color: #f9f9f9;
|
78
|
+
}
|
data/_sass/_code.scss
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
// Code
|
2
|
+
//
|
3
|
+
// Inline and block-level code snippets. Includes tweaks to syntax highlighted
|
4
|
+
// snippets from Pygments/Rouge and Gist embeds.
|
5
|
+
|
6
|
+
code,
|
7
|
+
pre {
|
8
|
+
font-family: $code-font-family;
|
9
|
+
}
|
10
|
+
|
11
|
+
code {
|
12
|
+
padding: .25em .5em;
|
13
|
+
font-size: 85%;
|
14
|
+
color: $code-color;
|
15
|
+
background-color: #f9f9f9;
|
16
|
+
border-radius: 3px;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre {
|
20
|
+
margin-top: 0;
|
21
|
+
margin-bottom: 1rem;
|
22
|
+
}
|
23
|
+
|
24
|
+
pre code {
|
25
|
+
padding: 0;
|
26
|
+
font-size: 100%;
|
27
|
+
color: inherit;
|
28
|
+
background-color: transparent;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Pygments via Jekyll
|
32
|
+
.highlight {
|
33
|
+
padding: 1rem;
|
34
|
+
margin-bottom: 1rem;
|
35
|
+
font-size: .8rem;
|
36
|
+
line-height: 1.4;
|
37
|
+
background-color: #f9f9f9;
|
38
|
+
border-radius: .25rem;
|
39
|
+
|
40
|
+
pre {
|
41
|
+
margin-bottom: 0;
|
42
|
+
overflow-x: auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
.lineno {
|
46
|
+
display: inline-block; // Ensures the null space also isn't selectable
|
47
|
+
padding-right: .75rem;
|
48
|
+
padding-left: .25rem;
|
49
|
+
color: #999;
|
50
|
+
// Make sure numbers aren't selectable
|
51
|
+
-webkit-user-select: none;
|
52
|
+
-moz-user-select: none;
|
53
|
+
user-select: none;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
// Gist via GitHub Pages
|
59
|
+
// .gist .gist-file {
|
60
|
+
// font-family: Menlo, Monaco, "Courier New", monospace !important;
|
61
|
+
// }
|
62
|
+
// .gist .markdown-body {
|
63
|
+
// padding: 15px;
|
64
|
+
// }
|
65
|
+
// .gist pre {
|
66
|
+
// padding: 0;
|
67
|
+
// background-color: transparent;
|
68
|
+
// }
|
69
|
+
// .gist .gist-file .gist-data {
|
70
|
+
// font-size: .8rem !important;
|
71
|
+
// line-height: 1.4;
|
72
|
+
// }
|
73
|
+
// .gist code {
|
74
|
+
// padding: 0;
|
75
|
+
// color: inherit;
|
76
|
+
// background-color: transparent;
|
77
|
+
// border-radius: 0;
|
78
|
+
// }
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
// Layout
|
2
|
+
//
|
3
|
+
// Styles for managing the structural hierarchy of the site.
|
4
|
+
|
5
|
+
.container {
|
6
|
+
max-width: 38rem;
|
7
|
+
padding-left: 1.5rem;
|
8
|
+
padding-right: 1.5rem;
|
9
|
+
margin-left: auto;
|
10
|
+
margin-right: auto;
|
11
|
+
}
|
12
|
+
|
13
|
+
footer {
|
14
|
+
margin-bottom: 2rem;
|
15
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// Masthead
|
2
|
+
//
|
3
|
+
// Super small header above the content for site name and short description.
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
padding-top: 1rem;
|
7
|
+
padding-bottom: 1rem;
|
8
|
+
margin-bottom: 3rem;
|
9
|
+
}
|
10
|
+
|
11
|
+
.masthead-title {
|
12
|
+
margin-top: 0;
|
13
|
+
margin-bottom: 0;
|
14
|
+
color: $gray-4;
|
15
|
+
|
16
|
+
a {
|
17
|
+
color: inherit;
|
18
|
+
}
|
19
|
+
|
20
|
+
small {
|
21
|
+
font-size: 75%;
|
22
|
+
font-weight: 400;
|
23
|
+
opacity: .5;
|
24
|
+
}
|
25
|
+
}
|
data/_sass/_message.scss
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
// Messages
|
2
|
+
//
|
3
|
+
// Show alert messages to users. You may add it to single elements like a `<p>`,
|
4
|
+
// or to a parent if there are multiple elements to show.
|
5
|
+
|
6
|
+
.message {
|
7
|
+
margin-bottom: 1rem;
|
8
|
+
padding: 1rem;
|
9
|
+
color: #717171;
|
10
|
+
background-color: #f9f9f9;
|
11
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
// Pagination
|
2
|
+
//
|
3
|
+
// Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
|
4
|
+
// there are no more previous or next posts to show.
|
5
|
+
|
6
|
+
.pagination {
|
7
|
+
overflow: hidden; // clearfix
|
8
|
+
margin: 0 -1.5rem 1rem;
|
9
|
+
color: #ccc;
|
10
|
+
text-align: center;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Pagination items can be `span`s or `a`s
|
14
|
+
.pagination-item {
|
15
|
+
display: block;
|
16
|
+
padding: 1rem;
|
17
|
+
border: solid #eee;
|
18
|
+
border-width: 1px 0;
|
19
|
+
|
20
|
+
&:first-child {
|
21
|
+
margin-bottom: -1px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// Only provide a hover state for linked pagination items
|
26
|
+
a.pagination-item:hover {
|
27
|
+
background-color: #f5f5f5;
|
28
|
+
}
|
29
|
+
|
30
|
+
@media (min-width: 30em) {
|
31
|
+
.pagination {
|
32
|
+
margin: 3rem 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
.pagination-item {
|
36
|
+
float: left;
|
37
|
+
width: 50%;
|
38
|
+
border-width: 1px;
|
39
|
+
|
40
|
+
&:first-child {
|
41
|
+
margin-bottom: 0;
|
42
|
+
border-top-left-radius: 4px;
|
43
|
+
border-bottom-left-radius: 4px;
|
44
|
+
}
|
45
|
+
&:last-child {
|
46
|
+
margin-left: -1px;
|
47
|
+
border-top-right-radius: 4px;
|
48
|
+
border-bottom-right-radius: 4px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
data/_sass/_posts.scss
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
// Posts and pages
|
2
|
+
//
|
3
|
+
// Each post is wrapped in `.post` and is used on default and post layouts. Each
|
4
|
+
// page is wrapped in `.page` and is only used on the page layout.
|
5
|
+
|
6
|
+
.page,
|
7
|
+
.post {
|
8
|
+
margin-bottom: 4em;
|
9
|
+
|
10
|
+
li + li {
|
11
|
+
margin-top: .25rem;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
// Blog post or page title
|
16
|
+
.page-title,
|
17
|
+
.post-title,
|
18
|
+
.post-title a {
|
19
|
+
color: #303030;
|
20
|
+
}
|
21
|
+
.page-title,
|
22
|
+
.post-title {
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Meta data line below post title
|
27
|
+
.post-date {
|
28
|
+
display: block;
|
29
|
+
margin-top: -.5rem;
|
30
|
+
margin-bottom: 1rem;
|
31
|
+
color: #9a9a9a;
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
// Related posts
|
36
|
+
.related {
|
37
|
+
padding-top: 2rem;
|
38
|
+
padding-bottom: 2rem;
|
39
|
+
margin-bottom: 2rem;
|
40
|
+
border-top: 1px solid #eee;
|
41
|
+
border-bottom: 1px solid #eee;
|
42
|
+
}
|
43
|
+
|
44
|
+
.related-posts {
|
45
|
+
padding-left: 0;
|
46
|
+
list-style: none;
|
47
|
+
|
48
|
+
h3 {
|
49
|
+
margin-top: 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
li {
|
53
|
+
small {
|
54
|
+
font-size: 75%;
|
55
|
+
color: #999;
|
56
|
+
}
|
57
|
+
|
58
|
+
a:hover {
|
59
|
+
color: #268bd2;
|
60
|
+
text-decoration: none;
|
61
|
+
|
62
|
+
small {
|
63
|
+
color: inherit;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
data/_sass/_syntax.scss
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
.highlight .hll { background-color: #ffc; }
|
2
|
+
.highlight .c { color: #999; } /* Comment */
|
3
|
+
.highlight .err { color: #a00; background-color: #faa } /* Error */
|
4
|
+
.highlight .k { color: #069; } /* Keyword */
|
5
|
+
.highlight .o { color: #555 } /* Operator */
|
6
|
+
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #099 } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999; } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999; } /* Comment.Special */
|
10
|
+
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
|
11
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #f00 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #030; } /* Generic.Heading */
|
14
|
+
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #aaa } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #009; } /* Generic.Prompt */
|
17
|
+
.highlight .gs { } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #030; } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #9c6 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #069; } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #069; } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #069; } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #069 } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #069; } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #078; } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #f60 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #d44950 } /* Literal.String */
|
28
|
+
.highlight .na { color: #4f9fcf } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #366 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #0a8; } /* Name.Class */
|
31
|
+
.highlight .no { color: #360 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #99f } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #999; } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #c00; } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #c0f } /* Name.Function */
|
36
|
+
.highlight .nl { color: #99f } /* Name.Label */
|
37
|
+
.highlight .nn { color: #0cf; } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #2f6f9f; } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #033 } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #000; } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #f60 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #f60 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #f60 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #f60 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #c30 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #c30 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #c30 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #c30; } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #a00 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #c30 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #3aa } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #c30 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #033 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #033 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #033 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
.css .o,
|
64
|
+
.css .o + .nt,
|
65
|
+
.css .nt + .nt { color: #999; }
|
data/_sass/_type.scss
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
// Typography
|
2
|
+
//
|
3
|
+
// Headings, body text, lists, and other misc typographic elements.
|
4
|
+
|
5
|
+
h1, h2, h3, h4, h5, h6 {
|
6
|
+
margin-bottom: .5rem;
|
7
|
+
font-weight: 600;
|
8
|
+
line-height: 1.25;
|
9
|
+
color: #313131;
|
10
|
+
text-rendering: optimizeLegibility;
|
11
|
+
}
|
12
|
+
|
13
|
+
h1 {
|
14
|
+
font-size: 2rem;
|
15
|
+
}
|
16
|
+
|
17
|
+
h2 {
|
18
|
+
margin-top: 1rem;
|
19
|
+
font-size: 1.5rem;
|
20
|
+
}
|
21
|
+
|
22
|
+
h3 {
|
23
|
+
margin-top: 1.5rem;
|
24
|
+
font-size: 1.25rem;
|
25
|
+
}
|
26
|
+
|
27
|
+
h4, h5, h6 {
|
28
|
+
margin-top: 1rem;
|
29
|
+
font-size: 1rem;
|
30
|
+
}
|
31
|
+
|
32
|
+
p {
|
33
|
+
margin-top: 0;
|
34
|
+
margin-bottom: 1rem;
|
35
|
+
}
|
36
|
+
|
37
|
+
strong {
|
38
|
+
color: #303030;
|
39
|
+
}
|
40
|
+
|
41
|
+
ul, ol, dl {
|
42
|
+
margin-top: 0;
|
43
|
+
margin-bottom: 1rem;
|
44
|
+
}
|
45
|
+
|
46
|
+
dt {
|
47
|
+
font-weight: bold;
|
48
|
+
}
|
49
|
+
|
50
|
+
dd {
|
51
|
+
margin-bottom: .5rem;
|
52
|
+
}
|
53
|
+
|
54
|
+
hr {
|
55
|
+
position: relative;
|
56
|
+
margin: 1.5rem 0;
|
57
|
+
border: 0;
|
58
|
+
border-top: 1px solid #eee;
|
59
|
+
border-bottom: 1px solid #fff;
|
60
|
+
}
|
61
|
+
|
62
|
+
abbr {
|
63
|
+
font-size: 85%;
|
64
|
+
font-weight: bold;
|
65
|
+
color: #555;
|
66
|
+
text-transform: uppercase;
|
67
|
+
|
68
|
+
&[title] {
|
69
|
+
cursor: help;
|
70
|
+
border-bottom: 1px dotted #e5e5e5;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
blockquote {
|
75
|
+
padding: .5rem 1rem;
|
76
|
+
margin: .8rem 0;
|
77
|
+
color: #7a7a7a;
|
78
|
+
border-left: .25rem solid #e5e5e5;
|
79
|
+
|
80
|
+
p:last-child {
|
81
|
+
margin-bottom: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
@media (min-width: 30em) {
|
85
|
+
padding-right: 5rem;
|
86
|
+
padding-left: 1.25rem;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
// Markdown footnotes
|
92
|
+
//
|
93
|
+
// See the example content post for an example.
|
94
|
+
|
95
|
+
// Footnote number within body text
|
96
|
+
a[href^="#fn:"],
|
97
|
+
// Back to footnote link
|
98
|
+
a[href^="#fnref:"] {
|
99
|
+
display: inline-block;
|
100
|
+
margin-left: .1rem;
|
101
|
+
font-weight: bold;
|
102
|
+
}
|
103
|
+
|
104
|
+
// List of footnotes
|
105
|
+
.footnotes {
|
106
|
+
margin-top: 2rem;
|
107
|
+
font-size: 85%;
|
108
|
+
}
|
109
|
+
|
110
|
+
// Custom type
|
111
|
+
//
|
112
|
+
// Extend paragraphs with `.lead` for larger introductory text.
|
113
|
+
|
114
|
+
.lead {
|
115
|
+
font-size: 1.25rem;
|
116
|
+
font-weight: 300;
|
117
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
$gray-1: #f9f9f9;
|
2
|
+
$gray-2: #ccc;
|
3
|
+
$gray-3: #767676;
|
4
|
+
$gray-4: #515151;
|
5
|
+
$gray-5: #313131;
|
6
|
+
|
7
|
+
$red: #ac4142;
|
8
|
+
$orange: #d28445;
|
9
|
+
$yellow: #f4bf75;
|
10
|
+
$green: #90a959;
|
11
|
+
$cyan: #75b5aa;
|
12
|
+
$blue: #268bd2;
|
13
|
+
// $blue: #6a9fb5;
|
14
|
+
$brown: #8f5536;
|
15
|
+
|
16
|
+
$root-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
|
17
|
+
$root-font-size: 16px;
|
18
|
+
$root-line-height: 1.5;
|
19
|
+
|
20
|
+
$body-color: #515151;
|
21
|
+
$body-bg: #fff;
|
22
|
+
$link-color: $blue;
|
23
|
+
|
24
|
+
$border-color: #e5e5e5;
|
25
|
+
|
26
|
+
$large-breakpoint: 38em;
|
27
|
+
$large-font-size: 20px;
|
28
|
+
|
29
|
+
$code-font-family: Menlo, Monaco, "Courier New", monospace;
|
30
|
+
$code-color: #bf616a;
|
Binary file
|
data/assets/favicon.ico
ADDED
Binary file
|
data/assets/styles.scss
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
# Use a comment to ensure Jekyll reads the file to be transformed into CSS later
|
3
|
+
# only main files contain this front matter, not partials.
|
4
|
+
---
|
5
|
+
|
6
|
+
//
|
7
|
+
// ___
|
8
|
+
// /\_ \
|
9
|
+
// _____ ___ ___\//\ \ __
|
10
|
+
// /\ '__`\ / __`\ / __`\\ \ \ /'__`\
|
11
|
+
// \ \ \_\ \/\ \_\ \/\ \_\ \\_\ \_/\ __/
|
12
|
+
// \ \ ,__/\ \____/\ \____//\____\ \____\
|
13
|
+
// \ \ \/ \/___/ \/___/ \/____/\/____/
|
14
|
+
// \ \_\
|
15
|
+
// \/_/
|
16
|
+
//
|
17
|
+
// Designed, built, and released under MIT license by @mdo. Learn more at
|
18
|
+
// https://github.com/poole/poole.
|
19
|
+
|
20
|
+
@import "variables";
|
21
|
+
@import "base";
|
22
|
+
@import "type";
|
23
|
+
@import "syntax";
|
24
|
+
@import "code";
|
25
|
+
@import "layout";
|
26
|
+
@import "masthead";
|
27
|
+
@import "posts";
|
28
|
+
@import "pagination";
|
29
|
+
@import "message";
|
metadata
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-poole
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '2.0'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mark Otto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.13'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- markdotto@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.md
|
63
|
+
- README.md
|
64
|
+
- _includes/head.html
|
65
|
+
- _layouts/default.html
|
66
|
+
- _layouts/home.html
|
67
|
+
- _layouts/page.html
|
68
|
+
- _layouts/post.html
|
69
|
+
- _sass/_base.scss
|
70
|
+
- _sass/_code.scss
|
71
|
+
- _sass/_layout.scss
|
72
|
+
- _sass/_masthead.scss
|
73
|
+
- _sass/_message.scss
|
74
|
+
- _sass/_pagination.scss
|
75
|
+
- _sass/_posts.scss
|
76
|
+
- _sass/_syntax.scss
|
77
|
+
- _sass/_type.scss
|
78
|
+
- _sass/_variables.scss
|
79
|
+
- assets/apple-touch-icon-precomposed.png
|
80
|
+
- assets/favicon.ico
|
81
|
+
- assets/styles.scss
|
82
|
+
homepage: https://github.com/poole/poole
|
83
|
+
licenses:
|
84
|
+
- MIT
|
85
|
+
metadata:
|
86
|
+
plugin_type: theme
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
requirements: []
|
102
|
+
rubyforge_project:
|
103
|
+
rubygems_version: 2.6.8
|
104
|
+
signing_key:
|
105
|
+
specification_version: 4
|
106
|
+
summary: The Jekyll Butler, designed and developed by @mdo to provide a clear and
|
107
|
+
concise foundational setup for any Jekyll site.
|
108
|
+
test_files: []
|