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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4d5d63e02a62369a001d793bb85d06ad0f55ae45
4
- data.tar.gz: e7e3a3fb3e95da9f86e7fd9dbb7ee09486039e94
2
+ SHA256:
3
+ metadata.gz: bf7ed83a1333063e2a717c1ea0a9992dc985d0c5cd6f880f13364389799c3b6a
4
+ data.tar.gz: 3940a1c4789f61910e015d2de0afa66aff243e19e6efde711379d1caec388986
5
5
  SHA512:
6
- metadata.gz: 77c8679087748f17901a2cdcd870d5d72936385e801eccef1e2fdfe0ad6da530cfcd8089c1f6273676eb11f5bc4c8d148edd08d1268306df491e3c2058d951cb
7
- data.tar.gz: 4b9d1ffe86cb3f024f7e0f18bc830810b65c30d74ec9a6065554ba7a32f190826293e04b5d1670dc198af17da17c5019f83625a2845e383f92f3453d28181262
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!
@@ -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 }} &middot; {% 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 }} &middot; {% 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,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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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
- body {
13
- background-color: #f5f5f5;
14
- color: #333;
15
- border-top: 5px solid #333;
16
- font-family: 'Source Sans Pro', sans-serif;
17
- font-weight: 400;
18
- line-height: 1.5;
19
-
20
- -webkit-font-smoothing: antialiased;
21
- }
22
-
23
- h1, h2, h3, h4, h5, h6, p, ul, ol, dl,
24
- blockquote,
25
- table,
26
- img,
27
- hr,
28
- .fluid-width-video-wrapper,
29
- .highlight {
30
- margin-bottom: 20px;
31
- }
32
-
33
- blockquote {
34
- padding: 0 30px;
35
- border-left: 2px solid #C6C6C6;
36
- }
37
-
38
-
39
- ul, ol {
40
- margin-left: 40px;
41
- }
42
-
43
- img {
44
- max-width: 100%;
45
- height: auto;
46
- border: none;
47
- outline: none;
48
- }
49
-
50
- a {
51
- text-decoration: none;
52
- }
53
-
54
- hr {
55
- border : 0;
56
- height: 25px;
57
- background : url(/assets/images/eagle.png) center center no-repeat;
58
- }
59
-
60
- code {
61
- font-family: Consolas, "Liberation Mono", Courier, monospace;
62
- font-size: .8rem;
63
- }
64
-
65
- p code {
66
- padding: 0px 5px;
67
- border: 1px solid #ddd;
68
- background-color: #f8f8f8;
69
- border-radius: 3px;
70
- white-space: nowrap;
71
- }
72
-
73
- table {
74
- border-collapse: collapse;
75
- border: 1px solid #333;
76
- }
77
-
78
- thead {
79
- background-color: #C6C6C6;
80
- }
81
-
82
- td,
83
- th {
84
- border: 1px solid #333;
85
- padding: 5px 10px;
86
- }
87
-
88
- .container {
89
- max-width: 750px;
90
- padding: 0 20px;
91
- }
92
-
93
- dl {
94
- display: -webkit-box;
95
- display: -ms-flexbox;
96
- display: flex;
97
- -ms-flex-wrap: wrap;
98
- flex-wrap: wrap;
99
- }
100
-
101
- dt {
102
- -ms-flex-preferred-size: 30%;
103
- flex-basis: 30%;
104
- font-weight: bold;
105
- }
106
-
107
- dd {
108
- -ms-flex-preferred-size: 70%;
109
- flex-basis: 70%;
110
- }
111
-
112
- /*
113
- ================================================================================
114
- Colour styles
115
- ================================================================================
116
- */
117
- .azul a {
118
- color: #0070bb;
119
- }
120
-
121
- .azul a:hover {
122
- color: #0F9EFB;
123
- }
124
-
125
- .ruby a {
126
- color: #e0115f;
127
- }
128
-
129
- .ruby a:hover {
130
- color: #930036;
131
- }
132
-
133
- .amber a {
134
- color: #ff7e00;
135
- }
136
-
137
- .amber a:hover {
138
- color: #C66200;
139
- }
140
-
141
- .avocado a {
142
- color: #568203;
143
- }
144
-
145
- .avocado a:hover {
146
- color: #8FBE36;
147
- }
148
-
149
- /*
150
- ================================================================================
151
- Header
152
-
153
- Including logo and navigation.
154
- ================================================================================
155
- */
156
- header {
157
- display: -webkit-box;
158
- display: -ms-flexbox;
159
- display: flex;
160
- }
161
-
162
- header > div {
163
- -ms-flex-preferred-size: 110px;
164
- flex-basis: 110px;
165
- -ms-flex-negative: 0;
166
- flex-shrink: 0;
167
- -webkit-box-flex: 0;
168
- -ms-flex-positive: 0;
169
- flex-grow: 0;
170
- }
171
-
172
- #logo {
173
- display: inline-block;
174
- height: 110px;
175
- width: 110px;
176
- background-size: 90px 90px;
177
- background-position: left center;
178
- background-repeat: no-repeat;
179
- }
180
-
181
- header > nav#main-navigation {
182
- margin-bottom: 40px;
183
- height: 110px;
184
- display: -webkit-box;
185
- display: -ms-flexbox;
186
- display: flex;
187
- }
188
-
189
- header > nav#main-navigation a {
190
- display: inline-block;
191
- color: #333;
192
- padding: 66px 20px 25px;
193
- margin-right: 10px;
194
- margin-top: -5px;
195
- text-transform: uppercase;
196
- border-radius: 0 0 5px 5px;
197
- border-bottom: 1px solid #333;
198
- -webkit-transition: all ease-in-out .3s;
199
- transition: all ease-in-out .3s;
200
- }
201
-
202
- header > nav#main-navigation a:hover,
203
- header > nav#main-navigation a.current {
204
- color: #f5f5f5;
205
- border-bottom: none;
206
- }
207
-
208
- header > nav#main-navigation a:hover {
209
- background-color: #333;
210
- transform: translateY(5px);
211
- }
212
-
213
- header > nav#main-navigation a.current {
214
- background-color: #333;
215
- }
216
-
217
- nav#main-navigation a.trigger {
218
- display: none;
219
- }
220
-
221
- /*
222
- ================================================================================
223
- Footer
224
- ================================================================================
225
- */
226
- footer {
227
- font-size: .8rem;
228
- text-align: center;
229
- }
230
-
231
- /*
232
- ================================================================================
233
- Home page main content (post list).
234
- ================================================================================
235
- */
236
- .archive {
237
- margin-bottom: 100px;
238
- }
239
-
240
- .archive-item {
241
- border-top: 1px solid #333;
242
- padding-top: 10px;
243
- margin-bottom: 10px;
244
- display: -webkit-box;
245
- display: -ms-flexbox;
246
- display: flex;
247
- }
248
-
249
- .archive-item h2 {
250
- margin-bottom: 0;
251
- -ms-flex-preferred-size: 110px;
252
- flex-basis: 110px;
253
- -ms-flex-negative: 0;
254
- flex-shrink: 0;
255
- }
256
-
257
- .archive-item > div {
258
- -webkit-box-flex: 1;
259
- -ms-flex-positive: 1;
260
- flex-grow: 1;
261
- -webkit-box-align: center;
262
- -ms-flex-align: center;
263
- align-items: center;
264
- }
265
-
266
- .archive-item article {
267
- display: -webkit-box;
268
- display: -ms-flexbox;
269
- display: flex;
270
- margin-bottom: 10px;
271
- }
272
-
273
- .archive-item article a {
274
- -webkit-box-flex: 1;
275
- -ms-flex-positive: 1;
276
- flex-grow: 1;
277
- }
278
-
279
- .post-date {
280
- text-align: right;
281
- -ms-flex-preferred-size: 110px;
282
- flex-basis: 110px;
283
- }
284
-
285
- /*
286
- ================================================================================
287
- Code highlighting
288
- ================================================================================
289
- */
290
- .highlight {
291
- padding: 30px;
292
- border-radius: 6px;
293
- background-color: #272822;
294
- color: #f8f8f2;
295
- line-height: 1;
296
- }
297
-
298
- .highlight code {
299
- font-size: .7rem;
300
- }
301
-
302
- /*
303
- ================================================================================
304
- Single page styles
305
- ================================================================================
306
- */
307
- .single {
308
- margin-bottom: 100px;
309
- }
310
-
311
- .single {
312
- font-size: 1.125rem;
313
- line-height: 28px;
314
- }
315
-
316
- .single time {
317
- color: #999;
318
- font-size: .9rem;
319
- }
320
-
321
- .not-found {
322
- margin-top: 150px;
323
- text-align: center;
324
- font-size: 2rem;
325
- }
326
-
327
- .not-found h1 {
328
- font-size: 8rem;
329
- }
330
-
331
- /*
332
- ================================================================================
333
- Responsive styling
334
- ================================================================================
335
- */
336
- @media screen and (max-width: 580px) {
337
- header {
338
- -webkit-box-orient: vertical;
339
- -webkit-box-direction: normal;
340
- -ms-flex-direction: column;
341
- flex-direction: column;
342
- -webkit-box-align: center;
343
- -ms-flex-align: center;
344
- align-items: center;
345
- }
346
-
347
- #logo {
348
- background-position: center;
349
- }
350
-
351
- header > nav#main-navigation {
352
- height: auto;
353
- margin-bottom: 40px;
354
- padding-bottom: 20px;
355
- max-width: 100%;
356
- overflow-x: auto;
357
- }
358
-
359
- header > nav#main-navigation a {
360
- margin-top: 0;
361
- padding: 8px 18px;
362
- border-radius: 5px;
363
- white-space: nowrap;
364
- border-bottom: none;
365
- }
366
-
367
- .archive-item h2 {
368
- -ms-flex-preferred-size: 80px;
369
- flex-basis: 80px;
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
+ }