brume 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.md +20 -20
- data/README.md +40 -40
- data/_includes/head.html +32 -32
- data/_includes/navigation.html +9 -9
- data/_layouts/default.html +39 -39
- data/_layouts/home.html +51 -51
- data/_layouts/page.html +9 -9
- data/_layouts/post.html +10 -10
- data/assets/css/main.css +383 -371
- data/assets/css/responsive.gs.12col.css +94 -94
- data/assets/css/syntax.css +68 -68
- data/assets/images/ic_menu_black_24px.svg +3 -3
- data/assets/images/ic_navigate_before_black_24px.svg +3 -3
- data/assets/images/ic_navigate_next_black_24px.svg +3 -3
- data/assets/js/fluidvids.min.js +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bf7ed83a1333063e2a717c1ea0a9992dc985d0c5cd6f880f13364389799c3b6a
|
4
|
+
data.tar.gz: 3940a1c4789f61910e015d2de0afa66aff243e19e6efde711379d1caec388986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec3d92430af1bf8aa4e2dd07d3f7fde1dbf43388e67dbc7cb73359d7e402b5fc4b3db0614e299768cf5808ba8946fb328652c31e8638e432ebd9f956f44a50c2
|
7
|
+
data.tar.gz: ef2446fddd03b002baef4b932d868cf9639f65672cdcf089227f09065c1b0b3a77f9fb6e00b5acd4c16a6561d071d7ac664197ebfb33e83c1b38dae917463efc
|
data/LICENSE.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2013 Aigars
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
7
|
-
the Software without restriction, including without limitation the rights to
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
-
subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Aigars
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,40 +1,40 @@
|
|
1
|
-
# brume
|
2
|
-
|
3
|
-
I am not a designer so I cannot impress you with breathtaking Jekyll themes, but brume is something that just came to my mind and I had to build it. It is a clean and simple theme, which has an index page that lists all your blog posts divided by the year, a single post page and a layout for any additional pages you might need.
|
4
|
-
|
5
|
-
This is how the "Home" page looks like.
|
6
|
-
|
7
|
-
![Home](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/home.png)
|
8
|
-
|
9
|
-
And this is a single post.
|
10
|
-
|
11
|
-
![Post](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/post_1.png)
|
12
|
-
|
13
|
-
![Post. More content examples.](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/post_2.png)
|
14
|
-
|
15
|
-
## Usage
|
16
|
-
|
17
|
-
Brume can be installed just like any other Jekyll theme as described [here](https://jekyllrb.com/docs/themes/#installing-a-theme),
|
18
|
-
but there are a couple of additional steps you have to take.
|
19
|
-
|
20
|
-
1. All the links are defined in a file *_data/links.yml*, therefore you'll have to create a *_data*
|
21
|
-
directory and put this file there in order for navigation to be displayed.
|
22
|
-
2. Brume uses `home` layout for the home page (like the default Jekyll theme). All you need to do
|
23
|
-
is create an *index.html* or *index.md* file with `layout: home`. If you want the home page to be
|
24
|
-
listed in the navigation you have to add `title` to it's front matter that matches
|
25
|
-
the title you used for the home page link in the *links.yml* file. Titles are used to indicate
|
26
|
-
the current page.
|
27
|
-
|
28
|
-
## Theme customization
|
29
|
-
|
30
|
-
This theme has 4 predefined colors that can be used for links:
|
31
|
-
|
32
|
-
- azul
|
33
|
-
- ruby
|
34
|
-
- amber
|
35
|
-
- avocado
|
36
|
-
|
37
|
-
By default it uses *avocado*, but if you want to select another one just change the `color_scheme` setting in
|
38
|
-
*_config.yml* file.
|
39
|
-
|
40
|
-
Express your thoughts about brume on Twitter [@aigarsdz](http://twitter.com/aigarsdz), and help me make it better!
|
1
|
+
# brume
|
2
|
+
|
3
|
+
I am not a designer so I cannot impress you with breathtaking Jekyll themes, but brume is something that just came to my mind and I had to build it. It is a clean and simple theme, which has an index page that lists all your blog posts divided by the year, a single post page and a layout for any additional pages you might need.
|
4
|
+
|
5
|
+
This is how the "Home" page looks like.
|
6
|
+
|
7
|
+
![Home](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/home.png)
|
8
|
+
|
9
|
+
And this is a single post.
|
10
|
+
|
11
|
+
![Post](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/post_1.png)
|
12
|
+
|
13
|
+
![Post. More content examples.](https://raw.githubusercontent.com/aigarsdz/brume/master/screenshots/post_2.png)
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
Brume can be installed just like any other Jekyll theme as described [here](https://jekyllrb.com/docs/themes/#installing-a-theme),
|
18
|
+
but there are a couple of additional steps you have to take.
|
19
|
+
|
20
|
+
1. All the links are defined in a file *_data/links.yml*, therefore you'll have to create a *_data*
|
21
|
+
directory and put this file there in order for navigation to be displayed.
|
22
|
+
2. Brume uses `home` layout for the home page (like the default Jekyll theme). All you need to do
|
23
|
+
is create an *index.html* or *index.md* file with `layout: home`. If you want the home page to be
|
24
|
+
listed in the navigation you have to add `title` to it's front matter that matches
|
25
|
+
the title you used for the home page link in the *links.yml* file. Titles are used to indicate
|
26
|
+
the current page.
|
27
|
+
|
28
|
+
## Theme customization
|
29
|
+
|
30
|
+
This theme has 4 predefined colors that can be used for links:
|
31
|
+
|
32
|
+
- azul
|
33
|
+
- ruby
|
34
|
+
- amber
|
35
|
+
- avocado
|
36
|
+
|
37
|
+
By default it uses *avocado*, but if you want to select another one just change the `color_scheme` setting in
|
38
|
+
*_config.yml* file.
|
39
|
+
|
40
|
+
Express your thoughts about brume on Twitter [@aigarsdz](http://twitter.com/aigarsdz), and help me make it better!
|
data/_includes/head.html
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
<!-- meta information -->
|
2
|
-
<meta charset="utf-8">
|
3
|
-
<meta name="description" {% if page.title == "Home" %}
|
4
|
-
content="{{ site.description }}" {% else %}
|
5
|
-
content="{{ page.content | strip_html | strip_newlines | truncate: 120 }}" {% endif %}>
|
6
|
-
<meta name="author" content="{{ site.author }}">
|
7
|
-
|
8
|
-
<!-- Enable responsiveness on mobile devices-->
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
10
|
-
|
11
|
-
<!-- title -->
|
12
|
-
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}</title>
|
13
|
-
|
14
|
-
<!-- icons -->
|
15
|
-
<link rel="shortcut icon" href="{{ '/assets/images/favicon.ico' | relative_url }}">
|
16
|
-
|
17
|
-
<!-- stylesheets -->
|
18
|
-
<link rel="stylesheet" href="{{ '/assets/css/responsive.gs.12col.css' | relative_url }}">
|
19
|
-
<link rel="stylesheet" href="{{ '/assets/css/animate.min.css' | relative_url }}">
|
20
|
-
<link rel="stylesheet" href="{{ '/assets/css/syntax.css' | relative_url }}">
|
21
|
-
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
22
|
-
|
23
|
-
<!-- Google fonts -->
|
24
|
-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic&subset=latin-ext">
|
25
|
-
|
26
|
-
{% if site.paginate %}
|
27
|
-
<!-- font Awesome -->
|
28
|
-
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
29
|
-
{% endif %}
|
30
|
-
|
31
|
-
<!-- feed links -->
|
32
|
-
<link rel="alternate" href="{{ 'feed.xml' | absolute_url }}" type="application/rss+xml" title="{{ site.title }}">
|
1
|
+
<!-- meta information -->
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta name="description" {% if page.title == "Home" %}
|
4
|
+
content="{{ site.description }}" {% else %}
|
5
|
+
content="{{ page.content | strip_html | strip_newlines | truncate: 120 }}" {% endif %}>
|
6
|
+
<meta name="author" content="{{ site.author }}">
|
7
|
+
|
8
|
+
<!-- Enable responsiveness on mobile devices-->
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
10
|
+
|
11
|
+
<!-- title -->
|
12
|
+
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}</title>
|
13
|
+
|
14
|
+
<!-- icons -->
|
15
|
+
<link rel="shortcut icon" href="{{ '/assets/images/favicon.ico' | relative_url }}">
|
16
|
+
|
17
|
+
<!-- stylesheets -->
|
18
|
+
<link rel="stylesheet" href="{{ '/assets/css/responsive.gs.12col.css' | relative_url }}">
|
19
|
+
<link rel="stylesheet" href="{{ '/assets/css/animate.min.css' | relative_url }}">
|
20
|
+
<link rel="stylesheet" href="{{ '/assets/css/syntax.css' | relative_url }}">
|
21
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
22
|
+
|
23
|
+
<!-- Google fonts -->
|
24
|
+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic&subset=latin-ext">
|
25
|
+
|
26
|
+
{% if site.paginate %}
|
27
|
+
<!-- font Awesome -->
|
28
|
+
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
<!-- feed links -->
|
32
|
+
<link rel="alternate" href="{{ 'feed.xml' | absolute_url }}" type="application/rss+xml" title="{{ site.title }}">
|
data/_includes/navigation.html
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
<nav id="main-navigation">
|
2
|
-
{% for link in site.data.links %}
|
3
|
-
{% if page.title == link.title %}
|
4
|
-
<a href="{{ link.url }}" title="{{ link.title }}" class="current">{{ link.title }}</a>
|
5
|
-
{% else %}
|
6
|
-
<a href="{{ link.url }}" title="{{ link.title }}">{{ link.title }}</a>
|
7
|
-
{% endif %}
|
8
|
-
{% endfor %}
|
9
|
-
</nav>
|
1
|
+
<nav id="main-navigation">
|
2
|
+
{% for link in site.data.links %}
|
3
|
+
{% if page.title == link.title %}
|
4
|
+
<a href="{{ link.url }}" title="{{ link.title }}" class="current">{{ link.title }}</a>
|
5
|
+
{% else %}
|
6
|
+
<a href="{{ link.url }}" title="{{ link.title }}">{{ link.title }}</a>
|
7
|
+
{% endif %}
|
8
|
+
{% endfor %}
|
9
|
+
</nav>
|
data/_layouts/default.html
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
{% include head.html %}
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<main class="container {% if site.color_scheme %}{{ site.color_scheme }}{% else %}avocado{% endif %}">
|
8
|
-
{% if page.title == "Home" %}
|
9
|
-
<header class="fadeInLeft animated">
|
10
|
-
{% else %}
|
11
|
-
<header>
|
12
|
-
{% endif %}
|
13
|
-
<div>
|
14
|
-
<a href="{{ site.url }}" id="logo" title="{{ site.title }}"
|
15
|
-
style="background-image: url({{ '/assets/images/logo.png' | relative_url }});"></a>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
{% include navigation.html %}
|
19
|
-
</header>
|
20
|
-
|
21
|
-
{{ content }}
|
22
|
-
|
23
|
-
<footer>
|
24
|
-
<p>
|
25
|
-
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/deed.en_US">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
|
26
|
-
</p>
|
27
|
-
</footer>
|
28
|
-
</main>
|
29
|
-
|
30
|
-
<!-- scripts -->
|
31
|
-
<script src="{{ '/assets/js/fluidvids.min.js' | relative_url }}"></script>
|
32
|
-
<script>
|
33
|
-
fluidvids.init({
|
34
|
-
selector: ['iframe', 'object'],
|
35
|
-
players: ['www.youtube.com', 'player.vimeo.com']
|
36
|
-
});
|
37
|
-
</script>
|
38
|
-
</body>
|
39
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
{% include head.html %}
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<main class="container {% if site.color_scheme %}{{ site.color_scheme }}{% else %}avocado{% endif %}">
|
8
|
+
{% if page.title == "Home" %}
|
9
|
+
<header class="fadeInLeft animated">
|
10
|
+
{% else %}
|
11
|
+
<header>
|
12
|
+
{% endif %}
|
13
|
+
<div>
|
14
|
+
<a href="{{ site.url }}" id="logo" title="{{ site.title }}"
|
15
|
+
style="background-image: url({{ '/assets/images/logo.png' | relative_url }});"></a>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
{% include navigation.html %}
|
19
|
+
</header>
|
20
|
+
|
21
|
+
{{ content }}
|
22
|
+
|
23
|
+
<footer>
|
24
|
+
<p>
|
25
|
+
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/deed.en_US">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
|
26
|
+
</p>
|
27
|
+
</footer>
|
28
|
+
</main>
|
29
|
+
|
30
|
+
<!-- scripts -->
|
31
|
+
<script src="{{ '/assets/js/fluidvids.min.js' | relative_url }}"></script>
|
32
|
+
<script>
|
33
|
+
fluidvids.init({
|
34
|
+
selector: ['iframe', 'object'],
|
35
|
+
players: ['www.youtube.com', 'player.vimeo.com']
|
36
|
+
});
|
37
|
+
</script>
|
38
|
+
</body>
|
39
|
+
</html>
|
data/_layouts/home.html
CHANGED
@@ -1,51 +1,51 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Home
|
4
|
-
---
|
5
|
-
|
6
|
-
<section class="archive">
|
7
|
-
{% for post in site.posts %}
|
8
|
-
{% unless post.next %}
|
9
|
-
|
10
|
-
{% unless forloop.first %}
|
11
|
-
</div>
|
12
|
-
</div>
|
13
|
-
{% endunless %}
|
14
|
-
|
15
|
-
<div class="archive-item fadeInDown animated">
|
16
|
-
<h2>{{ post.date | date: '%Y' }}</h2>
|
17
|
-
<div>
|
18
|
-
|
19
|
-
{% else %}
|
20
|
-
|
21
|
-
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
22
|
-
{% capture next_year %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
23
|
-
|
24
|
-
{% if year != next_year %}
|
25
|
-
|
26
|
-
{% unless forloop.first %}
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
{% endunless %}
|
30
|
-
|
31
|
-
<div class="archive-item fadeInDown animated">
|
32
|
-
<h2>{{ post.date | date: '%Y' }}</h2>
|
33
|
-
<div>
|
34
|
-
|
35
|
-
{% endif %}
|
36
|
-
{% endunless %}
|
37
|
-
|
38
|
-
<article>
|
39
|
-
<a href="{{ post.url | absolute_url }}" title="{{ post.title }}">{{ post.title }}</a>
|
40
|
-
<div class="post-date">
|
41
|
-
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time>
|
42
|
-
</div>
|
43
|
-
</article>
|
44
|
-
|
45
|
-
{% if forloop.last %}
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
{% endif %}
|
49
|
-
|
50
|
-
{% endfor %}
|
51
|
-
</section>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Home
|
4
|
+
---
|
5
|
+
|
6
|
+
<section class="archive">
|
7
|
+
{% for post in site.posts %}
|
8
|
+
{% unless post.next %}
|
9
|
+
|
10
|
+
{% unless forloop.first %}
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
{% endunless %}
|
14
|
+
|
15
|
+
<div class="archive-item fadeInDown animated">
|
16
|
+
<h2>{{ post.date | date: '%Y' }}</h2>
|
17
|
+
<div>
|
18
|
+
|
19
|
+
{% else %}
|
20
|
+
|
21
|
+
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
22
|
+
{% capture next_year %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
23
|
+
|
24
|
+
{% if year != next_year %}
|
25
|
+
|
26
|
+
{% unless forloop.first %}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
{% endunless %}
|
30
|
+
|
31
|
+
<div class="archive-item fadeInDown animated">
|
32
|
+
<h2>{{ post.date | date: '%Y' }}</h2>
|
33
|
+
<div>
|
34
|
+
|
35
|
+
{% endif %}
|
36
|
+
{% endunless %}
|
37
|
+
|
38
|
+
<article>
|
39
|
+
<a href="{{ post.url | absolute_url }}" title="{{ post.title }}">{{ post.title }}</a>
|
40
|
+
<div class="post-date">
|
41
|
+
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time>
|
42
|
+
</div>
|
43
|
+
</article>
|
44
|
+
|
45
|
+
{% if forloop.last %}
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% endfor %}
|
51
|
+
</section>
|
data/_layouts/page.html
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<article class="single row gutters">
|
6
|
-
<h2>{{ page.title }}</h2>
|
7
|
-
|
8
|
-
{{ content }}
|
9
|
-
</article>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="single row gutters">
|
6
|
+
<h2>{{ page.title }}</h2>
|
7
|
+
|
8
|
+
{{ content }}
|
9
|
+
</article>
|
data/_layouts/post.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<article class="single row gutters">
|
6
|
-
<time class="published" datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date_to_long_string }}</time>
|
7
|
-
<h2>{{ page.title }}</h2>
|
8
|
-
|
9
|
-
{{ content }}
|
10
|
-
</article>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="single row gutters">
|
6
|
+
<time class="published" datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date_to_long_string }}</time>
|
7
|
+
<h2>{{ page.title }}</h2>
|
8
|
+
|
9
|
+
{{ content }}
|
10
|
+
</article>
|
data/assets/css/main.css
CHANGED
@@ -1,371 +1,383 @@
|
|
1
|
-
/*
|
2
|
-
================================================================================
|
3
|
-
Global styles
|
4
|
-
================================================================================
|
5
|
-
*/
|
6
|
-
* {
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
box-sizing: border-box;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
color: #
|
15
|
-
|
16
|
-
|
17
|
-
font-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
margin-
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
}
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
border:
|
85
|
-
|
86
|
-
}
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
-webkit-box
|
168
|
-
|
169
|
-
|
170
|
-
}
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
header > nav#main-navigation a.current {
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
.
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
font-size:
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
}
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
-
|
369
|
-
|
370
|
-
|
371
|
-
|
1
|
+
/*
|
2
|
+
================================================================================
|
3
|
+
Global styles
|
4
|
+
================================================================================
|
5
|
+
*/
|
6
|
+
* {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
-webkit-box-sizing: border-box;
|
10
|
+
box-sizing: border-box;
|
11
|
+
}
|
12
|
+
|
13
|
+
body {
|
14
|
+
background-color: #f5f5f5;
|
15
|
+
color: #333;
|
16
|
+
border-top: 5px solid #333;
|
17
|
+
font-family: 'Source Sans Pro', sans-serif;
|
18
|
+
font-weight: 400;
|
19
|
+
line-height: 1.5;
|
20
|
+
|
21
|
+
-webkit-font-smoothing: antialiased;
|
22
|
+
}
|
23
|
+
|
24
|
+
h1,
|
25
|
+
h2,
|
26
|
+
h3,
|
27
|
+
h4,
|
28
|
+
h5,
|
29
|
+
h6,
|
30
|
+
p,
|
31
|
+
ul,
|
32
|
+
ol,
|
33
|
+
dl,
|
34
|
+
blockquote,
|
35
|
+
table,
|
36
|
+
img,
|
37
|
+
hr,
|
38
|
+
.fluid-width-video-wrapper,
|
39
|
+
.highlight {
|
40
|
+
margin-bottom: 20px;
|
41
|
+
}
|
42
|
+
|
43
|
+
blockquote {
|
44
|
+
padding: 0 30px;
|
45
|
+
border-left: 2px solid #c6c6c6;
|
46
|
+
}
|
47
|
+
|
48
|
+
ul,
|
49
|
+
ol {
|
50
|
+
margin-left: 40px;
|
51
|
+
}
|
52
|
+
|
53
|
+
img {
|
54
|
+
max-width: 100%;
|
55
|
+
height: auto;
|
56
|
+
border: none;
|
57
|
+
outline: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
a {
|
61
|
+
text-decoration: none;
|
62
|
+
}
|
63
|
+
|
64
|
+
hr {
|
65
|
+
border: 0;
|
66
|
+
height: 25px;
|
67
|
+
background: url(/assets/images/eagle.png) center center no-repeat;
|
68
|
+
}
|
69
|
+
|
70
|
+
code {
|
71
|
+
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
72
|
+
font-size: 0.8rem;
|
73
|
+
}
|
74
|
+
|
75
|
+
p code {
|
76
|
+
padding: 0px 5px;
|
77
|
+
border: 1px solid #ddd;
|
78
|
+
background-color: #f8f8f8;
|
79
|
+
border-radius: 3px;
|
80
|
+
white-space: nowrap;
|
81
|
+
}
|
82
|
+
|
83
|
+
table {
|
84
|
+
border-collapse: collapse;
|
85
|
+
border: 1px solid #333;
|
86
|
+
}
|
87
|
+
|
88
|
+
thead {
|
89
|
+
background-color: #c6c6c6;
|
90
|
+
}
|
91
|
+
|
92
|
+
td,
|
93
|
+
th {
|
94
|
+
border: 1px solid #333;
|
95
|
+
padding: 5px 10px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.container {
|
99
|
+
max-width: 750px;
|
100
|
+
padding: 0 20px;
|
101
|
+
}
|
102
|
+
|
103
|
+
dl {
|
104
|
+
display: -webkit-box;
|
105
|
+
display: -ms-flexbox;
|
106
|
+
display: flex;
|
107
|
+
-ms-flex-wrap: wrap;
|
108
|
+
flex-wrap: wrap;
|
109
|
+
}
|
110
|
+
|
111
|
+
dt {
|
112
|
+
-ms-flex-preferred-size: 30%;
|
113
|
+
flex-basis: 30%;
|
114
|
+
font-weight: bold;
|
115
|
+
}
|
116
|
+
|
117
|
+
dd {
|
118
|
+
-ms-flex-preferred-size: 70%;
|
119
|
+
flex-basis: 70%;
|
120
|
+
}
|
121
|
+
|
122
|
+
/*
|
123
|
+
================================================================================
|
124
|
+
Colour styles
|
125
|
+
================================================================================
|
126
|
+
*/
|
127
|
+
.azul a {
|
128
|
+
color: #0070bb;
|
129
|
+
}
|
130
|
+
|
131
|
+
.azul a:hover {
|
132
|
+
color: #0f9efb;
|
133
|
+
}
|
134
|
+
|
135
|
+
.ruby a {
|
136
|
+
color: #e0115f;
|
137
|
+
}
|
138
|
+
|
139
|
+
.ruby a:hover {
|
140
|
+
color: #930036;
|
141
|
+
}
|
142
|
+
|
143
|
+
.amber a {
|
144
|
+
color: #ff7e00;
|
145
|
+
}
|
146
|
+
|
147
|
+
.amber a:hover {
|
148
|
+
color: #c66200;
|
149
|
+
}
|
150
|
+
|
151
|
+
.avocado a {
|
152
|
+
color: #568203;
|
153
|
+
}
|
154
|
+
|
155
|
+
.avocado a:hover {
|
156
|
+
color: #8fbe36;
|
157
|
+
}
|
158
|
+
|
159
|
+
/*
|
160
|
+
================================================================================
|
161
|
+
Header
|
162
|
+
|
163
|
+
Including logo and navigation.
|
164
|
+
================================================================================
|
165
|
+
*/
|
166
|
+
header {
|
167
|
+
display: -webkit-box;
|
168
|
+
display: -ms-flexbox;
|
169
|
+
display: flex;
|
170
|
+
}
|
171
|
+
|
172
|
+
header > div {
|
173
|
+
-ms-flex-preferred-size: 110px;
|
174
|
+
flex-basis: 110px;
|
175
|
+
-ms-flex-negative: 0;
|
176
|
+
flex-shrink: 0;
|
177
|
+
-webkit-box-flex: 0;
|
178
|
+
-ms-flex-positive: 0;
|
179
|
+
flex-grow: 0;
|
180
|
+
}
|
181
|
+
|
182
|
+
#logo {
|
183
|
+
display: inline-block;
|
184
|
+
height: 110px;
|
185
|
+
width: 110px;
|
186
|
+
background-size: 90px 90px;
|
187
|
+
background-position: left center;
|
188
|
+
background-repeat: no-repeat;
|
189
|
+
}
|
190
|
+
|
191
|
+
header > nav#main-navigation {
|
192
|
+
margin-bottom: 40px;
|
193
|
+
height: 110px;
|
194
|
+
display: -webkit-box;
|
195
|
+
display: -ms-flexbox;
|
196
|
+
display: flex;
|
197
|
+
}
|
198
|
+
|
199
|
+
header > nav#main-navigation a {
|
200
|
+
display: inline-block;
|
201
|
+
color: #333;
|
202
|
+
padding: 66px 20px 25px;
|
203
|
+
margin-right: 10px;
|
204
|
+
margin-top: -5px;
|
205
|
+
text-transform: uppercase;
|
206
|
+
border-radius: 0 0 5px 5px;
|
207
|
+
border-bottom: 1px solid #333;
|
208
|
+
-webkit-transition: all ease-in-out 0.3s;
|
209
|
+
transition: all ease-in-out 0.3s;
|
210
|
+
}
|
211
|
+
|
212
|
+
header > nav#main-navigation a:hover,
|
213
|
+
header > nav#main-navigation a.current {
|
214
|
+
color: #f5f5f5;
|
215
|
+
border-bottom: none;
|
216
|
+
}
|
217
|
+
|
218
|
+
header > nav#main-navigation a:hover {
|
219
|
+
background-color: #333;
|
220
|
+
-webkit-transform: translateY(5px);
|
221
|
+
transform: translateY(5px);
|
222
|
+
}
|
223
|
+
|
224
|
+
header > nav#main-navigation a.current {
|
225
|
+
background-color: #333;
|
226
|
+
}
|
227
|
+
|
228
|
+
nav#main-navigation a.trigger {
|
229
|
+
display: none;
|
230
|
+
}
|
231
|
+
|
232
|
+
/*
|
233
|
+
================================================================================
|
234
|
+
Footer
|
235
|
+
================================================================================
|
236
|
+
*/
|
237
|
+
footer {
|
238
|
+
font-size: 0.8rem;
|
239
|
+
text-align: center;
|
240
|
+
}
|
241
|
+
|
242
|
+
/*
|
243
|
+
================================================================================
|
244
|
+
Home page main content (post list).
|
245
|
+
================================================================================
|
246
|
+
*/
|
247
|
+
.archive {
|
248
|
+
margin-bottom: 100px;
|
249
|
+
}
|
250
|
+
|
251
|
+
.archive-item {
|
252
|
+
border-top: 1px solid #333;
|
253
|
+
padding-top: 10px;
|
254
|
+
margin-bottom: 10px;
|
255
|
+
display: -webkit-box;
|
256
|
+
display: -ms-flexbox;
|
257
|
+
display: flex;
|
258
|
+
}
|
259
|
+
|
260
|
+
.archive-item h2 {
|
261
|
+
margin-bottom: 0;
|
262
|
+
-ms-flex-preferred-size: 110px;
|
263
|
+
flex-basis: 110px;
|
264
|
+
-ms-flex-negative: 0;
|
265
|
+
flex-shrink: 0;
|
266
|
+
}
|
267
|
+
|
268
|
+
.archive-item > div {
|
269
|
+
-webkit-box-flex: 1;
|
270
|
+
-ms-flex-positive: 1;
|
271
|
+
flex-grow: 1;
|
272
|
+
-webkit-box-align: center;
|
273
|
+
-ms-flex-align: center;
|
274
|
+
align-items: center;
|
275
|
+
}
|
276
|
+
|
277
|
+
.archive-item article {
|
278
|
+
display: -webkit-box;
|
279
|
+
display: -ms-flexbox;
|
280
|
+
display: flex;
|
281
|
+
margin-bottom: 10px;
|
282
|
+
}
|
283
|
+
|
284
|
+
.archive-item article a {
|
285
|
+
-webkit-box-flex: 1;
|
286
|
+
-ms-flex-positive: 1;
|
287
|
+
flex-grow: 1;
|
288
|
+
}
|
289
|
+
|
290
|
+
.post-date {
|
291
|
+
text-align: right;
|
292
|
+
-ms-flex-preferred-size: 110px;
|
293
|
+
flex-basis: 110px;
|
294
|
+
}
|
295
|
+
|
296
|
+
/*
|
297
|
+
================================================================================
|
298
|
+
Code highlighting
|
299
|
+
================================================================================
|
300
|
+
*/
|
301
|
+
.highlight {
|
302
|
+
padding: 30px;
|
303
|
+
border-radius: 6px;
|
304
|
+
background-color: #272822;
|
305
|
+
color: #f8f8f2;
|
306
|
+
line-height: 1;
|
307
|
+
}
|
308
|
+
|
309
|
+
.highlight code {
|
310
|
+
font-size: 0.7rem;
|
311
|
+
white-space: pre-wrap;
|
312
|
+
}
|
313
|
+
|
314
|
+
/*
|
315
|
+
================================================================================
|
316
|
+
Single page styles
|
317
|
+
================================================================================
|
318
|
+
*/
|
319
|
+
.single {
|
320
|
+
margin-bottom: 100px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.single {
|
324
|
+
font-size: 1.125rem;
|
325
|
+
line-height: 28px;
|
326
|
+
}
|
327
|
+
|
328
|
+
.single time {
|
329
|
+
color: #999;
|
330
|
+
font-size: 0.9rem;
|
331
|
+
}
|
332
|
+
|
333
|
+
.not-found {
|
334
|
+
margin-top: 150px;
|
335
|
+
text-align: center;
|
336
|
+
font-size: 2rem;
|
337
|
+
}
|
338
|
+
|
339
|
+
.not-found h1 {
|
340
|
+
font-size: 8rem;
|
341
|
+
}
|
342
|
+
|
343
|
+
/*
|
344
|
+
================================================================================
|
345
|
+
Responsive styling
|
346
|
+
================================================================================
|
347
|
+
*/
|
348
|
+
@media screen and (max-width: 580px) {
|
349
|
+
header {
|
350
|
+
-webkit-box-orient: vertical;
|
351
|
+
-webkit-box-direction: normal;
|
352
|
+
-ms-flex-direction: column;
|
353
|
+
flex-direction: column;
|
354
|
+
-webkit-box-align: center;
|
355
|
+
-ms-flex-align: center;
|
356
|
+
align-items: center;
|
357
|
+
}
|
358
|
+
|
359
|
+
#logo {
|
360
|
+
background-position: center;
|
361
|
+
}
|
362
|
+
|
363
|
+
header > nav#main-navigation {
|
364
|
+
height: auto;
|
365
|
+
margin-bottom: 40px;
|
366
|
+
padding-bottom: 20px;
|
367
|
+
max-width: 100%;
|
368
|
+
overflow-x: auto;
|
369
|
+
}
|
370
|
+
|
371
|
+
header > nav#main-navigation a {
|
372
|
+
margin-top: 0;
|
373
|
+
padding: 8px 18px;
|
374
|
+
border-radius: 5px;
|
375
|
+
white-space: nowrap;
|
376
|
+
border-bottom: none;
|
377
|
+
}
|
378
|
+
|
379
|
+
.archive-item h2 {
|
380
|
+
-ms-flex-preferred-size: 80px;
|
381
|
+
flex-basis: 80px;
|
382
|
+
}
|
383
|
+
}
|