pocket-theme 0.4.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.txt +21 -0
- data/README.md +2 -0
- data/_config.yml +56 -0
- data/_includes/annual-list.html +34 -0
- data/_includes/archive-list.html +51 -0
- data/_includes/footer.html +21 -0
- data/_includes/header.html +9 -0
- data/_includes/meta.html +30 -0
- data/_includes/style.scss +74 -0
- data/_layouts/.DS_Store +0 -0
- data/_layouts/archive.html +34 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +29 -0
- data/_layouts/post.html +44 -0
- data/_sass/_aspect-ratios.scss +142 -0
- data/_sass/_background-position.scss +133 -0
- data/_sass/_background-size.scss +41 -0
- data/_sass/_border-colors.scss +93 -0
- data/_sass/_border-radius.scss +134 -0
- data/_sass/_border-style.scss +55 -0
- data/_sass/_border-widths.scss +81 -0
- data/_sass/_borders.scss +65 -0
- data/_sass/_box-shadow.scss +48 -0
- data/_sass/_box-sizing.scss +50 -0
- data/_sass/_c-elements.scss +142 -0
- data/_sass/_c-tokens.scss +132 -0
- data/_sass/_c.scss +57 -0
- data/_sass/_clears.scss +47 -0
- data/_sass/_code.scss +18 -0
- data/_sass/_colors.scss +84 -0
- data/_sass/_coordinates.scss +153 -0
- data/_sass/_debug-children.scss +21 -0
- data/_sass/_debug-grid.scss +33 -0
- data/_sass/_debug.scss +127 -0
- data/_sass/_debug_children.scss +18 -0
- data/_sass/_display.scss +111 -0
- data/_sass/_flexbox.scss +233 -0
- data/_sass/_floats.scss +56 -0
- data/_sass/_font-family.scss +107 -0
- data/_sass/_font-style.scss +36 -0
- data/_sass/_font-weight.scss +87 -0
- data/_sass/_forms.scss +23 -0
- data/_sass/_gradients.scss +29 -0
- data/_sass/_heights.scss +131 -0
- data/_sass/_hovers.scss +167 -0
- data/_sass/_images.scss +18 -0
- data/_sass/_letter-spacing.scss +40 -0
- data/_sass/_line-height.scss +41 -0
- data/_sass/_links.scss +34 -0
- data/_sass/_lists.scss +15 -0
- data/_sass/_max-widths.scss +105 -0
- data/_sass/_media-queries.scss +43 -0
- data/_sass/_module-template.scss +29 -0
- data/_sass/_negative-margins.scss +206 -0
- data/_sass/_nested.scss +64 -0
- data/_sass/_normalize.scss +454 -0
- data/_sass/_opacity.scss +27 -0
- data/_sass/_outlines.scss +39 -0
- data/_sass/_overflow.scss +82 -0
- data/_sass/_position.scss +44 -0
- data/_sass/_rotations.scss +50 -0
- data/_sass/_skins-pseudo.scss +243 -0
- data/_sass/_skins.scss +143 -0
- data/_sass/_spacing.scss +956 -0
- data/_sass/_styles.scss +15 -0
- data/_sass/_tables.scss +42 -0
- data/_sass/_tachyons-4.8.1.scss +2 -0
- data/_sass/_text-align.scss +54 -0
- data/_sass/_text-decoration.scss +42 -0
- data/_sass/_text-transform.scss +53 -0
- data/_sass/_type-scale.scss +102 -0
- data/_sass/_typography.scss +129 -0
- data/_sass/_utilities.scss +57 -0
- data/_sass/_variables.scss +6 -0
- data/_sass/_vertical-align.scss +43 -0
- data/_sass/_visibility.scss +58 -0
- data/_sass/_white-space.scss +41 -0
- data/_sass/_widths.scss +150 -0
- data/_sass/_word-break.scss +43 -0
- data/_sass/_z-index.scss +60 -0
- data/assets/.DS_Store +0 -0
- data/assets/images/rss.svg +1 -0
- data/assets/images/sta.webp +0 -0
- data/assets/style.scss +78 -0
- metadata +171 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8baf4bb1ce56c013d61adb04ab135d392e53cc65927826c948b53906947a2da5
|
|
4
|
+
data.tar.gz: cbbf91764ede4e776d58ddc2048ac2bdb7e91c3f3cb0f0fbce661ded785b6a93
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 832aa499bc97709c28293abbca20cfcd02ad0fdd123338b32cd55a622d6fdfad03e6d7935a24a3ac79c5c4346b38a94f4c1be1a276127052a9902bc3192bf414
|
|
7
|
+
data.tar.gz: d98de9aaf50e0ca3db2d3738d187aefe2340a70a68eb4ce7a63c3004465c6efb34c5f0402b132f087f07605fc8e73a87fe49f3dae705e9679483f817922c6ebc
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 leonp
|
|
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
|
|
13
|
+
all 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
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
data/_config.yml
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
title: "The Pocket theme for Jekyll"
|
|
2
|
+
description: "Pocket is a really simple, easy to read, rock solid and ultra fast blogging theme for Jekyll."
|
|
3
|
+
author: Leon Paternoster
|
|
4
|
+
lang: "en" # or fr, de, es etc.
|
|
5
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
|
6
|
+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
|
7
|
+
|
|
8
|
+
# Include styles inline or link to css file?
|
|
9
|
+
# This has to be set to css: inline for the theme to inline styles
|
|
10
|
+
# Set it to anything else, or remove it, to link to /css/style.css
|
|
11
|
+
css: external
|
|
12
|
+
|
|
13
|
+
plugins:
|
|
14
|
+
- jekyll-sitemap
|
|
15
|
+
- jekyll-feed
|
|
16
|
+
|
|
17
|
+
# Build settings
|
|
18
|
+
markdown: kramdown
|
|
19
|
+
sass:
|
|
20
|
+
style: compressed
|
|
21
|
+
permalink: /:title/
|
|
22
|
+
|
|
23
|
+
# Defaults
|
|
24
|
+
# Use {% if page.is_post %} etc.
|
|
25
|
+
defaults:
|
|
26
|
+
-
|
|
27
|
+
scope:
|
|
28
|
+
path: "/" # empty string for all files
|
|
29
|
+
values:
|
|
30
|
+
is_home: true
|
|
31
|
+
-
|
|
32
|
+
scope:
|
|
33
|
+
path: ""
|
|
34
|
+
type: posts
|
|
35
|
+
values:
|
|
36
|
+
is_post: true
|
|
37
|
+
layout: post
|
|
38
|
+
-
|
|
39
|
+
scope:
|
|
40
|
+
path: ""
|
|
41
|
+
type: pages
|
|
42
|
+
values:
|
|
43
|
+
is_page: true
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# Exclude from processing.
|
|
47
|
+
# The following items will not be processed, by default. Create a custom list
|
|
48
|
+
# to override the default setting.
|
|
49
|
+
exclude:
|
|
50
|
+
- Gemfile
|
|
51
|
+
- Gemfile.lock
|
|
52
|
+
- node_modules
|
|
53
|
+
- vendor/bundle/
|
|
54
|
+
- vendor/cache/
|
|
55
|
+
- vendor/gems/
|
|
56
|
+
- vendor/ruby/
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{% for post in site.posts limit:include.post-limit | default:500 %}
|
|
2
|
+
|
|
3
|
+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
|
4
|
+
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
|
|
5
|
+
|
|
6
|
+
{% if forloop.first %}
|
|
7
|
+
|
|
8
|
+
<h2 class="c-lh-title mt4 mb2 f4">{{ this_year }}</h2>
|
|
9
|
+
|
|
10
|
+
<ul class="ma0 pa0 list">
|
|
11
|
+
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
<li><a class="db" href="{{ post.url }}">{{ post.title }}</a><time class="db mb2 f6">{{ post.date | date: "%-d %b" }}</time></li>
|
|
15
|
+
|
|
16
|
+
{% if forloop.last %}
|
|
17
|
+
|
|
18
|
+
</ul>
|
|
19
|
+
|
|
20
|
+
{% else %}
|
|
21
|
+
|
|
22
|
+
{% if this_year != next_year %}
|
|
23
|
+
|
|
24
|
+
</ul>
|
|
25
|
+
|
|
26
|
+
<h2 class="c-lh-title mt4 mb2 f4">{{next_year}}</h2>
|
|
27
|
+
|
|
28
|
+
<ul class="ma0 pa0 list">
|
|
29
|
+
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% endif %}
|
|
33
|
+
|
|
34
|
+
{% endfor %}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{% assign items = paginator.posts %}
|
|
2
|
+
|
|
3
|
+
{% for item in items %}
|
|
4
|
+
|
|
5
|
+
<div class="mv4">
|
|
6
|
+
|
|
7
|
+
<div class="flex flex-column-reverse mb2">
|
|
8
|
+
|
|
9
|
+
<h2 class="f5 f4-ns c-lh-title ma0"><a class="db c-link no-underline underline-hover" href="{{ item.url }}">{{ item.title }}</a></h2>
|
|
10
|
+
|
|
11
|
+
<p class="ma0 f6 mt0 mb2"><time datetime="{{ item.date | date: '%Y-%m-%d' }}">{{ item.date | date: "%-d %b, %Y" }}</time></p>
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
{% endfor %}
|
|
18
|
+
|
|
19
|
+
{% if paginator.total_pages > 1 %}
|
|
20
|
+
|
|
21
|
+
<div class="pt4">
|
|
22
|
+
|
|
23
|
+
<div class="b f6 cf">
|
|
24
|
+
|
|
25
|
+
{% if paginator.next_page %}
|
|
26
|
+
|
|
27
|
+
<div class="w-50 fl pr3">
|
|
28
|
+
|
|
29
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}">← Older</a>
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{% if paginator.previous_page %}
|
|
36
|
+
|
|
37
|
+
<div class="w-50 fr tr pl3">
|
|
38
|
+
|
|
39
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer →</a>
|
|
40
|
+
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
{% endif %}
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<p class="f6 mt0 tc">{{page.pagination_info.curr_page}}/{{page.pagination_info.total_pages}}</p>
|
|
48
|
+
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
{% endif %}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
</main>
|
|
2
|
+
|
|
3
|
+
{% if site.description %}
|
|
4
|
+
|
|
5
|
+
<div class="ph3 ph4-ns pv3">
|
|
6
|
+
|
|
7
|
+
<footer class="center c-measure">
|
|
8
|
+
|
|
9
|
+
<p role="contentinfo" class="f6 c-lh-title ma0">{{ site.description }}</p>
|
|
10
|
+
|
|
11
|
+
<div><a href="/rss.xml" class="flex items-center pv2"><svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 0 24 24" width="48px" fill="#FFB700" class="mr1"><path d="M0 0h24v24H0z" fill="none"/><circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/></svg><span class="f6">RSS feed</span></a></div>
|
|
12
|
+
|
|
13
|
+
</footer>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
{% endif %}
|
|
18
|
+
|
|
19
|
+
</body>
|
|
20
|
+
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{% include meta.html %}
|
|
2
|
+
|
|
3
|
+
<body class="ma0 pa0 c-bg c-foreground c-sans-serif c-lh-copy">
|
|
4
|
+
|
|
5
|
+
<p class="clip"><a href="#content">Skip to content</a></p>
|
|
6
|
+
|
|
7
|
+
<a href="/" class="f6 no-underline underline-hover db tc b c-link pa3 pa4-ns c-lh-title">{{ site.title }}</a>
|
|
8
|
+
|
|
9
|
+
<main class="mv4 mv5-ns" id="content">
|
data/_includes/meta.html
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html lang="{{ site.lang }}">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
|
|
7
|
+
{% if page.is_home %}
|
|
8
|
+
<title>{{ site.title }}</title>
|
|
9
|
+
<meta name="description" content="{{ site.description }}">
|
|
10
|
+
{% else %}
|
|
11
|
+
<title>{{ page.title }} – {{ site.title }}</title>
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
15
|
+
<meta charset="utf-8">
|
|
16
|
+
|
|
17
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ site.url }}/feed.xml">
|
|
18
|
+
|
|
19
|
+
{% if site.css == 'inline' %}
|
|
20
|
+
<style>
|
|
21
|
+
{% capture inline-styles %}
|
|
22
|
+
{% include style.scss %}
|
|
23
|
+
{% endcapture %}
|
|
24
|
+
{{ inline-styles | scssify }}
|
|
25
|
+
</style>
|
|
26
|
+
{% else %}
|
|
27
|
+
<link href="/assets/style.css" rel="stylesheet">
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
</head>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Complete list of Tachyons partials in _sass folder
|
|
2
|
+
// Order is important
|
|
3
|
+
// First 5 should be normalize, media-queries, variables, colors, spacing
|
|
4
|
+
// Because the other files refer to variables declared in these files
|
|
5
|
+
// Comment out the modules you don't need (ex. the first 5)
|
|
6
|
+
|
|
7
|
+
@import
|
|
8
|
+
"normalize",
|
|
9
|
+
"media-queries",
|
|
10
|
+
"variables",
|
|
11
|
+
"colors",
|
|
12
|
+
"spacing",
|
|
13
|
+
"aspect-ratios",
|
|
14
|
+
"background-position",
|
|
15
|
+
"background-size",
|
|
16
|
+
"borders",
|
|
17
|
+
"border-colors",
|
|
18
|
+
"border-radius",
|
|
19
|
+
"border-style",
|
|
20
|
+
"border-widths",
|
|
21
|
+
"box-shadow",
|
|
22
|
+
"box-sizing",
|
|
23
|
+
"clears",
|
|
24
|
+
"code",
|
|
25
|
+
"coordinates",
|
|
26
|
+
// Uncomment debug SASS files to debug
|
|
27
|
+
// "debug_children",
|
|
28
|
+
// "debug_grid",
|
|
29
|
+
// "debug",
|
|
30
|
+
"display",
|
|
31
|
+
"flexbox",
|
|
32
|
+
"floats",
|
|
33
|
+
"font-family",
|
|
34
|
+
"font-style",
|
|
35
|
+
"font-weight",
|
|
36
|
+
"forms",
|
|
37
|
+
"gradients",
|
|
38
|
+
"heights",
|
|
39
|
+
"hovers",
|
|
40
|
+
"images",
|
|
41
|
+
"letter-spacing",
|
|
42
|
+
"line-height",
|
|
43
|
+
"links",
|
|
44
|
+
"lists",
|
|
45
|
+
"max-widths",
|
|
46
|
+
// "module-template",
|
|
47
|
+
"negative-margins",
|
|
48
|
+
"nested",
|
|
49
|
+
"opacity",
|
|
50
|
+
"outlines",
|
|
51
|
+
"overflow",
|
|
52
|
+
"position",
|
|
53
|
+
"rotations",
|
|
54
|
+
"skins-pseudo",
|
|
55
|
+
"skins",
|
|
56
|
+
"tables",
|
|
57
|
+
// If you just want all the Tachyons modules delete the single modules
|
|
58
|
+
// and uncomment this
|
|
59
|
+
// "tachyons-4.8.1",
|
|
60
|
+
"text-align",
|
|
61
|
+
"text-decoration",
|
|
62
|
+
"text-transform",
|
|
63
|
+
"type-scale",
|
|
64
|
+
"typography",
|
|
65
|
+
"utilities",
|
|
66
|
+
"vertical-align",
|
|
67
|
+
"visibility",
|
|
68
|
+
"white-space",
|
|
69
|
+
"widths",
|
|
70
|
+
"word-break",
|
|
71
|
+
"z-index",
|
|
72
|
+
// Put your own selectors in c
|
|
73
|
+
"c"
|
|
74
|
+
;
|
data/_layouts/.DS_Store
ADDED
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{% include header.html %}
|
|
2
|
+
|
|
3
|
+
<div class="ph3 ph4-ns">
|
|
4
|
+
|
|
5
|
+
<div class="c-measure center">
|
|
6
|
+
|
|
7
|
+
<div class="mb4">
|
|
8
|
+
|
|
9
|
+
<h1 class="f3 f2-ns c-lh-title ma0">{{ page.title }}</h1>
|
|
10
|
+
|
|
11
|
+
{% if page.intro %}
|
|
12
|
+
|
|
13
|
+
<p class="f5 f4-ns">{{ page.intro }}</p>
|
|
14
|
+
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="c-hyphens">
|
|
20
|
+
|
|
21
|
+
{{ content }}
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
{% include annual-list.html %}
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
{% include footer.html %}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{% include header.html %}
|
|
2
|
+
|
|
3
|
+
<div class="ph3 ph4-ns">
|
|
4
|
+
|
|
5
|
+
<div class="c-measure center c-article">
|
|
6
|
+
|
|
7
|
+
<div class="mb4">
|
|
8
|
+
|
|
9
|
+
<h1 class="f3 f2-ns c-lh-title ma0">{{ page.title }}</h1>
|
|
10
|
+
|
|
11
|
+
{% if page.intro %}
|
|
12
|
+
|
|
13
|
+
<p class="f5 f4-ns">{{ page.intro }}</p>
|
|
14
|
+
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="c-hyphens">
|
|
20
|
+
|
|
21
|
+
{{ content}}
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
{% include footer.html %}
|
data/_layouts/home.html
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{% include header.html %}
|
|
2
|
+
|
|
3
|
+
<div class="ph3 ph4-ns">
|
|
4
|
+
|
|
5
|
+
<div class="c-measure center">
|
|
6
|
+
|
|
7
|
+
<div class="mb4">
|
|
8
|
+
|
|
9
|
+
<h1 class="f3 f2-ns c-lh-title ma0">{{ page.title }}</h1>
|
|
10
|
+
|
|
11
|
+
{% if page.intro %}
|
|
12
|
+
|
|
13
|
+
<p class="f5 f4-ns">{{ page.intro }}</p>
|
|
14
|
+
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="c-hyphens">
|
|
20
|
+
|
|
21
|
+
{{ content }}
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
{% include annual-list.html %}
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
{% include footer.html %}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
data/_layouts/page.html
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{% include header.html %}
|
|
2
|
+
|
|
3
|
+
<div class="ph3 ph4-ns">
|
|
4
|
+
|
|
5
|
+
<div class="c-measure center c-article">
|
|
6
|
+
|
|
7
|
+
<div class="mb4">
|
|
8
|
+
|
|
9
|
+
<h1 class="f3 f2-ns c-lh-title ma0">{{ page.title }}</h1>
|
|
10
|
+
|
|
11
|
+
{% if page.intro %}
|
|
12
|
+
|
|
13
|
+
<p class="f5 f4-ns">{{ page.intro }}</p>
|
|
14
|
+
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="c-hyphens">
|
|
20
|
+
|
|
21
|
+
{{ content}}
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
{% include footer.html %}
|
data/_layouts/post.html
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{% include header.html %}
|
|
2
|
+
|
|
3
|
+
<div class="ph3 ph4-ns">
|
|
4
|
+
|
|
5
|
+
<article class="c-measure center h-entry">
|
|
6
|
+
|
|
7
|
+
<div class="mb4">
|
|
8
|
+
|
|
9
|
+
<div class="flex flex-column-reverse">
|
|
10
|
+
|
|
11
|
+
<h1 class="f3 f2-ns c-lh-title ma0 p-name">{{ page.title }}</h1>
|
|
12
|
+
|
|
13
|
+
<p class="f6 mt0 mb2"><time class="dt-published" datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: "%-d %b, %Y" }}</time>{% if page.author %} · <span class="p-author">{{ page.author }}</span>{% elsif site.author %} · <span class="p-author">{{ site.author }}</span>{% endif %}</p>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
{% if page.intro %}
|
|
18
|
+
|
|
19
|
+
<p class="f5 f4-ns">{{ page.intro }}</p>
|
|
20
|
+
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="c-hyphens e-content">
|
|
26
|
+
|
|
27
|
+
{{ content}}
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="clip">
|
|
32
|
+
|
|
33
|
+
<span class="u-url">{{site.url}}{{ page.url }}</span>
|
|
34
|
+
{% if page.in-reply-to %}<span class="u-in-reply-to">{{ page.in-reply-to }}</span>{% endif %}
|
|
35
|
+
{% if page.like-of %}<span class="u-like-of">{{ page.like-of }}</span>{% endif %}
|
|
36
|
+
{% if page.repost-of %}<span class="u-repost-of">{{ page.repost-of }}</span>{% endif %}
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
</article>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
{% include footer.html %}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
|
|
2
|
+
// Converted Variables
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// Custom Media Query Variables
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
|
|
10
|
+
ASPECT RATIOS
|
|
11
|
+
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/* This is for fluid media that is embedded from third party sites like youtube, vimeo etc.
|
|
15
|
+
* Wrap the outer element in aspect-ratio and then extend it with the desired ratio i.e
|
|
16
|
+
* Make sure there are no height and width attributes on the embedded media.
|
|
17
|
+
* Adapted from: https://github.com/suitcss/components-flex-embed
|
|
18
|
+
*
|
|
19
|
+
* Example:
|
|
20
|
+
*
|
|
21
|
+
* <div class="aspect-ratio aspect-ratio--16x9">
|
|
22
|
+
* <iframe class="aspect-ratio--object"></iframe>
|
|
23
|
+
* </div>
|
|
24
|
+
*
|
|
25
|
+
* */
|
|
26
|
+
|
|
27
|
+
.aspect-ratio {
|
|
28
|
+
height: 0;
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.aspect-ratio--16x9 { padding-bottom: 56.25%; }
|
|
33
|
+
.aspect-ratio--9x16 { padding-bottom: 177.77%; }
|
|
34
|
+
|
|
35
|
+
.aspect-ratio--4x3 { padding-bottom: 75%; }
|
|
36
|
+
.aspect-ratio--3x4 { padding-bottom: 133.33%; }
|
|
37
|
+
|
|
38
|
+
.aspect-ratio--6x4 { padding-bottom: 66.6%; }
|
|
39
|
+
.aspect-ratio--4x6 { padding-bottom: 150%; }
|
|
40
|
+
|
|
41
|
+
.aspect-ratio--8x5 { padding-bottom: 62.5%; }
|
|
42
|
+
.aspect-ratio--5x8 { padding-bottom: 160%; }
|
|
43
|
+
|
|
44
|
+
.aspect-ratio--7x5 { padding-bottom: 71.42%; }
|
|
45
|
+
.aspect-ratio--5x7 { padding-bottom: 140%; }
|
|
46
|
+
|
|
47
|
+
.aspect-ratio--1x1 { padding-bottom: 100%; }
|
|
48
|
+
|
|
49
|
+
.aspect-ratio--object {
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
bottom: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
z-index: 100;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media #{$breakpoint-not-small}{
|
|
61
|
+
.aspect-ratio-ns {
|
|
62
|
+
height: 0;
|
|
63
|
+
position: relative;
|
|
64
|
+
}
|
|
65
|
+
.aspect-ratio--16x9-ns { padding-bottom: 56.25%; }
|
|
66
|
+
.aspect-ratio--9x16-ns { padding-bottom: 177.77%; }
|
|
67
|
+
.aspect-ratio--4x3-ns { padding-bottom: 75%; }
|
|
68
|
+
.aspect-ratio--3x4-ns { padding-bottom: 133.33%; }
|
|
69
|
+
.aspect-ratio--6x4-ns { padding-bottom: 66.6%; }
|
|
70
|
+
.aspect-ratio--4x6-ns { padding-bottom: 150%; }
|
|
71
|
+
.aspect-ratio--8x5-ns { padding-bottom: 62.5%; }
|
|
72
|
+
.aspect-ratio--5x8-ns { padding-bottom: 160%; }
|
|
73
|
+
.aspect-ratio--7x5-ns { padding-bottom: 71.42%; }
|
|
74
|
+
.aspect-ratio--5x7-ns { padding-bottom: 140%; }
|
|
75
|
+
.aspect-ratio--1x1-ns { padding-bottom: 100%; }
|
|
76
|
+
.aspect-ratio--object-ns {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 0;
|
|
79
|
+
right: 0;
|
|
80
|
+
bottom: 0;
|
|
81
|
+
left: 0;
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 100%;
|
|
84
|
+
z-index: 100;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media #{$breakpoint-medium}{
|
|
89
|
+
.aspect-ratio-m {
|
|
90
|
+
height: 0;
|
|
91
|
+
position: relative;
|
|
92
|
+
}
|
|
93
|
+
.aspect-ratio--16x9-m { padding-bottom: 56.25%; }
|
|
94
|
+
.aspect-ratio--9x16-m { padding-bottom: 177.77%; }
|
|
95
|
+
.aspect-ratio--4x3-m { padding-bottom: 75%; }
|
|
96
|
+
.aspect-ratio--3x4-m { padding-bottom: 133.33%; }
|
|
97
|
+
.aspect-ratio--6x4-m { padding-bottom: 66.6%; }
|
|
98
|
+
.aspect-ratio--4x6-m { padding-bottom: 150%; }
|
|
99
|
+
.aspect-ratio--8x5-m { padding-bottom: 62.5%; }
|
|
100
|
+
.aspect-ratio--5x8-m { padding-bottom: 160%; }
|
|
101
|
+
.aspect-ratio--7x5-m { padding-bottom: 71.42%; }
|
|
102
|
+
.aspect-ratio--5x7-m { padding-bottom: 140%; }
|
|
103
|
+
.aspect-ratio--1x1-m { padding-bottom: 100%; }
|
|
104
|
+
.aspect-ratio--object-m {
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 0;
|
|
107
|
+
right: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
left: 0;
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
z-index: 100;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media #{$breakpoint-large}{
|
|
117
|
+
.aspect-ratio-l {
|
|
118
|
+
height: 0;
|
|
119
|
+
position: relative;
|
|
120
|
+
}
|
|
121
|
+
.aspect-ratio--16x9-l { padding-bottom: 56.25%; }
|
|
122
|
+
.aspect-ratio--9x16-l { padding-bottom: 177.77%; }
|
|
123
|
+
.aspect-ratio--4x3-l { padding-bottom: 75%; }
|
|
124
|
+
.aspect-ratio--3x4-l { padding-bottom: 133.33%; }
|
|
125
|
+
.aspect-ratio--6x4-l { padding-bottom: 66.6%; }
|
|
126
|
+
.aspect-ratio--4x6-l { padding-bottom: 150%; }
|
|
127
|
+
.aspect-ratio--8x5-l { padding-bottom: 62.5%; }
|
|
128
|
+
.aspect-ratio--5x8-l { padding-bottom: 160%; }
|
|
129
|
+
.aspect-ratio--7x5-l { padding-bottom: 71.42%; }
|
|
130
|
+
.aspect-ratio--5x7-l { padding-bottom: 140%; }
|
|
131
|
+
.aspect-ratio--1x1-l { padding-bottom: 100%; }
|
|
132
|
+
.aspect-ratio--object-l {
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
bottom: 0;
|
|
137
|
+
left: 0;
|
|
138
|
+
width: 100%;
|
|
139
|
+
height: 100%;
|
|
140
|
+
z-index: 100;
|
|
141
|
+
}
|
|
142
|
+
}
|