minimaless 0.0.1
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 +105 -0
- data/_includes/contact-icons.html +58 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +11 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +18 -0
- data/_includes/header.html +40 -0
- data/_includes/icon-keybase.svg +6 -0
- data/_layouts/about.html +24 -0
- data/_layouts/blog.html +23 -0
- data/_layouts/contact.html +26 -0
- data/_layouts/default.html +20 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +25 -0
- data/_sass/minimaless/_base.scss +223 -0
- data/_sass/minimaless/_layout.scss +340 -0
- data/_sass/minimaless/_syntax-highlighting.scss +71 -0
- data/_sass/minimaless.scss +80 -0
- data/assets/logo.svg +39 -0
- data/assets/main.scss +5 -0
- metadata +93 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4b2e6814772cfeb990badaabdd0fa31d9dbf1a6d
|
4
|
+
data.tar.gz: d4fea3d1a11e76356777f94fdca2d34dcd42b9d3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0d57ca181ed4bbb5a18d82d858284cdd413be5c4e8ba1d3c7036654f7f301841a6a95959fa4b8f4e7cc0a66f39b14304a6f9786a1e49b0b902a6db8351be47b
|
7
|
+
data.tar.gz: d5898a24b0f60e63748dba17d1b4252f0f55f22d86ff7644eda976ad37506945eda1b50fbe59977ae02e8d31b6b84860d06a037c445be6c810e81bec4f425116
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 brettinternet
|
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,105 @@
|
|
1
|
+
# minimaless
|
2
|
+
|
3
|
+
It's like [minima](https://jekyll.github.io/minima/), but less. ✨
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "minimaless"
|
12
|
+
```
|
13
|
+
|
14
|
+
And add this line to your Jekyll site:
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
theme: minimaless
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
|
25
|
+
## Features
|
26
|
+
|
27
|
+
### Includes
|
28
|
+
|
29
|
+
Refers to snippets of code within the `_includes` directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
|
30
|
+
|
31
|
+
- `disqus_comments.html` — Code to markup disqus comment box.
|
32
|
+
- `footer.html` — Defines the site's footer section.
|
33
|
+
- `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
|
34
|
+
- `head.html` — Code-block that defines the `<head></head>` in *default* layout.
|
35
|
+
- `header.html` — Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
|
36
|
+
- `icon-* files` — Inserts github and twitter ids with respective icons.
|
37
|
+
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
### Customization
|
41
|
+
|
42
|
+
To override the default structure and style of minima, simply create the concerned directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
|
43
|
+
e.g., to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from minima gem folder to `<yoursite>/_includes` and start editing that file.
|
44
|
+
|
45
|
+
The site's default CSS has now moved to a new place within the gem itself, [`assets/main.scss`](assets/main.scss). To **override the default CSS**, the file has to exist at your site source. Do either of the following:
|
46
|
+
- Create a new instance of `main.scss` at site source.
|
47
|
+
- Create a new file `main.scss` at `<your-site>/assets/`
|
48
|
+
- Add the frontmatter dashes, and
|
49
|
+
- Add `@import "minima";`, to `<your-site>/assets/main.scss`
|
50
|
+
- Add your custom CSS.
|
51
|
+
- Download the file from this repo
|
52
|
+
- Create a new file `main.scss` at `<your-site>/assets/`
|
53
|
+
- Copy the contents at [assets/main.scss](assets/main.scss) onto the `main.scss` you just created, and edit away!
|
54
|
+
- Copy directly from Minima 2.0 gem
|
55
|
+
- Go to your local minima gem installation directory ( run `bundle show minima` to get the path to it ).
|
56
|
+
- Copy the `assets/` folder from there into the root of `<your-site>`
|
57
|
+
- Change whatever values you want, inside `<your-site>/assets/main.scss`
|
58
|
+
|
59
|
+
--
|
60
|
+
|
61
|
+
### Enabling comments (via Disqus)
|
62
|
+
|
63
|
+
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
|
64
|
+
|
65
|
+
To enable it, add the following lines to your Jekyll site:
|
66
|
+
|
67
|
+
```yaml
|
68
|
+
disqus:
|
69
|
+
shortname: my_disqus_shortname
|
70
|
+
```
|
71
|
+
|
72
|
+
You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
|
73
|
+
|
74
|
+
Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
|
75
|
+
|
76
|
+
If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
|
77
|
+
|
78
|
+
--
|
79
|
+
|
80
|
+
### Enabling Google Analytics
|
81
|
+
|
82
|
+
To enable Google Anaytics, add the following lines to your Jekyll site:
|
83
|
+
|
84
|
+
```yaml
|
85
|
+
google_analytics: UA-NNNNNNNN-N
|
86
|
+
```
|
87
|
+
|
88
|
+
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
## Contributing
|
94
|
+
|
95
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll/minima. 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.
|
96
|
+
|
97
|
+
## Development
|
98
|
+
|
99
|
+
To set up your environment to develop this theme, run `script/bootstrap`.
|
100
|
+
|
101
|
+
To test your theme, run `script/server` (or `bundle exec jekyll serve`) and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
|
102
|
+
|
103
|
+
## License
|
104
|
+
|
105
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<ul class="contact-icons">
|
2
|
+
{% if site.github_username %}
|
3
|
+
<li>
|
4
|
+
<a href="https://github.com/{{ site.github_username }}" target="_blank"><i class="icon fa fa-github"></i></a>
|
5
|
+
</li>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if site.bitbucket_username %}
|
9
|
+
<li>
|
10
|
+
<a href="https://bitbucket.org/{{ site.bitbucket_username }}" target="_blank"><i class="icon fa fa-bitbucket"></i></a>
|
11
|
+
</li>
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
{% if site.linkedin_username %}
|
15
|
+
<li>
|
16
|
+
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}" target="_blank"><i class="icon fa fa-linkedin"></i></a>
|
17
|
+
</li>
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if site.twitter_username %}
|
21
|
+
<li>
|
22
|
+
<a href="https://twitter.com/{{ site.twitter_username }}" target="_blank"><i class="icon fa fa-twitter"></i></a>
|
23
|
+
</li>
|
24
|
+
{% endif %}
|
25
|
+
|
26
|
+
{% if site.facebook_username %}
|
27
|
+
<li>
|
28
|
+
<a href="https://www.facebook.com/{{ site.facebook_username }}" target="_blank"><i class="icon fa fa-facebook"></i></a>
|
29
|
+
</li>
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
{% if site.instagram_username %}
|
33
|
+
<li>
|
34
|
+
<a href="https://www.instagram.com/{{ site.instagram_username }}" target="_blank"><i class="icon fa fa-instagram"></i></a>
|
35
|
+
</li>
|
36
|
+
{% endif %}
|
37
|
+
|
38
|
+
{% if site.email %}
|
39
|
+
<li>
|
40
|
+
<a href="mailto:{{ site.email }}" target="_blank"><i class="icon fa fa-envelope"></i></a>
|
41
|
+
</li>
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
{% if site.keybase_username %}
|
45
|
+
<li>
|
46
|
+
<a href="https://www.keybase.io/{{ site.keybase_username }}" target="_blank"><span class="icon">{% include icon-keybase.svg %}</span></a>
|
47
|
+
</li>
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% if site.gpgkey_path %}
|
51
|
+
<li>
|
52
|
+
<a href="{{ site.gpgkey_path }}" download><i class="icon fa fa-key"></i></a>
|
53
|
+
</li>
|
54
|
+
{% endif %}
|
55
|
+
<li>
|
56
|
+
<a href="{{ "/feed.xml" | relative_url }}"><i class="icon fa fa-rss"></i></a>
|
57
|
+
</li>
|
58
|
+
</ul>
|
@@ -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,11 @@
|
|
1
|
+
<footer class="site-footer">
|
2
|
+
<div class="wrapper">
|
3
|
+
{% if page.layout == 'contact' %}
|
4
|
+
<span class="made-by">made with <img src="https://s.w.org/images/core/emoji/2.3/svg/2764.svg" alt="❤" class="heart"/> by <a href="https://github.com/brettinternet" target="_blank">brettinternet</a>
|
5
|
+
</span>
|
6
|
+
{% else %}
|
7
|
+
{% include contact-icons.html %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
</div>
|
11
|
+
</footer>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
|
10
|
+
</script>
|
11
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<title>{% if page.title %}{{ page.title | escape }} | {{ site.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
7
|
+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
12
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
13
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
14
|
+
|
15
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
16
|
+
{% include google-analytics.html %}
|
17
|
+
{% endif %}
|
18
|
+
</head>
|
@@ -0,0 +1,40 @@
|
|
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
|
+
|
7
|
+
<a class="site-title"href="{{ "/blog/" | relative_url }}">
|
8
|
+
{% if site.files.logo_path %}
|
9
|
+
<img class="site-logo" src="{{ site.files.logo_path }}" alt="site logo" />
|
10
|
+
{% else %}
|
11
|
+
{{ site.title | escape }}
|
12
|
+
{% endif %}
|
13
|
+
</a>
|
14
|
+
|
15
|
+
{% if page_paths %}
|
16
|
+
<nav class="site-nav">
|
17
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
18
|
+
<label for="nav-trigger">
|
19
|
+
<span class="menu-icon">
|
20
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
21
|
+
<path fill="#424242" 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.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
22
|
+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
23
|
+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
24
|
+
</svg>
|
25
|
+
</span>
|
26
|
+
</label>
|
27
|
+
|
28
|
+
<div class="trigger">
|
29
|
+
<a class="page-link" href="{{ "/" | relative_url }}">about</a>
|
30
|
+
{% for path in page_paths %}
|
31
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
32
|
+
{% if my_page.title %}
|
33
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
34
|
+
{% endif %}
|
35
|
+
{% endfor %}
|
36
|
+
</div>
|
37
|
+
</nav>
|
38
|
+
{% endif %}
|
39
|
+
</div>
|
40
|
+
</header>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" height="18px" viewBox="0 0 71 76.3" style="transform: translateY(-2px);enable-background:new 0 0 71 76.3;" xml:space="preserve">
|
2
|
+
<style type="text/css">.st0{fill:#FFFFFF;}</style>
|
3
|
+
<g transform="translate(-241.11756,-377.8123)">
|
4
|
+
<path class="keybase-icon" class="st0" d="M247.8,451.8c-0.6-1.3-1.4-3.1-1.8-4l-0.6-1.7l-2,2.2l-2,2.2 l-0.2-4.2c-0.3-6,0.2-12.2,1.2-16.6c2.3-9.8,9.5-18.7,18.8-23.4l2.1-1l-0.5-1.5c-0.3-0.8-0.6-2.5-0.7-3.6l-0.2-2.1l-2.1-0.2 c-3.2-0.3-4.9-1.2-6-3.5c-0.6-1.2-0.6-1.4-0.4-4.6c0.2-4.2,0.5-5.1,1.8-6.5c1.6-1.8,2.7-2.1,6.7-1.9c2.9,0.2,3.5,0.3,4.8,0.9 c0.8,0.4,1.5,0.8,1.6,0.8c0.1,0,1-1.1,2.1-2.6l1.9-2.7l1.2,0.7c0.7,0.4,1.5,0.9,1.9,1.1l0.7,0.4l-0.6,1.5c-0.3,0.8-0.7,2.2-0.8,2.9 l-0.2,1.4l1.7,0.2c6.1,0.6,10.7,4.3,12.4,9.9c0.5,1.8,0.5,5.3,0,7c-0.5,1.6-0.5,1.7-0.1,1.7c0.7,0,5.4,2.3,7.3,3.5 c3.7,2.4,8,6.6,10.4,10.2c4.5,6.7,6.4,14,5.6,22c-0.4,4.8-1.3,8.6-2.9,12.3l-0.6,1.4l-2.5,0l-2.5,0l1.2-2.4 c1.3-2.6,2.3-6.2,2.8-9.4c0.3-2.2,0.4-8.2,0.1-9.3l-0.2-0.7l-1.3,1.4c-3.2,3.5-7.9,4.5-14.2,2.8c-5.4-1.4-7.6-1.7-12.7-1.7 c-3.9,0-5.2,0.1-7.3,0.6c-5.8,1.3-9.9,3.2-15.6,7.3c-2.1,1.5-3.8,2.7-3.9,2.7c-0.1,0,0.2-1,0.6-2.3c0.4-1.3,1.1-3.4,1.5-4.8 l0.8-2.5l-0.9,0.9c-0.5,0.5-1.9,1.9-3.1,3.2l-2.1,2.3l0.5,1.9c0.6,2.5,2,5.6,3.5,7.9c0.6,1,1.1,1.8,1.1,1.9s-1.2,0.1-2.6,0.1h-2.6 L247.8,451.8L247.8,451.8z M256.6,427.6c4.8-5.1,8.7-9.2,8.8-9.2c0.1,0.1-0.4,1.6-0.9,3.3c-3.3,10.4-4,12.4-3.9,12.5 c0,0,1.2-0.4,2.5-0.9c8.5-3.7,18.4-4.2,28.9-1.4c4.7,1.2,6.5,1.2,8.8,0c1.3-0.7,1.8-1.1,2.4-2.1c1.1-1.7,1.2-4.1,0.5-6.3 c-1.7-4.8-8.3-11-14.5-13.7c-3.2-1.4-3.4-1.4-4.1-0.7l-0.6,0.6l2.6,3.2c1.4,1.7,2.9,3.6,3.1,4.1c0.6,1.2,0.7,3.1,0.1,4.3 c-0.8,1.7-3.2,2.9-5.1,2.5c-0.8-0.2-1.1-0.1-1.9,0.5c-2.2,1.6-4.6,1.2-6.6-1.2c-1.6-1.8-2-2.7-2.1-4.5c0-0.9-0.3-2-0.5-2.4 c-0.3-0.6-0.4-1.3-0.4-2.2l0.1-1.4l-1.3-0.3c-1.8-0.5-3.9-1.5-5.1-2.4c-0.6-0.4-1.1-0.8-1.3-0.8s-1.5,0.6-2.9,1.3 c-9.7,5-16,14.3-17,24.8c-0.1,1-0.2,2.3-0.3,2.8l-0.1,0.9l1.1-1.1C247.4,437.3,251.8,432.7,256.6,427.6L256.6,427.6z M282.5,420.2 c0.9-0.7,1.7-1.3,1.9-1.3c0.1,0,0.4,0.3,0.7,0.7c0.5,0.8,1.4,0.8,1.8,0.1c0.3-0.5,0.3-0.6-5.6-7.8c-3.5-4.3-4.2-5-4.7-5 c-1.2,0.1-0.9,1,1,3.3l1.8,2.2l-1,0.8c-1.1,1-1.2,1.2-0.5,1.8c0.5,0.5,0.6,0.4,1.6-0.3l1.1-0.7l0.7,0.6c0.4,0.3,0.6,0.8,0.6,0.9 c0,0.2-0.8,0.9-1.7,1.7c-0.9,0.7-1.6,1.5-1.6,1.7c0,0.3,0.5,1.1,1.4,2.2C280.3,421.7,280.8,421.5,282.5,420.2L282.5,420.2z M272.2,406c0.6-1.8,2.6-3.2,4.6-3.2c1.1,0,2.7,0.9,3.8,2.1l1,1.2l0.9-1.1c2.5-2.8,2.8-6.7,0.8-10.1c-1.5-2.5-4.3-4-8.2-4.4 c-2.1-0.2-2.6-0.4-3.7-1.5l-0.8-0.8l-0.4,0.6c-0.8,1.2-2.5,5.1-3,6.6c-0.7,2.3-0.4,5.9,0.5,7.7c0.9,1.7,3.3,4,4,3.7 C271.8,406.9,272,406.5,272.2,406L272.2,406z M263.3,392.4c0.2-0.5,0.7-1.8,1.2-2.8c0.5-1,0.9-2,0.9-2.3c0-0.9-1-1.3-3.7-1.5 c-2.4-0.2-2.6-0.1-3.1,0.4c-0.4,0.4-0.6,0.9-0.6,1.6c0,0.6-0.1,1.7-0.2,2.6c-0.2,2.1,0.1,2.5,2.2,2.8 C263.1,393.4,263,393.4,263.3,392.4z M260.2,390c0-1.7,0.2-1.9,1.6-1.9h1.3v1.4v1.4h-1.4h-1.4V390z M266.5,448.3 c-0.6-0.6-0.8-1-0.8-2c0-1.9,1.1-3,2.9-3c1.7,0,2.9,1.2,2.9,2.9c0,1.8-1.1,2.8-3,2.9C267.5,449.1,267.1,448.9,266.5,448.3 L266.5,448.3z M285.8,448.6c-2.3-1.8-1.1-5.3,1.8-5.3c1.8,0,2.8,1.1,2.9,3c0,1.1-0.1,1.4-0.8,2s-1,0.8-2,0.8 C286.8,449.1,286.2,448.9,285.8,448.6L285.8,448.6z"/>
|
5
|
+
</g>
|
6
|
+
</svg>
|
data/_layouts/about.html
ADDED
@@ -0,0 +1,24 @@
|
|
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="landing-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
<div class="about">
|
13
|
+
|
14
|
+
{{ content }}
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</main>
|
19
|
+
|
20
|
+
{% include footer.html %}
|
21
|
+
|
22
|
+
</body>
|
23
|
+
|
24
|
+
</html>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="blog">
|
6
|
+
|
7
|
+
{{ content }}
|
8
|
+
|
9
|
+
<ul class="post-list">
|
10
|
+
{% for post in site.posts %}
|
11
|
+
<li>
|
12
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
13
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
14
|
+
|
15
|
+
<h2>
|
16
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
17
|
+
</h2>
|
18
|
+
</li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
21
|
+
|
22
|
+
|
23
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
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="landing-content" id="contact-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
<div class="contact">
|
13
|
+
{% include contact-icons.html %}
|
14
|
+
|
15
|
+
{{ content }}
|
16
|
+
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</main>
|
20
|
+
|
21
|
+
{% include footer.html %}
|
22
|
+
|
23
|
+
|
24
|
+
</body>
|
25
|
+
|
26
|
+
</html>
|
@@ -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/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
<time 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 class="post-author" itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
|
15
|
+
{% endif %}</p>
|
16
|
+
</header>
|
17
|
+
|
18
|
+
<div class="post-content" itemprop="articleBody">
|
19
|
+
{{ content }}
|
20
|
+
</div>
|
21
|
+
|
22
|
+
{% if site.disqus.shortname %}
|
23
|
+
{% include disqus_comments.html %}
|
24
|
+
{% endif %}
|
25
|
+
</article>
|
@@ -0,0 +1,223 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
|
5
|
+
// html {
|
6
|
+
// box-sizing: border-box;
|
7
|
+
// }
|
8
|
+
// *, *:before, *:after {
|
9
|
+
// box-sizing: inherit;
|
10
|
+
// }
|
11
|
+
|
12
|
+
body, h1, h2, h3, h4, h5, h6,
|
13
|
+
p, blockquote, pre, hr,
|
14
|
+
dl, dd, ol, ul, figure {
|
15
|
+
margin: 0;
|
16
|
+
padding: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Basic styling
|
23
|
+
*/
|
24
|
+
body {
|
25
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
26
|
+
color: $text-color;
|
27
|
+
background-color: $background-color;
|
28
|
+
-webkit-text-size-adjust: 100%;
|
29
|
+
-webkit-font-feature-settings: "kern" 1;
|
30
|
+
-moz-font-feature-settings: "kern" 1;
|
31
|
+
-o-font-feature-settings: "kern" 1;
|
32
|
+
font-feature-settings: "kern" 1;
|
33
|
+
font-kerning: normal;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
40
|
+
*/
|
41
|
+
h1, h2, h3, h4, h5, h6,
|
42
|
+
p, blockquote, pre,
|
43
|
+
ul, ol, dl, figure,
|
44
|
+
%vertical-rhythm {
|
45
|
+
margin-bottom: $spacing-unit / 2;
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Images
|
52
|
+
*/
|
53
|
+
img {
|
54
|
+
max-width: 100%;
|
55
|
+
vertical-align: middle;
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Figures
|
62
|
+
*/
|
63
|
+
figure > img {
|
64
|
+
display: block;
|
65
|
+
}
|
66
|
+
|
67
|
+
figcaption {
|
68
|
+
font-size: $small-font-size;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Lists
|
75
|
+
*/
|
76
|
+
ul, ol {
|
77
|
+
margin-left: $spacing-unit;
|
78
|
+
}
|
79
|
+
|
80
|
+
li {
|
81
|
+
> ul,
|
82
|
+
> ol {
|
83
|
+
margin-bottom: 0;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Headings
|
91
|
+
*/
|
92
|
+
h1, h2, h3, h4, h5, h6 {
|
93
|
+
font-weight: $base-font-weight;
|
94
|
+
}
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Links
|
100
|
+
*/
|
101
|
+
a {
|
102
|
+
color: $brand-color;
|
103
|
+
text-decoration: none;
|
104
|
+
cursor: pointer;
|
105
|
+
|
106
|
+
&:visited {
|
107
|
+
color: darken($brand-color, 15%);
|
108
|
+
}
|
109
|
+
|
110
|
+
&:hover {
|
111
|
+
color: $text-color;
|
112
|
+
text-decoration: underline;
|
113
|
+
}
|
114
|
+
|
115
|
+
.contact-icons &:hover {
|
116
|
+
text-decoration: none;
|
117
|
+
color: lighten($brand-color, 25%);
|
118
|
+
|
119
|
+
.username {
|
120
|
+
text-decoration: underline;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Blockquotes
|
128
|
+
*/
|
129
|
+
blockquote {
|
130
|
+
color: $grey-color;
|
131
|
+
border-left: 4px solid $grey-color-light;
|
132
|
+
padding-left: $spacing-unit / 2;
|
133
|
+
@include relative-font-size(1.125);
|
134
|
+
letter-spacing: -1px;
|
135
|
+
font-style: italic;
|
136
|
+
|
137
|
+
> :last-child {
|
138
|
+
margin-bottom: 0;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Code formatting
|
146
|
+
*/
|
147
|
+
pre,
|
148
|
+
code {
|
149
|
+
@include relative-font-size(0.9375);
|
150
|
+
background-color: $grey-color-light;
|
151
|
+
}
|
152
|
+
|
153
|
+
code {
|
154
|
+
padding: 1px 5px;
|
155
|
+
}
|
156
|
+
|
157
|
+
pre {
|
158
|
+
padding: 8px 12px;
|
159
|
+
overflow-x: auto;
|
160
|
+
|
161
|
+
> code {
|
162
|
+
border: 0;
|
163
|
+
padding-right: 0;
|
164
|
+
padding-left: 0;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
/**
|
171
|
+
* Wrapper
|
172
|
+
*/
|
173
|
+
.wrapper {
|
174
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
175
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
176
|
+
margin-right: auto;
|
177
|
+
margin-left: auto;
|
178
|
+
padding-right: $spacing-unit;
|
179
|
+
padding-left: $spacing-unit;
|
180
|
+
@extend %clearfix;
|
181
|
+
|
182
|
+
@include media-query($on-laptop) {
|
183
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
184
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
185
|
+
padding-right: $spacing-unit / 2;
|
186
|
+
padding-left: $spacing-unit / 2;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
/**
|
193
|
+
* Clearfix
|
194
|
+
*/
|
195
|
+
%clearfix:after {
|
196
|
+
content: "";
|
197
|
+
display: table;
|
198
|
+
clear: both;
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Icons
|
205
|
+
*/
|
206
|
+
.icon > svg {
|
207
|
+
display: inline-block;
|
208
|
+
vertical-align: middle;
|
209
|
+
|
210
|
+
path {
|
211
|
+
fill: $grey-color;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
.social-media-list {
|
216
|
+
.icon {
|
217
|
+
padding-right: 5px;
|
218
|
+
}
|
219
|
+
|
220
|
+
li + li {
|
221
|
+
padding-top: 5px;
|
222
|
+
}
|
223
|
+
}
|
@@ -0,0 +1,340 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-bottom: 1px solid $grey-color-light;
|
6
|
+
min-height: $header-height;
|
7
|
+
|
8
|
+
// Positioning context for the mobile navigation icon
|
9
|
+
position: relative;
|
10
|
+
}
|
11
|
+
|
12
|
+
.site-title {
|
13
|
+
@include relative-font-size(1.625);
|
14
|
+
font-weight: 300;
|
15
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
16
|
+
letter-spacing: -1px;
|
17
|
+
margin-bottom: 0;
|
18
|
+
float: left;
|
19
|
+
|
20
|
+
&,
|
21
|
+
&:visited {
|
22
|
+
color: $grey-color-dark;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.site-logo {
|
27
|
+
height: 30px;
|
28
|
+
width: auto;
|
29
|
+
}
|
30
|
+
|
31
|
+
.site-nav {
|
32
|
+
float: right;
|
33
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
34
|
+
|
35
|
+
.nav-trigger {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
.menu-icon {
|
40
|
+
display: none;
|
41
|
+
}
|
42
|
+
|
43
|
+
.page-link {
|
44
|
+
color: $text-color;
|
45
|
+
line-height: $base-line-height;
|
46
|
+
font-weight: bold;
|
47
|
+
text-transform: lowercase;
|
48
|
+
|
49
|
+
// Gaps between nav items, but not on the last one
|
50
|
+
&:not(:last-child) {
|
51
|
+
margin-right: 20px;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@include media-query($on-palm) {
|
56
|
+
position: absolute;
|
57
|
+
top: 9px;
|
58
|
+
right: $spacing-unit / 2;
|
59
|
+
background-color: $background-color;
|
60
|
+
border: 1px solid $grey-color-light;
|
61
|
+
text-align: right;
|
62
|
+
|
63
|
+
label[for="nav-trigger"] {
|
64
|
+
display: block;
|
65
|
+
float: right;
|
66
|
+
width: 36px;
|
67
|
+
height: 36px;
|
68
|
+
z-index: 2;
|
69
|
+
cursor: pointer;
|
70
|
+
}
|
71
|
+
|
72
|
+
.menu-icon {
|
73
|
+
display: block;
|
74
|
+
float: right;
|
75
|
+
width: 36px;
|
76
|
+
height: 26px;
|
77
|
+
line-height: 0;
|
78
|
+
padding-top: 10px;
|
79
|
+
text-align: center;
|
80
|
+
|
81
|
+
> svg path {
|
82
|
+
fill: $grey-color-dark;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
input ~ .trigger {
|
87
|
+
clear: both;
|
88
|
+
display: none;
|
89
|
+
}
|
90
|
+
|
91
|
+
input:checked ~ .trigger {
|
92
|
+
display: block;
|
93
|
+
padding-bottom: 5px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.page-link {
|
97
|
+
display: block;
|
98
|
+
padding: 5px 10px;
|
99
|
+
|
100
|
+
&:not(:last-child) {
|
101
|
+
margin-right: 0;
|
102
|
+
}
|
103
|
+
margin-left: 20px;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Site footer
|
112
|
+
*/
|
113
|
+
.site-footer {
|
114
|
+
background: $background-dark;
|
115
|
+
padding: $spacing-unit 0;
|
116
|
+
height: $footer-height;
|
117
|
+
text-align: center;
|
118
|
+
|
119
|
+
.contact-icons .icon { color: #FFF; }
|
120
|
+
}
|
121
|
+
|
122
|
+
.contact-icons {
|
123
|
+
list-style: none;
|
124
|
+
margin: 0;
|
125
|
+
text-align: center;
|
126
|
+
|
127
|
+
li, li + li {
|
128
|
+
margin: 0 7px;
|
129
|
+
padding: 0;
|
130
|
+
text-align: center;
|
131
|
+
display: inline-block;
|
132
|
+
}
|
133
|
+
|
134
|
+
.keybase-icon { fill: #FFF; }
|
135
|
+
|
136
|
+
.icon {
|
137
|
+
padding: 0;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.page-content .icon {
|
142
|
+
color: #111;
|
143
|
+
}
|
144
|
+
|
145
|
+
.page-content .keybase-icon {
|
146
|
+
fill: #111;
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
/**
|
152
|
+
* About/landing content
|
153
|
+
*/
|
154
|
+
.landing-content {
|
155
|
+
padding: $spacing-unit 0;
|
156
|
+
min-height: $content-height;
|
157
|
+
background: $background-dark;
|
158
|
+
color: #AAAAAA;
|
159
|
+
display: -webkit-flex;
|
160
|
+
display: -moz-flex;
|
161
|
+
display: flex;
|
162
|
+
-webkit-flex-direction: column;
|
163
|
+
-moz-flex-direction: column;
|
164
|
+
flex-direction: column;
|
165
|
+
-webkit-justify-content: center;
|
166
|
+
-moz-justify-content: center;
|
167
|
+
justify-content: center;
|
168
|
+
|
169
|
+
a {
|
170
|
+
color: #EEEEEE;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
#contact-content {
|
175
|
+
min-height: $content-height;
|
176
|
+
background: #FFF;
|
177
|
+
|
178
|
+
.contact { transform: translateY(-50px); }
|
179
|
+
.contact-icons .icon { color: #111; }
|
180
|
+
.contact-icons .keybase-icon { fill: #111; }
|
181
|
+
}
|
182
|
+
|
183
|
+
.made-by {
|
184
|
+
font-size: .85em;
|
185
|
+
color: #FFF;
|
186
|
+
vertical-align: middle;
|
187
|
+
-webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
|
188
|
+
-moz-animation: fadein 3s; /* Firefox < 16 */
|
189
|
+
-ms-animation: fadein 3s; /* Internet Explorer */
|
190
|
+
-o-animation: fadein 3s; /* Opera < 12.1 */
|
191
|
+
animation: fadein 3s;
|
192
|
+
|
193
|
+
a { color: #CCC; }
|
194
|
+
|
195
|
+
.heart {
|
196
|
+
color: red;
|
197
|
+
display: inline;
|
198
|
+
height: 1em;
|
199
|
+
width: 1em;
|
200
|
+
vertical-align: -0.1em;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
.about {
|
205
|
+
-webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
|
206
|
+
-moz-animation: fadein 3s; /* Firefox < 16 */
|
207
|
+
-ms-animation: fadein 3s; /* Internet Explorer */
|
208
|
+
-o-animation: fadein 3s; /* Opera < 12.1 */
|
209
|
+
animation: fadein 3s;
|
210
|
+
|
211
|
+
p, ul {
|
212
|
+
font-size: 18px;
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
.contact {
|
217
|
+
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
|
218
|
+
-moz-animation: fadein 2s; /* Firefox < 16 */
|
219
|
+
-ms-animation: fadein 2s; /* Internet Explorer */
|
220
|
+
-o-animation: fadein 2s; /* Opera < 12.1 */
|
221
|
+
animation: fadein 2s;
|
222
|
+
|
223
|
+
p, ul {
|
224
|
+
font-size: 18px;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
|
229
|
+
@keyframes fadein {
|
230
|
+
from { opacity: 0; }
|
231
|
+
to { opacity: 1; }
|
232
|
+
}
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Page content
|
238
|
+
*/
|
239
|
+
.page-content {
|
240
|
+
padding: $spacing-unit 0;
|
241
|
+
min-height: $content-height;
|
242
|
+
}
|
243
|
+
|
244
|
+
.page-heading {
|
245
|
+
@include relative-font-size(1.25);
|
246
|
+
}
|
247
|
+
@for $i from 1 through 10 {
|
248
|
+
.blog li:nth-child(#{$i}) {
|
249
|
+
-webkit-animation: fadein .5s + $i/2; /* Safari, Chrome and Opera > 12.1 */
|
250
|
+
-moz-animation: fadein .5s + $i/2; /* Firefox < 16 */
|
251
|
+
-ms-animation: fadein .5s + $i/2; /* Internet Explorer */
|
252
|
+
-o-animation: fadein .5s + $i/2; /* Opera < 12.1 */
|
253
|
+
animation: fadein .5s + $i/2;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
.post {
|
258
|
+
-webkit-animation: fadein .5s; /* Safari, Chrome and Opera > 12.1 */
|
259
|
+
-moz-animation: fadein .5s; /* Firefox < 16 */
|
260
|
+
-ms-animation: fadein .5s; /* Internet Explorer */
|
261
|
+
-o-animation: fadein .5s; /* Opera < 12.1 */
|
262
|
+
animation: fadein .5s;
|
263
|
+
}
|
264
|
+
|
265
|
+
.post a {
|
266
|
+
font-weight: bold;
|
267
|
+
}
|
268
|
+
|
269
|
+
.post-list {
|
270
|
+
margin-left: 0;
|
271
|
+
list-style: none;
|
272
|
+
|
273
|
+
> li h2 {
|
274
|
+
// margin-bottom: $spacing-unit;
|
275
|
+
line-height: 1em;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
.post-meta {
|
280
|
+
font-size: $small-font-size;
|
281
|
+
color: $grey-color;
|
282
|
+
}
|
283
|
+
|
284
|
+
.post-author {
|
285
|
+
font-style: italic;
|
286
|
+
}
|
287
|
+
|
288
|
+
.post-link {
|
289
|
+
display: block;
|
290
|
+
@include relative-font-size(1.5);
|
291
|
+
}
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Posts
|
298
|
+
*/
|
299
|
+
.post-header {
|
300
|
+
margin-bottom: $spacing-unit;
|
301
|
+
}
|
302
|
+
|
303
|
+
.post-title {
|
304
|
+
// margin-bottom: 5px;
|
305
|
+
@include relative-font-size(2.625);
|
306
|
+
letter-spacing: -1px;
|
307
|
+
line-height: 1;
|
308
|
+
|
309
|
+
@include media-query($on-laptop) {
|
310
|
+
@include relative-font-size(2.25);
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
.post-content {
|
315
|
+
margin-bottom: $spacing-unit;
|
316
|
+
|
317
|
+
h2 {
|
318
|
+
@include relative-font-size(2);
|
319
|
+
|
320
|
+
@include media-query($on-laptop) {
|
321
|
+
@include relative-font-size(1.75);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
|
325
|
+
h3 {
|
326
|
+
@include relative-font-size(1.625);
|
327
|
+
|
328
|
+
@include media-query($on-laptop) {
|
329
|
+
@include relative-font-size(1.375);
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
h4 {
|
334
|
+
@include relative-font-size(1.25);
|
335
|
+
|
336
|
+
@include media-query($on-laptop) {
|
337
|
+
@include relative-font-size(1.125);
|
338
|
+
}
|
339
|
+
}
|
340
|
+
}
|
@@ -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: $grey-color-light;
|
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,80 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
6
|
+
$base-font-size: 16px !default;
|
7
|
+
$base-font-weight: 400 !default;
|
8
|
+
$small-font-size: $base-font-size * 0.65 !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
|
+
$background-dark: #111111 !default;
|
16
|
+
$brand-color: #333 !default;
|
17
|
+
|
18
|
+
$grey-color: #828282 !default;
|
19
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
20
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
21
|
+
|
22
|
+
// Width of the content area
|
23
|
+
$content-width: 800px !default;
|
24
|
+
|
25
|
+
$on-palm: 600px !default;
|
26
|
+
$on-laptop: 800px !default;
|
27
|
+
|
28
|
+
// Heights
|
29
|
+
|
30
|
+
$footer-height: $spacing-unit;
|
31
|
+
$header-height: $spacing-unit * 1.865;
|
32
|
+
$content-height: calc(100vh - #{$footer-height} - #{$header-height} - 121px);
|
33
|
+
|
34
|
+
// Use media queries like this:
|
35
|
+
// @include media-query($on-palm) {
|
36
|
+
// .wrapper {
|
37
|
+
// padding-right: $spacing-unit / 2;
|
38
|
+
// padding-left: $spacing-unit / 2;
|
39
|
+
// }
|
40
|
+
// }
|
41
|
+
@mixin media-query($device) {
|
42
|
+
@media screen and (max-width: $device) {
|
43
|
+
@content;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
@mixin relative-font-size($ratio) {
|
48
|
+
font-size: $base-font-size * $ratio;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Firefox < 16 */
|
52
|
+
@-moz-keyframes fadein {
|
53
|
+
from { opacity: 0; }
|
54
|
+
to { opacity: 1; }
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Safari, Chrome and Opera > 12.1 */
|
58
|
+
@-webkit-keyframes fadein {
|
59
|
+
from { opacity: 0; }
|
60
|
+
to { opacity: 1; }
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Internet Explorer */
|
64
|
+
@-ms-keyframes fadein {
|
65
|
+
from { opacity: 0; }
|
66
|
+
to { opacity: 1; }
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Opera < 12.1 */
|
70
|
+
@-o-keyframes fadein {
|
71
|
+
from { opacity: 0; }
|
72
|
+
to { opacity: 1; }
|
73
|
+
}
|
74
|
+
|
75
|
+
// Import partials.
|
76
|
+
@import
|
77
|
+
"minimaless/base",
|
78
|
+
"minimaless/layout",
|
79
|
+
"minimaless/syntax-highlighting"
|
80
|
+
;
|
data/assets/logo.svg
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="570" height="94" viewBox="0 0 570 94">
|
2
|
+
<metadata><?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
|
3
|
+
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 ">
|
4
|
+
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
5
|
+
<rdf:Description rdf:about=""/>
|
6
|
+
</rdf:RDF>
|
7
|
+
</x:xmpmeta>
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
<?xpacket end="w"?></metadata>
|
30
|
+
<defs>
|
31
|
+
<style>
|
32
|
+
.cls-1 {
|
33
|
+
fill: #111;
|
34
|
+
fill-rule: evenodd;
|
35
|
+
}
|
36
|
+
</style>
|
37
|
+
</defs>
|
38
|
+
<path id="brett_gardiner" data-name="brett gardiner" class="cls-1" d="M28.418,17.535a17.458,17.458,0,0,0-9.632,2.441,20.369,20.369,0,0,0-5.848,5.664V0.055H-0.979V71.929H12.742V65.24a21.187,21.187,0,0,0,5.2,5.469q4.024,2.637,10.65,2.637,10.551,0,16.441-8.154t5.89-20.557q0-11.963-5.972-19.531T28.418,17.535h0ZM24.9,61.871q-6.253,0-9.3-4.492a19.714,19.714,0,0,1-3.052-11.328,25.64,25.64,0,0,1,1.477-9.473q2.855-6.885,10.487-6.885,7.532,0,10.338,7.031A25.576,25.576,0,0,1,36.326,46.1q0,7.08-3,11.426A9.652,9.652,0,0,1,24.9,61.871h0ZM83.5,17.437a15.287,15.287,0,0,0-10.156,3.271q-2.393,1.953-5.615,7.275V18.707H54.447V71.929H68.461V46.49q0-6.4,1.611-9.473,2.88-5.468,11.279-5.469,0.634,0,1.66.049t2.344,0.2V17.535q-0.928-.048-1.2-0.073T83.5,17.437h0Zm28.18,11.328a12.2,12.2,0,0,1,8.253,2.869q3.328,2.869,3.707,8.41H99.666a14.458,14.458,0,0,1,3.707-8.238q2.949-3.041,8.307-3.041h0Zm-0.006-11.475q-11.7,0-19.032,7.38T85.31,45.88q0,14.76,8.121,21.308a29.013,29.013,0,0,0,18.747,6.548q12.871,0,20.023-7.764,4.6-4.882,5.159-9.619H123.154a10.808,10.808,0,0,1-10.592,6.1,14.131,14.131,0,0,1-7.672-2q-5.243-3.223-5.566-11.23h38.763a68.063,68.063,0,0,0-.458-10.563,26.158,26.158,0,0,0-4.241-11,21.644,21.644,0,0,0-9.2-7.873,30.3,30.3,0,0,0-12.517-2.494h0Zm33.4,11.816V61.871q0,4.98,2.344,7.373Q151.034,73,160.9,72.662l6.592-.244v-10.4q-0.684.049-1.392,0.073t-1.343.025q-4.248,0-5.078-.806t-0.83-4.077V29.107h8.643V19.2h-8.643V4.351H145.078V19.2h-7.422v9.912h7.422Zm33.3,0V61.871q0,4.98,2.344,7.373Q184.336,73,194.2,72.662l6.592-.244v-10.4q-0.685.049-1.392,0.073t-1.343.025q-4.248,0-5.078-.806t-0.83-4.077V29.107h8.643V19.2h-8.643V4.351h-13.77V19.2h-7.421v9.912h7.421Zm63.983,31.4a10.142,10.142,0,0,1-10.115-6.738,20.691,20.691,0,0,1-1.555-8.252,24.5,24.5,0,0,1,1.459-9.033q2.77-6.885,10.065-6.885a10.394,10.394,0,0,1,8.533,3.955q3.185,3.955,3.185,11.523,0,8.057-3.355,11.743a10.685,10.685,0,0,1-8.217,3.686h0Zm-3.5-43.066q-10.826,0-16.727,8.081t-5.9,19.946q0,12.3,6.128,19.507t16.381,7.2q6.64,0,10.791-3.174a16.968,16.968,0,0,0,4.3-5.127v3.418q0,7.617-1.66,10.84-2.54,5.028-10.058,5.029-5.323,0-7.569-1.9a6.27,6.27,0,0,1-1.9-3.516H217.507A14.774,14.774,0,0,0,224.636,89.7q6.446,4,16.651,4,16.893,0,22.851-8.984,3.467-5.225,3.467-15.527V18.707H254.031v7.666a16.717,16.717,0,0,0-8.193-7.715,18.294,18.294,0,0,0-6.973-1.221h0Zm65.317,33.789q-0.149,6.983-3.991,9.619a14.545,14.545,0,0,1-8.4,2.637A7.628,7.628,0,0,1,286.9,61.9q-2.009-1.586-2.008-5.151a6.355,6.355,0,0,1,3.287-5.908,20.839,20.839,0,0,1,6.4-1.9l3.167-.586a22.822,22.822,0,0,0,3.737-.952,15.363,15.363,0,0,0,2.7-1.343v5.176ZM290.9,40.142q-8.117,1.025-12.3,3.418-7.624,4.395-7.624,14.209,0,7.569,4.739,11.694a17.628,17.628,0,0,0,12.008,4.126A20.187,20.187,0,0,0,297.943,71a28.709,28.709,0,0,0,6.679-5.322q0.147,1.807.391,3.223a15.381,15.381,0,0,0,.879,3.027h15.137V69.879a4.973,4.973,0,0,1-2.051-1.611,7.722,7.722,0,0,1-.83-3.711q-0.1-3.613-.1-6.152V33.99q0-9.619-6.816-13.086a33.934,33.934,0,0,0-15.595-3.467q-13.486,0-19.027,7.031a20.36,20.36,0,0,0-3.923,11.475h13.428A10.064,10.064,0,0,1,288.1,31.06q2.079-2.441,7.078-2.441a14.547,14.547,0,0,1,6.756,1.245q2.3,1.245,2.3,4.517,0,2.686-3,3.955a22,22,0,0,1-5.558,1.221Zm62.212-22.705a15.287,15.287,0,0,0-10.156,3.271q-2.393,1.953-5.615,7.275V18.707H324.062V71.929h14.013V46.49q0-6.4,1.612-9.473,2.88-5.468,11.279-5.469,0.635,0,1.66.049t2.344,0.2V17.535q-0.929-.048-1.2-0.073c-0.18-.016-0.4-0.024-0.66-0.024h0Zm25.639,0q-10.5,0-16.772,7.813t-6.275,21.435q0,11.817,6.372,19.36a19.778,19.778,0,0,0,15.7,7.544,19.059,19.059,0,0,0,9.473-2.148,19.627,19.627,0,0,0,6.787-6.885v7.373h13.526V0.055H393.45V25.445a16.905,16.905,0,0,0-6.1-5.884,17.167,17.167,0,0,0-8.594-2.124h0Zm3.027,44.434q-5.908,0-8.813-4.419t-2.9-11.792a21.381,21.381,0,0,1,2.856-11.45q2.856-4.614,8.96-4.614a10.616,10.616,0,0,1,7.031,2.539q4.932,4.2,4.932,13.965,0,6.983-3.076,11.377a10.275,10.275,0,0,1-8.985,4.395h0ZM426.515-.483H412.4V12.359h14.112V-0.483ZM412.4,71.929h14.112V18.707H412.4V71.929Zm49.062-54.492a17.521,17.521,0,0,0-10.843,3.223,23.61,23.61,0,0,0-5.057,5.908V18.8H432.089V71.929h13.916V43.121a20.764,20.764,0,0,1,1.357-8.105q2.618-6.006,9.646-6.006,5.718,0,7.755,4.1a14.872,14.872,0,0,1,1.115,6.445V71.929h14.258V36.09q0-10.009-5.227-14.331t-13.444-4.321h0Zm47.78,11.328a12.2,12.2,0,0,1,8.254,2.869q3.327,2.869,3.707,8.41H497.231a14.464,14.464,0,0,1,3.707-8.238q2.949-3.041,8.307-3.041h0Zm0-11.475q-11.7,0-19.032,7.38T482.876,45.88q0,14.76,8.121,21.308a29.013,29.013,0,0,0,18.747,6.548q12.873,0,20.024-7.764,4.6-4.882,5.159-9.619H520.719a10.808,10.808,0,0,1-10.591,6.1,14.134,14.134,0,0,1-7.673-2q-5.241-3.223-5.566-11.23h38.764a68.038,68.038,0,0,0-.459-10.563,26.157,26.157,0,0,0-4.24-11,21.656,21.656,0,0,0-9.2-7.873,30.3,30.3,0,0,0-12.517-2.494h0ZM567.6,17.437a15.287,15.287,0,0,0-10.156,3.271q-2.393,1.953-5.615,7.275V18.707H538.544V71.929h14.013V46.49q0-6.4,1.612-9.473,2.88-5.468,11.279-5.469,0.635,0,1.66.049t2.344,0.2V17.535q-0.928-.048-1.2-0.073c-0.18-.016-0.4-0.024-0.66-0.024h0Z"/>
|
39
|
+
</svg>
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: minimaless
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- brettinternet
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-07-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
executables: []
|
44
|
+
extensions: []
|
45
|
+
extra_rdoc_files: []
|
46
|
+
files:
|
47
|
+
- LICENSE.txt
|
48
|
+
- README.md
|
49
|
+
- _includes/contact-icons.html
|
50
|
+
- _includes/disqus_comments.html
|
51
|
+
- _includes/footer.html
|
52
|
+
- _includes/google-analytics.html
|
53
|
+
- _includes/head.html
|
54
|
+
- _includes/header.html
|
55
|
+
- _includes/icon-keybase.svg
|
56
|
+
- _layouts/about.html
|
57
|
+
- _layouts/blog.html
|
58
|
+
- _layouts/contact.html
|
59
|
+
- _layouts/default.html
|
60
|
+
- _layouts/page.html
|
61
|
+
- _layouts/post.html
|
62
|
+
- _sass/minimaless.scss
|
63
|
+
- _sass/minimaless/_base.scss
|
64
|
+
- _sass/minimaless/_layout.scss
|
65
|
+
- _sass/minimaless/_syntax-highlighting.scss
|
66
|
+
- assets/logo.svg
|
67
|
+
- assets/main.scss
|
68
|
+
homepage: https://github.com/brettinternet/minimaless
|
69
|
+
licenses:
|
70
|
+
- MIT
|
71
|
+
metadata:
|
72
|
+
plugin_type: theme
|
73
|
+
post_install_message:
|
74
|
+
rdoc_options: []
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
requirements: []
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 2.5.1
|
90
|
+
signing_key:
|
91
|
+
specification_version: 4
|
92
|
+
summary: A fork from Jekyll's minima.
|
93
|
+
test_files: []
|