frogmore 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +55 -0
- data/_config.yml +6 -0
- data/_includes/anchor_headings.html +105 -0
- data/_includes/head.html +42 -0
- data/_includes/inline.scss +2 -0
- data/_includes/navigation.html +14 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +18 -0
- data/_layouts/listing.html +7 -0
- data/_layouts/post.html +12 -0
- data/_sass/_main.scss +240 -0
- data/_sass/reset.scss +129 -0
- metadata +112 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 272b2c0c124f0e48867025bbe2c744d3ad375b958b0870022b324d8c8f44e4a5
|
4
|
+
data.tar.gz: 31c0aeddf6ab6feb1f3cd9ea328e28a9bbf7da300a435a1f8484dcdb6c882253
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fdca49bcd6ce8267c3c76ee38ed862d274e2c23f3dcb2e3ad3de1ec92298aa6111a3faa697c24e6d67f150b5c1565bf60495e24f917bdb1b35816f4630228913
|
7
|
+
data.tar.gz: a445d01a640710b0ff6e0254f9ae1d580f725ca8f763d78d25940890b47c2bdd405f941aad8cb8e9eccb1b1b0e827bc919faae6e7b0e50ead5a820dc1970b46a
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Huw Diprose
|
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
@@ -0,0 +1,55 @@
|
|
1
|
+
# frogmore
|
2
|
+
|
3
|
+
Frogmore is a simple and minimalistic jekyll blogging theme.
|
4
|
+
|
5
|
+
## Shoulders of Giants
|
6
|
+
|
7
|
+
The theme is an adapted version of [Sidey](https://github.com/ronv/sidey) by Ronalds Vilciņš.
|
8
|
+
More than a small bit of additional inspiration from [Tom MacWright's site](https://macwright.com/).
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your Jekyll site's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "frogmore"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: frogmore
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
```bash
|
27
|
+
bundle
|
28
|
+
```
|
29
|
+
|
30
|
+
Or install it yourself as:
|
31
|
+
|
32
|
+
```bash
|
33
|
+
gem install frogmore
|
34
|
+
```
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/huwd/frogmore. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
To set up your environment to develop this theme, run `bundle install`.
|
43
|
+
|
44
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
|
+
|
46
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
+
To add a custom directory to your theme-gem, please edit the regexp in `frogmore.gemspec` accordingly.
|
48
|
+
|
49
|
+
## Why Frogmore
|
50
|
+
|
51
|
+
Frogmore was a [paper mill](https://en.wikipedia.org/wiki/Frogmore_Paper_Mill). That's pretty much it.
|
52
|
+
|
53
|
+
## License
|
54
|
+
|
55
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_config.yml
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
{% capture headingsWorkspace %}
|
2
|
+
{% comment %}
|
3
|
+
Version 1.0.4
|
4
|
+
https://github.com/allejo/jekyll-anchor-headings
|
5
|
+
|
6
|
+
"Be the pull request you wish to see in the world." ~Ben Balter
|
7
|
+
|
8
|
+
Usage:
|
9
|
+
{% include anchor_headings.html html=content %}
|
10
|
+
|
11
|
+
Parameters:
|
12
|
+
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
13
|
+
|
14
|
+
Optional Parameters:
|
15
|
+
* beforeHeading (bool) : false - Set to true if the anchor should be placed _before_ the heading's content
|
16
|
+
* anchorAttrs (string) : '' - Any custom HTML attributes that will be added to the `<a>` tag; you may NOT use `href`, `class` or `title`
|
17
|
+
* anchorBody (string) : '' - The content that will be placed inside the anchor; the `%heading%` placeholder is available
|
18
|
+
* anchorClass (string) : '' - The class(es) that will be used for each anchor. Separate multiple classes with a space
|
19
|
+
* anchorTitle (string) : '' - The `title` attribute that will be used for anchors
|
20
|
+
* h_min (int) : 1 - The minimum header level to build an anchor for; any header lower than this value will be ignored
|
21
|
+
* h_max (int) : 6 - The maximum header level to build an anchor for; any header greater than this value will be ignored
|
22
|
+
* bodyPrefix (string) : '' - Anything that should be inserted inside of the heading tag _before_ its anchor and content
|
23
|
+
* bodySuffix (string) : '' - Anything that should be inserted inside of the heading tag _after_ its anchor and content
|
24
|
+
|
25
|
+
Output:
|
26
|
+
The original HTML with the addition of anchors inside of all of the h1-h6 headings.
|
27
|
+
{% endcomment %}
|
28
|
+
|
29
|
+
{% assign minHeader = include.h_min | default: 1 %}
|
30
|
+
{% assign maxHeader = include.h_max | default: 6 %}
|
31
|
+
{% assign beforeHeading = include.beforeHeading %}
|
32
|
+
{% assign nodes = include.html | split: '<h' %}
|
33
|
+
|
34
|
+
{% capture edited_headings %}{% endcapture %}
|
35
|
+
|
36
|
+
{% for _node in nodes %}
|
37
|
+
{% capture node %}{{ _node | strip }}{% endcapture %}
|
38
|
+
|
39
|
+
{% if node == "" %}
|
40
|
+
{% continue %}
|
41
|
+
{% endif %}
|
42
|
+
|
43
|
+
{% assign nextChar = node | replace: '"', '' | strip | slice: 0, 1 %}
|
44
|
+
{% assign headerLevel = nextChar | times: 1 %}
|
45
|
+
|
46
|
+
<!-- If the level is cast to 0, it means it's not a h1-h6 tag, so let's try to fix it -->
|
47
|
+
{% if headerLevel == 0 %}
|
48
|
+
{% if nextChar != '<' and nextChar != '' %}
|
49
|
+
{% capture node %}<h{{ node }}{% endcapture %}
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% capture edited_headings %}{{ edited_headings }}{{ node }}{% endcapture %}
|
53
|
+
{% continue %}
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% assign _workspace = node | split: '</h' %}
|
57
|
+
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
58
|
+
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
59
|
+
{% assign html_id = _idWorkspace[0] %}
|
60
|
+
|
61
|
+
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
62
|
+
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
63
|
+
|
64
|
+
<!-- Build the anchor to inject for our heading -->
|
65
|
+
{% capture anchor %}{% endcapture %}
|
66
|
+
|
67
|
+
{% if html_id and headerLevel >= minHeader and headerLevel <= maxHeader %}
|
68
|
+
{% capture anchor %}href="#{{ html_id }}"{% endcapture %}
|
69
|
+
|
70
|
+
{% if include.anchorClass %}
|
71
|
+
{% capture anchor %}{{ anchor }} class="{{ include.anchorClass }}"{% endcapture %}
|
72
|
+
{% endif %}
|
73
|
+
|
74
|
+
{% if include.anchorTitle %}
|
75
|
+
{% capture anchor %}{{ anchor }} title="{{ include.anchorTitle | replace: '%heading%', header }}"{% endcapture %}
|
76
|
+
{% endif %}
|
77
|
+
|
78
|
+
{% if include.anchorAttrs %}
|
79
|
+
{% capture anchor %}{{ anchor }} {{ include.anchorAttrs }}{% endcapture %}
|
80
|
+
{% endif %}
|
81
|
+
|
82
|
+
{% capture anchor %}<a {{ anchor }}>{{ include.anchorBody | replace: '%heading%', header | default: '' }}</a>{% endcapture %}
|
83
|
+
|
84
|
+
<!-- In order to prevent adding extra space after a heading, we'll let the 'anchor' value contain it -->
|
85
|
+
{% if beforeHeading %}
|
86
|
+
{% capture anchor %}{{ anchor }} {% endcapture %}
|
87
|
+
{% else %}
|
88
|
+
{% capture anchor %} {{ anchor }}{% endcapture %}
|
89
|
+
{% endif %}
|
90
|
+
{% endif %}
|
91
|
+
|
92
|
+
{% capture new_heading %}
|
93
|
+
<h{{ _hAttrToStrip }}
|
94
|
+
{{ include.bodyPrefix }}
|
95
|
+
{% if beforeHeading %}
|
96
|
+
{{ anchor }}{{ header }}
|
97
|
+
{% else %}
|
98
|
+
{{ header }}{{ anchor }}
|
99
|
+
{% endif %}
|
100
|
+
{{ include.bodySuffix }}
|
101
|
+
</h{{ _workspace | last }}
|
102
|
+
{% endcapture %}
|
103
|
+
{% capture edited_headings %}{{ edited_headings }}{{ new_heading }}{% endcapture %}
|
104
|
+
{% endfor %}
|
105
|
+
{% endcapture %}{% assign headingsWorkspace = '' %}{{ edited_headings | strip }}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
4
|
+
|
5
|
+
{% seo title=false %}
|
6
|
+
|
7
|
+
<title>
|
8
|
+
{% if page.tag or page.title %}
|
9
|
+
{% if page.tag %}
|
10
|
+
{{ page.tag | escape }}
|
11
|
+
{% else %}
|
12
|
+
{{ page.title | escape }}
|
13
|
+
{% endif %}
|
14
|
+
-
|
15
|
+
{% endif %}
|
16
|
+
{% if paginator and paginator.page and paginator.total_pages > 1 and paginator.page > 1 %}
|
17
|
+
Page
|
18
|
+
{{ paginator.page }}
|
19
|
+
of
|
20
|
+
{{ paginator.total_pages }}
|
21
|
+
-
|
22
|
+
{% endif %}
|
23
|
+
{{ site.title | escape }}
|
24
|
+
{% unless page.tag or page.title %}
|
25
|
+
-
|
26
|
+
{{ site.description | escape }}
|
27
|
+
{% endunless %}
|
28
|
+
</title>
|
29
|
+
|
30
|
+
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png">
|
31
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/atom.xml">
|
32
|
+
<link rel="alternate" type="application/json" title="{{ site.title }}" href="{{ "/feed.json" | prepend: site.baseurl | prepend: site.url }}"/>
|
33
|
+
<link rel="sitemap" type="application/xml" title="sitemap" href="{{ site.baseurl }}/sitemap.xml"/>
|
34
|
+
|
35
|
+
<style>
|
36
|
+
{% capture include_to_scssify %}
|
37
|
+
{% include inline.scss %}
|
38
|
+
{% endcapture %}
|
39
|
+
{{ include_to_scssify | scssify }}
|
40
|
+
</style>
|
41
|
+
|
42
|
+
</head>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<header role="banner">
|
2
|
+
<nav role="navigation">
|
3
|
+
<ul>
|
4
|
+
<li>
|
5
|
+
{{ site.name }}
|
6
|
+
</li>
|
7
|
+
{% for item in site.data.navigation.links %}
|
8
|
+
<li>
|
9
|
+
<a href="{{ item.url }}" {% if item.url == page.url %} class="active" {% endif %}>{{ item.title }}</a>
|
10
|
+
</li>
|
11
|
+
{% endfor %}
|
12
|
+
</ul>
|
13
|
+
</nav>
|
14
|
+
</header>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.4
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="post">
|
6
|
+
<h2>{{ page.title }}</h2>
|
7
|
+
{{ content }}
|
8
|
+
<span class="meta">
|
9
|
+
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time>
|
10
|
+
· {% for tag in page.tags %}
|
11
|
+
<a href="/tag/{{tag}}">{{tag}}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}</span>
|
12
|
+
</section>
|
data/_sass/_main.scss
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
*,
|
2
|
+
:after,
|
3
|
+
:before {
|
4
|
+
box-sizing: border-box;
|
5
|
+
background-color: inherit;
|
6
|
+
color: inherit;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
body {
|
12
|
+
font-family: system-ui, sans-serif;
|
13
|
+
-webkit-font-smoothing: antialiased;
|
14
|
+
text-rendering: optimizeLegibility;
|
15
|
+
line-height: 1.5;
|
16
|
+
font-size: 1rem;
|
17
|
+
color: rgb(22, 23, 26);
|
18
|
+
}
|
19
|
+
|
20
|
+
a {
|
21
|
+
color: #000;
|
22
|
+
text-decoration-skip-ink: auto;
|
23
|
+
text-decoration: underline;
|
24
|
+
}
|
25
|
+
|
26
|
+
pre {
|
27
|
+
margin: 0.5rem 0;
|
28
|
+
padding: 0.5rem;
|
29
|
+
}
|
30
|
+
|
31
|
+
.post p {
|
32
|
+
margin: 0.5rem 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
.post h1,
|
36
|
+
.post h2,
|
37
|
+
.post h3,
|
38
|
+
.post h4 {
|
39
|
+
margin: 1rem 0;
|
40
|
+
}
|
41
|
+
|
42
|
+
.post h2:first-child,
|
43
|
+
.project h2:first-child,
|
44
|
+
.photo h2:first-child {
|
45
|
+
margin-top: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
.meta {
|
49
|
+
margin: 2rem 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
code,
|
53
|
+
pre {
|
54
|
+
background: rgb(236, 237, 238);
|
55
|
+
}
|
56
|
+
|
57
|
+
code {
|
58
|
+
padding: 0.1rem;
|
59
|
+
}
|
60
|
+
|
61
|
+
pre code {
|
62
|
+
border: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
pre {
|
66
|
+
padding: 1rem;
|
67
|
+
overflow-x: auto;
|
68
|
+
}
|
69
|
+
|
70
|
+
img {
|
71
|
+
max-width: 100%;
|
72
|
+
}
|
73
|
+
|
74
|
+
hr {
|
75
|
+
background: #000;
|
76
|
+
height: 1px;
|
77
|
+
border: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
header {
|
81
|
+
border-bottom: 1px solid #111;
|
82
|
+
}
|
83
|
+
|
84
|
+
header,
|
85
|
+
section {
|
86
|
+
width: 100%;
|
87
|
+
}
|
88
|
+
|
89
|
+
header a {
|
90
|
+
text-decoration: none;
|
91
|
+
}
|
92
|
+
|
93
|
+
header ul,
|
94
|
+
.listings,
|
95
|
+
.post {
|
96
|
+
max-width: 43rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
header ul {
|
100
|
+
display: flex;
|
101
|
+
flex-direction: column;
|
102
|
+
margin: 0 auto;
|
103
|
+
list-style: none;
|
104
|
+
padding: 0 2rem 2rem 2rem;
|
105
|
+
}
|
106
|
+
|
107
|
+
header li {
|
108
|
+
display: inline;
|
109
|
+
margin-right: 0 1rem 0.2rem 0;
|
110
|
+
}
|
111
|
+
|
112
|
+
header li:first-child {
|
113
|
+
font-weight: bold;
|
114
|
+
margin-bottom: 0.4rem;
|
115
|
+
}
|
116
|
+
|
117
|
+
header a.active {
|
118
|
+
text-decoration: underline;
|
119
|
+
}
|
120
|
+
|
121
|
+
blockquote {
|
122
|
+
font-style: italic;
|
123
|
+
border-left: 5px solid #ececec;
|
124
|
+
padding-left: 1rem;
|
125
|
+
}
|
126
|
+
|
127
|
+
figcaption {
|
128
|
+
font-size: smaller;
|
129
|
+
}
|
130
|
+
|
131
|
+
h1,
|
132
|
+
h2,
|
133
|
+
h3,
|
134
|
+
h4,
|
135
|
+
h5 {
|
136
|
+
line-height: 1;
|
137
|
+
margin: 1rem 0;
|
138
|
+
font-weight: 600;
|
139
|
+
}
|
140
|
+
|
141
|
+
strong,
|
142
|
+
b {
|
143
|
+
font-weight: bold;
|
144
|
+
}
|
145
|
+
|
146
|
+
main {
|
147
|
+
display: flex;
|
148
|
+
flex-wrap: wrap;
|
149
|
+
padding: 2rem 0;
|
150
|
+
}
|
151
|
+
|
152
|
+
section {
|
153
|
+
width: 100%;
|
154
|
+
margin: 0 auto;
|
155
|
+
padding: 2rem 2rem 0 2rem;
|
156
|
+
}
|
157
|
+
|
158
|
+
section h1:first-child {
|
159
|
+
margin-top: 0;
|
160
|
+
}
|
161
|
+
|
162
|
+
.listings > div {
|
163
|
+
margin-bottom: 0.5rem;
|
164
|
+
}
|
165
|
+
|
166
|
+
.listings {
|
167
|
+
display: grid;
|
168
|
+
grid-column-gap: 5px;
|
169
|
+
grid-row-gap: 0;
|
170
|
+
grid-template-columns: 1fr;
|
171
|
+
}
|
172
|
+
|
173
|
+
.listings > :nth-child(4n-3) {
|
174
|
+
text-decoration: underline;
|
175
|
+
}
|
176
|
+
|
177
|
+
.listings > :nth-child(4n) {
|
178
|
+
text-overflow: unset;
|
179
|
+
padding-bottom: 1.5rem;
|
180
|
+
}
|
181
|
+
|
182
|
+
.listings span,
|
183
|
+
.listings span a {
|
184
|
+
white-space: nowrap;
|
185
|
+
overflow: hidden;
|
186
|
+
text-overflow: ellipsis;
|
187
|
+
text-decoration: none;
|
188
|
+
}
|
189
|
+
|
190
|
+
.listings div time {
|
191
|
+
padding-left: 1rem;
|
192
|
+
white-space: nowrap;
|
193
|
+
font-variant-numeric: tabular-nums;
|
194
|
+
}
|
195
|
+
|
196
|
+
@media screen and (min-width: 40rem) {
|
197
|
+
.listings {
|
198
|
+
grid-row-gap: 5px;
|
199
|
+
grid-template-columns: 1fr 0.75fr min-content 75px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.listings > :nth-child(4n-3) {
|
203
|
+
text-decoration: unset;
|
204
|
+
}
|
205
|
+
|
206
|
+
.listings > span,
|
207
|
+
.listings > div,
|
208
|
+
.listings > time {
|
209
|
+
height: 1.75rem;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
@media screen and (min-width: 64rem) {
|
214
|
+
main {
|
215
|
+
flex-direction: row;
|
216
|
+
}
|
217
|
+
|
218
|
+
header {
|
219
|
+
position: absolute;
|
220
|
+
top: 40px;
|
221
|
+
right: 50%;
|
222
|
+
margin-right: 340px !important;
|
223
|
+
letter-spacing: -0.009em;
|
224
|
+
border-bottom: none;
|
225
|
+
width: unset;
|
226
|
+
}
|
227
|
+
|
228
|
+
header ul {
|
229
|
+
padding: 1.3rem 2rem 2rem 2rem;
|
230
|
+
}
|
231
|
+
|
232
|
+
section {
|
233
|
+
margin-left: auto;
|
234
|
+
margin-right: auto;
|
235
|
+
}
|
236
|
+
|
237
|
+
nav ul {
|
238
|
+
border-right: 1px solid #111;
|
239
|
+
}
|
240
|
+
}
|
data/_sass/reset.scss
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
2
|
+
v2.0 | 20110126
|
3
|
+
License: none (public domain)
|
4
|
+
*/
|
5
|
+
|
6
|
+
html,
|
7
|
+
body,
|
8
|
+
div,
|
9
|
+
span,
|
10
|
+
applet,
|
11
|
+
object,
|
12
|
+
iframe,
|
13
|
+
h1,
|
14
|
+
h2,
|
15
|
+
h3,
|
16
|
+
h4,
|
17
|
+
h5,
|
18
|
+
h6,
|
19
|
+
p,
|
20
|
+
blockquote,
|
21
|
+
pre,
|
22
|
+
a,
|
23
|
+
abbr,
|
24
|
+
acronym,
|
25
|
+
address,
|
26
|
+
big,
|
27
|
+
cite,
|
28
|
+
code,
|
29
|
+
del,
|
30
|
+
dfn,
|
31
|
+
em,
|
32
|
+
img,
|
33
|
+
ins,
|
34
|
+
kbd,
|
35
|
+
q,
|
36
|
+
s,
|
37
|
+
samp,
|
38
|
+
small,
|
39
|
+
strike,
|
40
|
+
strong,
|
41
|
+
sub,
|
42
|
+
sup,
|
43
|
+
tt,
|
44
|
+
var,
|
45
|
+
b,
|
46
|
+
u,
|
47
|
+
i,
|
48
|
+
center,
|
49
|
+
dl,
|
50
|
+
dt,
|
51
|
+
dd,
|
52
|
+
ol,
|
53
|
+
ul,
|
54
|
+
li,
|
55
|
+
fieldset,
|
56
|
+
form,
|
57
|
+
label,
|
58
|
+
legend,
|
59
|
+
table,
|
60
|
+
caption,
|
61
|
+
tbody,
|
62
|
+
tfoot,
|
63
|
+
thead,
|
64
|
+
tr,
|
65
|
+
th,
|
66
|
+
td,
|
67
|
+
article,
|
68
|
+
aside,
|
69
|
+
canvas,
|
70
|
+
details,
|
71
|
+
embed,
|
72
|
+
figure,
|
73
|
+
figcaption,
|
74
|
+
footer,
|
75
|
+
header,
|
76
|
+
hgroup,
|
77
|
+
menu,
|
78
|
+
nav,
|
79
|
+
output,
|
80
|
+
ruby,
|
81
|
+
section,
|
82
|
+
summary,
|
83
|
+
time,
|
84
|
+
mark,
|
85
|
+
audio,
|
86
|
+
video {
|
87
|
+
margin: 0;
|
88
|
+
padding: 0;
|
89
|
+
border: 0;
|
90
|
+
font-size: 100%;
|
91
|
+
font: inherit;
|
92
|
+
vertical-align: baseline;
|
93
|
+
}
|
94
|
+
/* HTML5 display-role reset for older browsers */
|
95
|
+
article,
|
96
|
+
aside,
|
97
|
+
details,
|
98
|
+
figcaption,
|
99
|
+
figure,
|
100
|
+
footer,
|
101
|
+
header,
|
102
|
+
hgroup,
|
103
|
+
menu,
|
104
|
+
nav,
|
105
|
+
section {
|
106
|
+
display: block;
|
107
|
+
}
|
108
|
+
body {
|
109
|
+
line-height: 1;
|
110
|
+
}
|
111
|
+
ol,
|
112
|
+
ul {
|
113
|
+
list-style: none;
|
114
|
+
}
|
115
|
+
blockquote,
|
116
|
+
q {
|
117
|
+
quotes: none;
|
118
|
+
}
|
119
|
+
blockquote:before,
|
120
|
+
blockquote:after,
|
121
|
+
q:before,
|
122
|
+
q:after {
|
123
|
+
content: "";
|
124
|
+
content: none;
|
125
|
+
}
|
126
|
+
table {
|
127
|
+
border-collapse: collapse;
|
128
|
+
border-spacing: 0;
|
129
|
+
}
|
metadata
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: frogmore
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Huw Diprose
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-09-07 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: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
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.0
|
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.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-seo-tag
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.6.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.6.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-sitemap
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.4.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.4.0
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- mail@huwdiprose.co.uk
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- LICENSE.txt
|
77
|
+
- README.md
|
78
|
+
- _config.yml
|
79
|
+
- _includes/anchor_headings.html
|
80
|
+
- _includes/head.html
|
81
|
+
- _includes/inline.scss
|
82
|
+
- _includes/navigation.html
|
83
|
+
- _layouts/compress.html
|
84
|
+
- _layouts/default.html
|
85
|
+
- _layouts/listing.html
|
86
|
+
- _layouts/post.html
|
87
|
+
- _sass/_main.scss
|
88
|
+
- _sass/reset.scss
|
89
|
+
homepage: https://frogmore.github.io
|
90
|
+
licenses:
|
91
|
+
- MIT
|
92
|
+
metadata: {}
|
93
|
+
post_install_message:
|
94
|
+
rdoc_options: []
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
requirements: []
|
108
|
+
rubygems_version: 3.1.2
|
109
|
+
signing_key:
|
110
|
+
specification_version: 4
|
111
|
+
summary: A minimal, simple jekyll theme
|
112
|
+
test_files: []
|