jekyll-theme-pgu 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 +52 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +35 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +11 -0
- data/_includes/header.html +30 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/social.html +14 -0
- data/_layouts/default.html +20 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +27 -0
- data/_sass/pgu/_base.scss +254 -0
- data/_sass/pgu/_layout.scss +256 -0
- data/_sass/pgu/_syntax-highlighting.scss +71 -0
- data/_sass/theme-pgu.scss +51 -0
- data/assets/main.scss +5 -0
- metadata +78 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40ec34abdddf571f98b273fd1185482061fdbeca449fd5304e8840853c683188
|
4
|
+
data.tar.gz: 4a591bde60154281e31e2d8c008b60d17741bded02f0d1b1be6e3664cdfcabb3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e6ab404df7676749770cd0446f13291734829d40c19ed681773172d7b0784fc2ce9ad33f43b5795e1e8cd7577aeb1f66d9687180facdc9db41b9d913fa12da7e
|
7
|
+
data.tar.gz: 2b56526eed9cb2e491a1e1ba8a153d8f98bcb6fcf35c7d351a55952b9a010f08104be0820fd1db5915003cf495df666f318280d3be8a5f4cdb74d17f51445b7c
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 pgu
|
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,52 @@
|
|
1
|
+
# jekyll-theme-pgu
|
2
|
+
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your Jekyll site's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "jekyll-theme-pgu"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: jekyll-theme-pgu
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install jekyll-theme-pgu
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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 `jekyll-theme-pgu.gemspec` accordingly.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{%- if page.comments != false and jekyll.environment == "production" -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
|
13
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
14
|
+
|
15
|
+
s.setAttribute('data-timestamp', +new Date());
|
16
|
+
(d.head || d.body).appendChild(s);
|
17
|
+
})();
|
18
|
+
</script>
|
19
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
+
{%- endif -%}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
7
|
+
|
8
|
+
<div class="footer-col-wrapper">
|
9
|
+
<div class="footer-col footer-col-1">
|
10
|
+
<ul class="contact-list">
|
11
|
+
<li class="p-name">
|
12
|
+
{%- if site.author -%}
|
13
|
+
{{ site.author | escape }}
|
14
|
+
{%- else -%}
|
15
|
+
{{ site.title | escape }}
|
16
|
+
{%- endif -%}
|
17
|
+
</li>
|
18
|
+
{%- if site.email -%}
|
19
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
20
|
+
{%- endif -%}
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="footer-col footer-col-2">
|
25
|
+
{%- include social.html -%}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="footer-col footer-col-3">
|
29
|
+
<p>{{- site.description | escape -}}</p>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</footer>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
}
|
11
|
+
</script>
|
12
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
9
|
+
{%- include google-analytics.html -%}
|
10
|
+
{%- endif -%}
|
11
|
+
</head>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
7
|
+
|
8
|
+
{%- if page_paths -%}
|
9
|
+
<nav class="site-nav">
|
10
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
11
|
+
<label for="nav-trigger">
|
12
|
+
<span class="menu-icon">
|
13
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
14
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
15
|
+
</svg>
|
16
|
+
</span>
|
17
|
+
</label>
|
18
|
+
|
19
|
+
<div class="trigger">
|
20
|
+
{%- for path in page_paths -%}
|
21
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
22
|
+
{%- if my_page.title -%}
|
23
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
24
|
+
{%- endif -%}
|
25
|
+
{%- endfor -%}
|
26
|
+
</div>
|
27
|
+
</nav>
|
28
|
+
{%- endif -%}
|
29
|
+
</div>
|
30
|
+
</header>
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<ul class="social-media-list">
|
2
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
3
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
|
4
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
5
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
6
|
+
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
9
|
+
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
10
|
+
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
12
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
13
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
14
|
+
</ul>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home">
|
6
|
+
{%- if page.title -%}
|
7
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
8
|
+
{%- endif -%}
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
{%- if site.posts.size > 0 -%}
|
13
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
14
|
+
<ul class="post-list">
|
15
|
+
{%- for post in site.posts -%}
|
16
|
+
<li>
|
17
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
19
|
+
<h3>
|
20
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
21
|
+
{{ post.title | escape }}
|
22
|
+
</a>
|
23
|
+
</h3>
|
24
|
+
{%- if site.show_excerpts -%}
|
25
|
+
{{ post.excerpt }}
|
26
|
+
{%- endif -%}
|
27
|
+
</li>
|
28
|
+
{%- endfor -%}
|
29
|
+
</ul>
|
30
|
+
|
31
|
+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
32
|
+
{%- endif -%}
|
33
|
+
|
34
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
10
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
11
|
+
{{ page.date | date: date_format }}
|
12
|
+
</time>
|
13
|
+
{%- if page.author -%}
|
14
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
15
|
+
{%- endif -%}</p>
|
16
|
+
</header>
|
17
|
+
|
18
|
+
<div class="post-content e-content" itemprop="articleBody">
|
19
|
+
{{ content }}
|
20
|
+
</div>
|
21
|
+
|
22
|
+
{%- if site.disqus.shortname -%}
|
23
|
+
{%- include disqus_comments.html -%}
|
24
|
+
{%- endif -%}
|
25
|
+
|
26
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
27
|
+
</article>
|
@@ -0,0 +1,254 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Basic styling
|
15
|
+
*/
|
16
|
+
body {
|
17
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
+
color: $text-color;
|
19
|
+
background-color: $background-color;
|
20
|
+
-webkit-text-size-adjust: 100%;
|
21
|
+
-webkit-font-feature-settings: "kern" 1;
|
22
|
+
-moz-font-feature-settings: "kern" 1;
|
23
|
+
-o-font-feature-settings: "kern" 1;
|
24
|
+
font-feature-settings: "kern" 1;
|
25
|
+
font-kerning: normal;
|
26
|
+
display: flex;
|
27
|
+
min-height: 100vh;
|
28
|
+
flex-direction: column;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
35
|
+
*/
|
36
|
+
h1, h2, h3, h4, h5, h6,
|
37
|
+
p, blockquote, pre,
|
38
|
+
ul, ol, dl, figure,
|
39
|
+
%vertical-rhythm {
|
40
|
+
margin-bottom: $spacing-unit / 2;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
/**
|
46
|
+
* `main` element
|
47
|
+
*/
|
48
|
+
main {
|
49
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Images
|
56
|
+
*/
|
57
|
+
img {
|
58
|
+
max-width: 100%;
|
59
|
+
vertical-align: middle;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
/**
|
65
|
+
* Figures
|
66
|
+
*/
|
67
|
+
figure > img {
|
68
|
+
display: block;
|
69
|
+
}
|
70
|
+
|
71
|
+
figcaption {
|
72
|
+
font-size: $small-font-size;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Lists
|
79
|
+
*/
|
80
|
+
ul, ol {
|
81
|
+
margin-left: $spacing-unit;
|
82
|
+
}
|
83
|
+
|
84
|
+
li {
|
85
|
+
> ul,
|
86
|
+
> ol {
|
87
|
+
margin-bottom: 0;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Headings
|
95
|
+
*/
|
96
|
+
h1, h2, h3, h4, h5, h6 {
|
97
|
+
font-weight: $base-font-weight;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Links
|
104
|
+
*/
|
105
|
+
a {
|
106
|
+
color: $brand-color;
|
107
|
+
text-decoration: none;
|
108
|
+
|
109
|
+
&:visited {
|
110
|
+
color: darken($brand-color, 15%);
|
111
|
+
}
|
112
|
+
|
113
|
+
&:hover {
|
114
|
+
color: $text-color;
|
115
|
+
text-decoration: underline;
|
116
|
+
}
|
117
|
+
|
118
|
+
.social-media-list &:hover {
|
119
|
+
text-decoration: none;
|
120
|
+
|
121
|
+
.username {
|
122
|
+
text-decoration: underline;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Blockquotes
|
130
|
+
*/
|
131
|
+
blockquote {
|
132
|
+
color: $grey-color;
|
133
|
+
border-left: 4px solid $grey-color-light;
|
134
|
+
padding-left: $spacing-unit / 2;
|
135
|
+
@include relative-font-size(1.125);
|
136
|
+
letter-spacing: -1px;
|
137
|
+
font-style: italic;
|
138
|
+
|
139
|
+
> :last-child {
|
140
|
+
margin-bottom: 0;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
/**
|
147
|
+
* Code formatting
|
148
|
+
*/
|
149
|
+
pre,
|
150
|
+
code {
|
151
|
+
@include relative-font-size(0.9375);
|
152
|
+
border: 1px solid $grey-color-light;
|
153
|
+
border-radius: 3px;
|
154
|
+
background-color: #eef;
|
155
|
+
}
|
156
|
+
|
157
|
+
code {
|
158
|
+
padding: 1px 5px;
|
159
|
+
}
|
160
|
+
|
161
|
+
pre {
|
162
|
+
padding: 8px 12px;
|
163
|
+
overflow-x: auto;
|
164
|
+
|
165
|
+
> code {
|
166
|
+
border: 0;
|
167
|
+
padding-right: 0;
|
168
|
+
padding-left: 0;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Wrapper
|
176
|
+
*/
|
177
|
+
.wrapper {
|
178
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
179
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
180
|
+
margin-right: auto;
|
181
|
+
margin-left: auto;
|
182
|
+
padding-right: $spacing-unit;
|
183
|
+
padding-left: $spacing-unit;
|
184
|
+
@extend %clearfix;
|
185
|
+
|
186
|
+
@include media-query($on-laptop) {
|
187
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
188
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
189
|
+
padding-right: $spacing-unit / 2;
|
190
|
+
padding-left: $spacing-unit / 2;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Clearfix
|
198
|
+
*/
|
199
|
+
%clearfix:after {
|
200
|
+
content: "";
|
201
|
+
display: table;
|
202
|
+
clear: both;
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Icons
|
209
|
+
*/
|
210
|
+
|
211
|
+
.svg-icon {
|
212
|
+
width: 16px;
|
213
|
+
height: 16px;
|
214
|
+
display: inline-block;
|
215
|
+
fill: #{$grey-color};
|
216
|
+
padding-right: 5px;
|
217
|
+
vertical-align: text-top;
|
218
|
+
}
|
219
|
+
|
220
|
+
.social-media-list {
|
221
|
+
li + li {
|
222
|
+
padding-top: 5px;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Tables
|
230
|
+
*/
|
231
|
+
table {
|
232
|
+
margin-bottom: $spacing-unit;
|
233
|
+
width: 100%;
|
234
|
+
text-align: $table-text-align;
|
235
|
+
color: lighten($text-color, 18%);
|
236
|
+
border-collapse: collapse;
|
237
|
+
border: 1px solid $grey-color-light;
|
238
|
+
tr {
|
239
|
+
&:nth-child(even) {
|
240
|
+
background-color: lighten($grey-color-light, 6%);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
th, td {
|
244
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
245
|
+
}
|
246
|
+
th {
|
247
|
+
background-color: lighten($grey-color-light, 3%);
|
248
|
+
border: 1px solid darken($grey-color-light, 4%);
|
249
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
250
|
+
}
|
251
|
+
td {
|
252
|
+
border: 1px solid $grey-color-light;
|
253
|
+
}
|
254
|
+
}
|
@@ -0,0 +1,256 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
background-color: pink;
|
6
|
+
border-top: 5px solid $grey-color-dark;
|
7
|
+
border-bottom: 1px solid $grey-color-light;
|
8
|
+
min-height: $spacing-unit * 1.865;
|
9
|
+
|
10
|
+
// Positioning context for the mobile navigation icon
|
11
|
+
position: relative;
|
12
|
+
}
|
13
|
+
|
14
|
+
.site-title {
|
15
|
+
@include relative-font-size(1.625);
|
16
|
+
font-weight: 300;
|
17
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
18
|
+
letter-spacing: -1px;
|
19
|
+
margin-bottom: 0;
|
20
|
+
float: left;
|
21
|
+
|
22
|
+
&,
|
23
|
+
&:visited {
|
24
|
+
color: $grey-color-dark;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.site-nav {
|
29
|
+
float: right;
|
30
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
31
|
+
|
32
|
+
.nav-trigger {
|
33
|
+
display: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
.menu-icon {
|
37
|
+
display: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
.page-link {
|
41
|
+
color: $text-color;
|
42
|
+
line-height: $base-line-height;
|
43
|
+
|
44
|
+
// Gaps between nav items, but not on the last one
|
45
|
+
&:not(:last-child) {
|
46
|
+
margin-right: 20px;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
@include media-query($on-palm) {
|
51
|
+
position: absolute;
|
52
|
+
top: 9px;
|
53
|
+
right: $spacing-unit / 2;
|
54
|
+
background-color: $background-color;
|
55
|
+
border: 1px solid $grey-color-light;
|
56
|
+
border-radius: 5px;
|
57
|
+
text-align: right;
|
58
|
+
|
59
|
+
label[for="nav-trigger"] {
|
60
|
+
display: block;
|
61
|
+
float: right;
|
62
|
+
width: 36px;
|
63
|
+
height: 36px;
|
64
|
+
z-index: 2;
|
65
|
+
cursor: pointer;
|
66
|
+
}
|
67
|
+
|
68
|
+
.menu-icon {
|
69
|
+
display: block;
|
70
|
+
float: right;
|
71
|
+
width: 36px;
|
72
|
+
height: 26px;
|
73
|
+
line-height: 0;
|
74
|
+
padding-top: 10px;
|
75
|
+
text-align: center;
|
76
|
+
|
77
|
+
> svg {
|
78
|
+
fill: $grey-color-dark;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
input ~ .trigger {
|
83
|
+
clear: both;
|
84
|
+
display: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
input:checked ~ .trigger {
|
88
|
+
display: block;
|
89
|
+
padding-bottom: 5px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.page-link {
|
93
|
+
display: block;
|
94
|
+
padding: 5px 10px;
|
95
|
+
|
96
|
+
&:not(:last-child) {
|
97
|
+
margin-right: 0;
|
98
|
+
}
|
99
|
+
margin-left: 20px;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Site footer
|
108
|
+
*/
|
109
|
+
.site-footer {
|
110
|
+
border-top: 1px solid $grey-color-light;
|
111
|
+
padding: $spacing-unit 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
.footer-heading {
|
115
|
+
@include relative-font-size(1.125);
|
116
|
+
margin-bottom: $spacing-unit / 2;
|
117
|
+
}
|
118
|
+
|
119
|
+
.contact-list,
|
120
|
+
.social-media-list {
|
121
|
+
list-style: none;
|
122
|
+
margin-left: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
.footer-col-wrapper {
|
126
|
+
@include relative-font-size(0.9375);
|
127
|
+
color: $grey-color;
|
128
|
+
margin-left: -$spacing-unit / 2;
|
129
|
+
@extend %clearfix;
|
130
|
+
}
|
131
|
+
|
132
|
+
.footer-col {
|
133
|
+
float: left;
|
134
|
+
margin-bottom: $spacing-unit / 2;
|
135
|
+
padding-left: $spacing-unit / 2;
|
136
|
+
}
|
137
|
+
|
138
|
+
.footer-col-1 {
|
139
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
140
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
141
|
+
}
|
142
|
+
|
143
|
+
.footer-col-2 {
|
144
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
145
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
146
|
+
}
|
147
|
+
|
148
|
+
.footer-col-3 {
|
149
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
150
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
151
|
+
}
|
152
|
+
|
153
|
+
@include media-query($on-laptop) {
|
154
|
+
.footer-col-1,
|
155
|
+
.footer-col-2 {
|
156
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
157
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
158
|
+
}
|
159
|
+
|
160
|
+
.footer-col-3 {
|
161
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
162
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
@include media-query($on-palm) {
|
167
|
+
.footer-col {
|
168
|
+
float: none;
|
169
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
170
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Page content
|
178
|
+
*/
|
179
|
+
.page-content {
|
180
|
+
padding: $spacing-unit 0;
|
181
|
+
flex: 1;
|
182
|
+
}
|
183
|
+
|
184
|
+
.page-heading {
|
185
|
+
@include relative-font-size(2);
|
186
|
+
}
|
187
|
+
|
188
|
+
.post-list-heading {
|
189
|
+
@include relative-font-size(1.75);
|
190
|
+
}
|
191
|
+
|
192
|
+
.post-list {
|
193
|
+
margin-left: 0;
|
194
|
+
list-style: none;
|
195
|
+
|
196
|
+
> li {
|
197
|
+
margin-bottom: $spacing-unit;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.post-meta {
|
202
|
+
font-size: $small-font-size;
|
203
|
+
color: $grey-color;
|
204
|
+
}
|
205
|
+
|
206
|
+
.post-link {
|
207
|
+
display: block;
|
208
|
+
@include relative-font-size(1.5);
|
209
|
+
}
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Posts
|
215
|
+
*/
|
216
|
+
.post-header {
|
217
|
+
margin-bottom: $spacing-unit;
|
218
|
+
}
|
219
|
+
|
220
|
+
.post-title {
|
221
|
+
@include relative-font-size(2.625);
|
222
|
+
letter-spacing: -1px;
|
223
|
+
line-height: 1;
|
224
|
+
|
225
|
+
@include media-query($on-laptop) {
|
226
|
+
@include relative-font-size(2.25);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
.post-content {
|
231
|
+
margin-bottom: $spacing-unit;
|
232
|
+
|
233
|
+
h2 {
|
234
|
+
@include relative-font-size(2);
|
235
|
+
|
236
|
+
@include media-query($on-laptop) {
|
237
|
+
@include relative-font-size(1.75);
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
h3 {
|
242
|
+
@include relative-font-size(1.625);
|
243
|
+
|
244
|
+
@include media-query($on-laptop) {
|
245
|
+
@include relative-font-size(1.375);
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
h4 {
|
250
|
+
@include relative-font-size(1.25);
|
251
|
+
|
252
|
+
@include media-query($on-laptop) {
|
253
|
+
@include relative-font-size(1.125);
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
.highlight {
|
5
|
+
background: #fff;
|
6
|
+
@extend %vertical-rhythm;
|
7
|
+
|
8
|
+
.highlighter-rouge & {
|
9
|
+
background: #eef;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c { color: #998; font-style: italic } // Comment
|
13
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
+
.k { font-weight: bold } // Keyword
|
15
|
+
.o { font-weight: bold } // Operator
|
16
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
+
.ge { font-style: italic } // Generic.Emph
|
23
|
+
.gr { color: #a00 } // Generic.Error
|
24
|
+
.gh { color: #999 } // Generic.Heading
|
25
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
+
.go { color: #888 } // Generic.Output
|
28
|
+
.gp { color: #555 } // Generic.Prompt
|
29
|
+
.gs { font-weight: bold } // Generic.Strong
|
30
|
+
.gu { color: #aaa } // Generic.Subheading
|
31
|
+
.gt { color: #a00 } // Generic.Traceback
|
32
|
+
.kc { font-weight: bold } // Keyword.Constant
|
33
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
+
.m { color: #099 } // Literal.Number
|
38
|
+
.s { color: #d14 } // Literal.String
|
39
|
+
.na { color: #008080 } // Name.Attribute
|
40
|
+
.nb { color: #0086B3 } // Name.Builtin
|
41
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
+
.no { color: #008080 } // Name.Constant
|
43
|
+
.ni { color: #800080 } // Name.Entity
|
44
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
+
.nn { color: #555 } // Name.Namespace
|
47
|
+
.nt { color: #000080 } // Name.Tag
|
48
|
+
.nv { color: #008080 } // Name.Variable
|
49
|
+
.ow { font-weight: bold } // Operator.Word
|
50
|
+
.w { color: #bbb } // Text.Whitespace
|
51
|
+
.mf { color: #099 } // Literal.Number.Float
|
52
|
+
.mh { color: #099 } // Literal.Number.Hex
|
53
|
+
.mi { color: #099 } // Literal.Number.Integer
|
54
|
+
.mo { color: #099 } // Literal.Number.Oct
|
55
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
+
.sc { color: #d14 } // Literal.String.Char
|
57
|
+
.sd { color: #d14 } // Literal.String.Doc
|
58
|
+
.s2 { color: #d14 } // Literal.String.Double
|
59
|
+
.se { color: #d14 } // Literal.String.Escape
|
60
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
+
.si { color: #d14 } // Literal.String.Interpol
|
62
|
+
.sx { color: #d14 } // Literal.String.Other
|
63
|
+
.sr { color: #009926 } // Literal.String.Regex
|
64
|
+
.s1 { color: #d14 } // Literal.String.Single
|
65
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
+
.vc { color: #008080 } // Name.Variable.Class
|
68
|
+
.vg { color: #008080 } // Name.Variable.Global
|
69
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
6
|
+
$base-font-size: 16px !default;
|
7
|
+
$base-font-weight: 400 !default;
|
8
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
9
|
+
$base-line-height: 1.5 !default;
|
10
|
+
|
11
|
+
$spacing-unit: 30px !default;
|
12
|
+
|
13
|
+
$text-color: #111 !default;
|
14
|
+
$background-color: #fdfdfd !default;
|
15
|
+
$brand-color: #2a7ae2 !default;
|
16
|
+
|
17
|
+
$grey-color: #828282 !default;
|
18
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
19
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
20
|
+
|
21
|
+
$table-text-align: left !default;
|
22
|
+
|
23
|
+
// Width of the content area
|
24
|
+
$content-width: 800px !default;
|
25
|
+
|
26
|
+
$on-palm: 600px !default;
|
27
|
+
$on-laptop: 800px !default;
|
28
|
+
|
29
|
+
// Use media queries like this:
|
30
|
+
// @include media-query($on-palm) {
|
31
|
+
// .wrapper {
|
32
|
+
// padding-right: $spacing-unit / 2;
|
33
|
+
// padding-left: $spacing-unit / 2;
|
34
|
+
// }
|
35
|
+
// }
|
36
|
+
@mixin media-query($device) {
|
37
|
+
@media screen and (max-width: $device) {
|
38
|
+
@content;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin relative-font-size($ratio) {
|
43
|
+
font-size: $base-font-size * $ratio;
|
44
|
+
}
|
45
|
+
|
46
|
+
// Import partials.
|
47
|
+
@import
|
48
|
+
"pgu/base",
|
49
|
+
"pgu/layout",
|
50
|
+
"pgu/syntax-highlighting"
|
51
|
+
;
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-pgu
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- pgu
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-28 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
|
+
description:
|
28
|
+
email:
|
29
|
+
- pguilcher@talend.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE.txt
|
35
|
+
- README.md
|
36
|
+
- _includes/disqus_comments.html
|
37
|
+
- _includes/footer.html
|
38
|
+
- _includes/google-analytics.html
|
39
|
+
- _includes/head.html
|
40
|
+
- _includes/header.html
|
41
|
+
- _includes/icon-github.html
|
42
|
+
- _includes/icon-github.svg
|
43
|
+
- _includes/icon-twitter.html
|
44
|
+
- _includes/icon-twitter.svg
|
45
|
+
- _includes/social.html
|
46
|
+
- _layouts/default.html
|
47
|
+
- _layouts/home.html
|
48
|
+
- _layouts/page.html
|
49
|
+
- _layouts/post.html
|
50
|
+
- _sass/pgu/_base.scss
|
51
|
+
- _sass/pgu/_layout.scss
|
52
|
+
- _sass/pgu/_syntax-highlighting.scss
|
53
|
+
- _sass/theme-pgu.scss
|
54
|
+
- assets/main.scss
|
55
|
+
homepage: https://github.com/pgu/jekyll-theme-pgu
|
56
|
+
licenses:
|
57
|
+
- MIT
|
58
|
+
metadata: {}
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
requirements: []
|
74
|
+
rubygems_version: 3.1.2
|
75
|
+
signing_key:
|
76
|
+
specification_version: 4
|
77
|
+
summary: Let's test some theme for GH jekyll.
|
78
|
+
test_files: []
|