tale 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +42 -0
- data/_includes/head.html +21 -0
- data/_layouts/default.html +29 -0
- data/_layouts/post.html +36 -0
- data/_sass/tale.scss +8 -0
- data/_sass/tale/_base.scss +65 -0
- data/_sass/tale/_catalogue.scss +39 -0
- data/_sass/tale/_code.scss +46 -0
- data/_sass/tale/_layout.scss +91 -0
- data/_sass/tale/_pagination.scss +44 -0
- data/_sass/tale/_post.scss +51 -0
- data/_sass/tale/_syntax.scss +65 -0
- data/_sass/tale/_variables.scss +29 -0
- data/assets/apple-touch-icon.png +0 -0
- data/assets/favicon-16x16.png +0 -0
- data/assets/favicon-32x32.png +0 -0
- data/assets/main.scss +5 -0
- metadata +118 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 15c9981c3a25156fc8b8788bd4f0c59a99b7d311
|
4
|
+
data.tar.gz: 64f8568ce4afa4f7e530e611c3ccebc4f285130f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0cf2fc4895d73014f08f2c56e99a0d106ed96f5d2ad20b7003add84b05a1356e4a45fd62e1169e564a26222bb3d822b729647d36348f64ad4cb010d69b6d2d4d
|
7
|
+
data.tar.gz: 8ff328d88da7cbf20f721cb16a97a121e188976870b7ef4f715e123c62cafcf51e63d3be5b698b12cf2994060289238c81e611736642a809347e14d7616afe62
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 Chester How
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Tale
|
2
|
+
Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here](https://chesterhow.github.io/tale/).
|
3
|
+
|
4
|
+

|
5
|
+
|
6
|
+
## Features
|
7
|
+
- Easy installation
|
8
|
+
- Compatible with GitHub Pages
|
9
|
+
- Responsive design (looks just as good on mobile)
|
10
|
+
- Syntax highlighting, with the help of Pygments
|
11
|
+
- Markdown and HTML text formatting
|
12
|
+
- Pagination of posts
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
1. Add this line to your `Gemfile`:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
gem "tale"
|
20
|
+
```
|
21
|
+
|
22
|
+
2. And add this line to your `_config.yml`:
|
23
|
+
|
24
|
+
```yaml
|
25
|
+
theme: tale
|
26
|
+
```
|
27
|
+
|
28
|
+
3. Install the theme's gems and dependencies:
|
29
|
+
|
30
|
+
$ bundle
|
31
|
+
|
32
|
+
4. Finally, build and serve your site
|
33
|
+
|
34
|
+
$ bundle exec jekyll serve
|
35
|
+
|
36
|
+
Head to http://localhost:4000/tale/ to see your site in action.
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
Found a bug or have a suggestion? Feel free to create an issue or make a pull request!
|
40
|
+
|
41
|
+
## License
|
42
|
+
See [LICENSE](https://github.com/chesterhow/tale/blob/master/LICENSE)
|
data/_includes/head.html
ADDED
@@ -0,0 +1,21 @@
|
|
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 }}
|
8
|
+
{% else %}
|
9
|
+
{{ page.title }} · {{ site.title }}
|
10
|
+
{% endif %}
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<!-- CSS -->
|
14
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
15
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700">
|
16
|
+
|
17
|
+
<!-- Favicon -->
|
18
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/assets/favicon-32x32.png" | relative_url }}">
|
19
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/assets/favicon-16x16.png" | relative_url }}">
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/apple-touch-icon.png" | relative_url }}">
|
21
|
+
</head>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<nav class="nav">
|
8
|
+
<div class="nav-container">
|
9
|
+
<a href="{{ site.baseurl }}/">
|
10
|
+
<h2 class="nav-title">{{ site.title }}</h2>
|
11
|
+
</a>
|
12
|
+
<ul>
|
13
|
+
<li><a href="{{ '/about' | prepend: site.baseurl }}">About</a></li>
|
14
|
+
<li><a href="{{ site.baseurl }}/">Posts</a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
</nav>
|
18
|
+
|
19
|
+
<main>
|
20
|
+
{{ content }}
|
21
|
+
</main>
|
22
|
+
|
23
|
+
<footer>
|
24
|
+
<span>
|
25
|
+
© <time datetime="{{ site.time }}">{{ site.time | date: '%Y' }}</time> {{ site.author.name }}. Made with Jekyll using the <a href="https://github.com/chesterhow/tale/">Tale</a> theme.
|
26
|
+
</span>
|
27
|
+
</footer>
|
28
|
+
</body>
|
29
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="post">
|
6
|
+
<div class="post-info">
|
7
|
+
<span>Written by</span>
|
8
|
+
{% if page.author %}
|
9
|
+
{{ page.author }}
|
10
|
+
{% else %}
|
11
|
+
{{ site.author.name }}
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
{% if page.date %}
|
15
|
+
<br>
|
16
|
+
<span>on </span><time datetime="{{ page.date }}">{{ page.date | date: "%B %d, %Y" }}</time>
|
17
|
+
{% endif %}
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
21
|
+
<div class="post-line"></div>
|
22
|
+
|
23
|
+
{{ content }}
|
24
|
+
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="pagination">
|
28
|
+
{% if page.next.url %}
|
29
|
+
<a href="{{ page.next.url | prepend: site.baseurl }}" class="left arrow">←</a>
|
30
|
+
{% endif %}
|
31
|
+
{% if page.previous.url %}
|
32
|
+
<a href="{{ page.previous.url | prepend: site.baseurl }}" class="right arrow">→</a>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
<a href="#" class="top">Top</a>
|
36
|
+
</div>
|
data/_sass/tale.scss
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
* {
|
2
|
+
@include box-sizing;
|
3
|
+
line-height: 1.5;
|
4
|
+
}
|
5
|
+
|
6
|
+
html,
|
7
|
+
body {
|
8
|
+
color: $default-color;
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
html {
|
14
|
+
font-family: $serif-primary;
|
15
|
+
font-size: 14px;
|
16
|
+
|
17
|
+
@media (min-width: 600px) {
|
18
|
+
font-size: 16px;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
body {
|
23
|
+
-webkit-text-size-adjust: 100%;
|
24
|
+
}
|
25
|
+
|
26
|
+
h1,
|
27
|
+
h2,
|
28
|
+
h3,
|
29
|
+
h4,
|
30
|
+
h5,
|
31
|
+
h6 {
|
32
|
+
color: $default-shade;
|
33
|
+
font-family: $sans-serif;
|
34
|
+
line-height: normal;
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: $blue;
|
39
|
+
text-decoration: none;
|
40
|
+
}
|
41
|
+
|
42
|
+
blockquote {
|
43
|
+
border-left: .25rem solid $grey-2;
|
44
|
+
color: $grey-1;
|
45
|
+
margin: .8rem 0;
|
46
|
+
padding: .5rem 1rem;
|
47
|
+
|
48
|
+
p:last-child {
|
49
|
+
margin-bottom: 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
@media (min-width: 600px) {
|
53
|
+
padding: 0 5rem 0 1.25rem;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
img {
|
58
|
+
display: block;
|
59
|
+
margin: 0 0 1rem;
|
60
|
+
max-width: 100%;
|
61
|
+
}
|
62
|
+
|
63
|
+
td {
|
64
|
+
vertical-align: top;
|
65
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.catalogue {
|
2
|
+
&-item {
|
3
|
+
border-bottom: 1px solid $grey-2;
|
4
|
+
color: $default-color;
|
5
|
+
display: inline-block;
|
6
|
+
padding: 2rem 0;
|
7
|
+
|
8
|
+
&:hover .catalogue-line,
|
9
|
+
&:focus .catalogue-line {
|
10
|
+
width: 5rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
&:last-child {
|
14
|
+
border: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
&-time {
|
19
|
+
color: $default-tint;
|
20
|
+
font-family: $serif-secondary;
|
21
|
+
letter-spacing: .5px;
|
22
|
+
}
|
23
|
+
|
24
|
+
&-title {
|
25
|
+
color: $default-shade;
|
26
|
+
display: block;
|
27
|
+
font-family: $sans-serif;
|
28
|
+
font-size: 2rem;
|
29
|
+
font-weight: 700;
|
30
|
+
margin: .5rem 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
&-line {
|
34
|
+
@include transition(all .3s ease-out);
|
35
|
+
border-top: .2rem solid $default-shade;
|
36
|
+
display: block;
|
37
|
+
width: 2rem;
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
pre,
|
2
|
+
code {
|
3
|
+
font-family: $monospaced;
|
4
|
+
}
|
5
|
+
|
6
|
+
code {
|
7
|
+
background-color: $grey-3;
|
8
|
+
border-radius: 3px;
|
9
|
+
color: $code-color;
|
10
|
+
font-size: 85%;
|
11
|
+
padding: .25em .5em;
|
12
|
+
}
|
13
|
+
|
14
|
+
pre {
|
15
|
+
margin: 0 0 1rem;
|
16
|
+
}
|
17
|
+
|
18
|
+
pre code {
|
19
|
+
background-color: transparent;
|
20
|
+
color: inherit;
|
21
|
+
font-size: 100%;
|
22
|
+
padding: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
.highlight {
|
26
|
+
background-color: $grey-3;
|
27
|
+
border-radius: 3px;
|
28
|
+
line-height: 1.4;
|
29
|
+
margin: 0 0 1rem;
|
30
|
+
padding: 1rem;
|
31
|
+
|
32
|
+
pre {
|
33
|
+
margin-bottom: 0;
|
34
|
+
overflow-x: auto;
|
35
|
+
}
|
36
|
+
|
37
|
+
.lineno {
|
38
|
+
color: $default-tint;
|
39
|
+
display: inline-block; // Ensures the null space also isn't selectable
|
40
|
+
padding: 0 .75rem 0 .25rem;
|
41
|
+
// Make sure numbers aren't selectable
|
42
|
+
-webkit-user-select: none;
|
43
|
+
-moz-user-select: none;
|
44
|
+
user-select: none;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
.container {
|
2
|
+
margin: 0 auto;
|
3
|
+
max-width: 800px;
|
4
|
+
width: 80%;
|
5
|
+
}
|
6
|
+
|
7
|
+
main,
|
8
|
+
footer,
|
9
|
+
.nav-container {
|
10
|
+
margin: 0 auto;
|
11
|
+
max-width: 800px;
|
12
|
+
width: 80%;
|
13
|
+
}
|
14
|
+
|
15
|
+
.nav {
|
16
|
+
box-shadow: 0 2px 2px -2px $shadow-color;
|
17
|
+
overflow: auto;
|
18
|
+
|
19
|
+
&-container {
|
20
|
+
margin: 1rem auto;
|
21
|
+
position: relative;
|
22
|
+
text-align: center;
|
23
|
+
}
|
24
|
+
|
25
|
+
&-title {
|
26
|
+
@include transition(all .2s ease-out);
|
27
|
+
color: $default-color;
|
28
|
+
display: inline-block;
|
29
|
+
margin: 0;
|
30
|
+
padding-right: .2rem;
|
31
|
+
|
32
|
+
&:hover,
|
33
|
+
&:focus {
|
34
|
+
opacity: .6;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
ul {
|
39
|
+
list-style-type: none;
|
40
|
+
margin: 1rem 0 0;
|
41
|
+
padding: 0;
|
42
|
+
text-align: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
li {
|
46
|
+
@include transition(all .2s ease-out);
|
47
|
+
color: $default-color;
|
48
|
+
display: inline-block;
|
49
|
+
opacity: .6;
|
50
|
+
padding: 0 2rem 0 0;
|
51
|
+
|
52
|
+
&:last-child {
|
53
|
+
padding-right: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
&:hover,
|
57
|
+
&:focus {
|
58
|
+
opacity: 1;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
a {
|
63
|
+
color: $default-color;
|
64
|
+
font-family: $sans-serif;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
@media (min-width: 600px) {
|
69
|
+
.nav {
|
70
|
+
&-container {
|
71
|
+
text-align: left;
|
72
|
+
}
|
73
|
+
|
74
|
+
ul {
|
75
|
+
bottom: 0;
|
76
|
+
position: absolute;
|
77
|
+
right: 0;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
footer {
|
83
|
+
font-family: $serif-secondary;
|
84
|
+
padding: 2rem 0;
|
85
|
+
text-align: center;
|
86
|
+
|
87
|
+
span {
|
88
|
+
color: $default-color;
|
89
|
+
font-size: .8rem;
|
90
|
+
}
|
91
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.pagination {
|
2
|
+
border-top: .5px solid $grey-2;
|
3
|
+
font-family: $serif-secondary;
|
4
|
+
padding-top: 2rem;
|
5
|
+
position: relative;
|
6
|
+
text-align: center;
|
7
|
+
|
8
|
+
span {
|
9
|
+
color: $default-shade;
|
10
|
+
font-size: 1.1rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
.top {
|
14
|
+
@include transition(all .3s ease-out);
|
15
|
+
color: $default-color;
|
16
|
+
font-family: $sans-serif;
|
17
|
+
font-size: 1.1rem;
|
18
|
+
opacity: .6;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
opacity: 1;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.arrow {
|
26
|
+
@include transition(all .3s ease-out);
|
27
|
+
color: $default-color;
|
28
|
+
position: absolute;
|
29
|
+
|
30
|
+
&:hover,
|
31
|
+
&:focus {
|
32
|
+
opacity: .6;
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.left {
|
38
|
+
left: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
.right {
|
42
|
+
right: 0;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
.post {
|
2
|
+
padding: 3rem 0;
|
3
|
+
|
4
|
+
&-info {
|
5
|
+
color: $default-tint;
|
6
|
+
font-family: $serif-secondary;
|
7
|
+
letter-spacing: 0.5px;
|
8
|
+
text-align: center;
|
9
|
+
|
10
|
+
span {
|
11
|
+
font-style: italic;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
&-title {
|
16
|
+
color: $default-shade;
|
17
|
+
font-family: $sans-serif;
|
18
|
+
font-size: 4rem;
|
19
|
+
margin: 1rem 0;
|
20
|
+
text-align: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
&-line {
|
24
|
+
border-top: 0.4rem solid $default-shade;
|
25
|
+
display: block;
|
26
|
+
margin: 0 auto 3rem;
|
27
|
+
width: 4rem;
|
28
|
+
}
|
29
|
+
|
30
|
+
p {
|
31
|
+
margin: 0 0 1rem;
|
32
|
+
text-align: justify;
|
33
|
+
}
|
34
|
+
|
35
|
+
a:hover {
|
36
|
+
text-decoration: underline;
|
37
|
+
}
|
38
|
+
|
39
|
+
img {
|
40
|
+
margin: 0 auto 0.5rem;
|
41
|
+
}
|
42
|
+
|
43
|
+
img + em {
|
44
|
+
color: $default-tint;
|
45
|
+
display: block;
|
46
|
+
font-family: $sans-serif;
|
47
|
+
font-size: 0.9rem;
|
48
|
+
font-style: normal;
|
49
|
+
text-align: center;
|
50
|
+
}
|
51
|
+
}
|
@@ -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; }
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Colors
|
2
|
+
$default-color: #555;
|
3
|
+
$default-shade: #353535;
|
4
|
+
$default-tint: #aaa;
|
5
|
+
$grey-1: #979797;
|
6
|
+
$grey-2: #e5e5e5;
|
7
|
+
$grey-3: #f9f9f9;
|
8
|
+
$white: #fff;
|
9
|
+
$blue: #4a9ae1;
|
10
|
+
$shadow-color: rgba(0, 0, 0, .2);
|
11
|
+
$code-color: #bf616a;
|
12
|
+
|
13
|
+
// Fonts
|
14
|
+
$serif-primary: 'Libre Baskerville', 'Times New Roman', Times, serif;
|
15
|
+
$serif-secondary: Palatino, 'Palatino LT STD', 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
|
16
|
+
$sans-serif: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
|
17
|
+
$monospaced: Menlo, Monaco, monospace;
|
18
|
+
|
19
|
+
@mixin box-sizing($type: border-box) {
|
20
|
+
-webkit-box-sizing: $type;
|
21
|
+
-moz-box-sizing: $type;
|
22
|
+
box-sizing: $type;
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin transition($args...) {
|
26
|
+
-webkit-transition: $args;
|
27
|
+
-moz-transition: $args;
|
28
|
+
transition: $args;
|
29
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tale
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chester How
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-08 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.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-paginate
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- chesterhow@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- LICENSE
|
77
|
+
- README.md
|
78
|
+
- _includes/head.html
|
79
|
+
- _layouts/default.html
|
80
|
+
- _layouts/post.html
|
81
|
+
- _sass/tale.scss
|
82
|
+
- _sass/tale/_base.scss
|
83
|
+
- _sass/tale/_catalogue.scss
|
84
|
+
- _sass/tale/_code.scss
|
85
|
+
- _sass/tale/_layout.scss
|
86
|
+
- _sass/tale/_pagination.scss
|
87
|
+
- _sass/tale/_post.scss
|
88
|
+
- _sass/tale/_syntax.scss
|
89
|
+
- _sass/tale/_variables.scss
|
90
|
+
- assets/apple-touch-icon.png
|
91
|
+
- assets/favicon-16x16.png
|
92
|
+
- assets/favicon-32x32.png
|
93
|
+
- assets/main.scss
|
94
|
+
homepage: https://github.com/chesterhow/tale
|
95
|
+
licenses:
|
96
|
+
- MIT
|
97
|
+
metadata: {}
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
requirements: []
|
113
|
+
rubyforge_project:
|
114
|
+
rubygems_version: 2.5.1
|
115
|
+
signing_key:
|
116
|
+
specification_version: 4
|
117
|
+
summary: Tale is a minimal Jekyll theme curated for storytellers.
|
118
|
+
test_files: []
|