jekyll-git_metadata 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -9
  3. data/Rakefile +6 -0
  4. data/jekyll-git_metadata.gemspec +2 -0
  5. data/lib/jekyll/git_metadata/generator.rb +22 -26
  6. data/lib/jekyll/git_metadata/version.rb +1 -1
  7. data/test/helper.rb +28 -0
  8. data/test/test_git_metadata.rb +158 -0
  9. data/test/test_repo/.gitignore +1 -0
  10. data/test/test_repo/_config.yml +12 -0
  11. data/test/test_repo/_includes/footer.html +61 -0
  12. data/test/test_repo/_includes/head.html +12 -0
  13. data/test/test_repo/_includes/header.html +28 -0
  14. data/test/test_repo/_layouts/default.html +19 -0
  15. data/test/test_repo/_layouts/page.html +14 -0
  16. data/test/test_repo/_layouts/post.html +15 -0
  17. data/test/test_repo/_posts/2014-07-14-welcome-to-jekyll.markdown +28 -0
  18. data/test/test_repo/about.md +9 -0
  19. data/test/test_repo/css/main.css +410 -0
  20. data/test/test_repo/dot_git/COMMIT_EDITMSG +1 -0
  21. data/test/test_repo/dot_git/HEAD +1 -0
  22. data/test/test_repo/dot_git/config +7 -0
  23. data/test/test_repo/dot_git/description +1 -0
  24. data/test/test_repo/dot_git/hooks/applypatch-msg.sample +15 -0
  25. data/test/test_repo/dot_git/hooks/commit-msg.sample +24 -0
  26. data/test/test_repo/dot_git/hooks/post-update.sample +8 -0
  27. data/test/test_repo/dot_git/hooks/pre-applypatch.sample +14 -0
  28. data/test/test_repo/dot_git/hooks/pre-commit.sample +49 -0
  29. data/test/test_repo/dot_git/hooks/pre-push.sample +54 -0
  30. data/test/test_repo/dot_git/hooks/pre-rebase.sample +169 -0
  31. data/test/test_repo/dot_git/hooks/prepare-commit-msg.sample +36 -0
  32. data/test/test_repo/dot_git/hooks/update.sample +128 -0
  33. data/test/test_repo/dot_git/index +0 -0
  34. data/test/test_repo/dot_git/info/exclude +6 -0
  35. data/test/test_repo/dot_git/logs/HEAD +5 -0
  36. data/test/test_repo/dot_git/logs/refs/heads/master +5 -0
  37. data/test/test_repo/dot_git/objects/00/26c4c5df4d5148a07b9fbd790620f4e11d0802 +0 -0
  38. data/test/test_repo/dot_git/objects/0e/a9d20342677512902dde3175a73e1dd1059e67 +0 -0
  39. data/test/test_repo/dot_git/objects/25/d62f6feeb7190483f81564f4a76c1ec33d5118 +0 -0
  40. data/test/test_repo/dot_git/objects/32/3a65e20f0feb846438bbda1a0396ea2db7616e +0 -0
  41. data/test/test_repo/dot_git/objects/3e/d64bb62b98b0827096cda5da5a728ec1bf5e3e +1 -0
  42. data/test/test_repo/dot_git/objects/48/d97759a460f607e077eea99a2df7b3cd5a2601 +0 -0
  43. data/test/test_repo/dot_git/objects/4c/2dd956115a971f5376a998bc4b243022c8881e +0 -0
  44. data/test/test_repo/dot_git/objects/4d/1b13c2e1ef1c1a944aae52994682da833a5bef +1 -0
  45. data/test/test_repo/dot_git/objects/4d/7f8a4c1a1bac8d553ba169e18882a7f51235bd +0 -0
  46. data/test/test_repo/dot_git/objects/59/821b143fbc62850d08e3f70c70d02af08df684 +0 -0
  47. data/test/test_repo/dot_git/objects/60/9711c27d50b5ab6ecc7d8fd485082481f9fc4a +0 -0
  48. data/test/test_repo/dot_git/objects/62/61f5911f204a827c313081c33e2522f0dd457c +0 -0
  49. data/test/test_repo/dot_git/objects/78/845656f899d0bfd86d2806b85b0c54adddd3c8 +0 -0
  50. data/test/test_repo/dot_git/objects/7f/9eb0e6044998d71653c06fdc6e359dfbfc4211 +0 -0
  51. data/test/test_repo/dot_git/objects/83/65a44c640d5c7cafc8788607a274dfd91b89bb +3 -0
  52. data/test/test_repo/dot_git/objects/83/8ad7a02ebe551a90bea885c94191667f29009c +1 -0
  53. data/test/test_repo/dot_git/objects/83/8daa5e0163161d6e47bd1b0d783ca7307066c6 +0 -0
  54. data/test/test_repo/dot_git/objects/88/090a3ea8ce80e49ea42d249836aaa25f257454 +0 -0
  55. data/test/test_repo/dot_git/objects/8d/1f788990d1f80ebcbe7b78c3e5c393b7a41943 +0 -0
  56. data/test/test_repo/dot_git/objects/99/117f666995e8836652d9590daa2fdcb4de8b2a +0 -0
  57. data/test/test_repo/dot_git/objects/9e/00340e45d33e52bb16100f1b613a36f82f9c57 +0 -0
  58. data/test/test_repo/dot_git/objects/a9/f5097c614e0d4be7f900c04d782d3b1d675ee2 +0 -0
  59. data/test/test_repo/dot_git/objects/ae/45638b71046b28d46a764d8a2f7780fec58c01 +1 -0
  60. data/test/test_repo/dot_git/objects/af/415865cd1f1c0a5963a5d45b1335856e23dae8 +0 -0
  61. data/test/test_repo/dot_git/objects/ba/a938862bbe45533863069649b40fdebf59e81c +0 -0
  62. data/test/test_repo/dot_git/objects/c0/8f9add7a1d48045bec46451dfdbb5b5ebf8dc0 +0 -0
  63. data/test/test_repo/dot_git/objects/c8/f101653f2c1de3611232fc4c940246b06779cd +0 -0
  64. data/test/test_repo/dot_git/objects/da/077394cb4d5bf7ffac527dbfc652ec0592b423 +2 -0
  65. data/test/test_repo/dot_git/objects/e1/ec08bcf36967f7be9ec6df51c862cc86305f4f +3 -0
  66. data/test/test_repo/dot_git/objects/e3/c2be348eb0873f7ac3f500ae6daaa93ebd7959 +0 -0
  67. data/test/test_repo/dot_git/objects/e5/e6f26a0481e83434feb2de4ef29843c8a1b8b2 +0 -0
  68. data/test/test_repo/dot_git/objects/ff/74852f93c8e337b7ae3088c31cfe8673def356 +0 -0
  69. data/test/test_repo/dot_git/refs/heads/master +1 -0
  70. data/test/test_repo/feed.xml +30 -0
  71. data/test/test_repo/index.html +20 -0
  72. metadata +161 -3
@@ -0,0 +1,12 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5
+ <meta name="viewport" content="width=device-width">
6
+ <meta name="description" content="{{ site.description }}">
7
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
8
+
9
+ <!-- Custom CSS -->
10
+ <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
11
+
12
+ </head>
@@ -0,0 +1,28 @@
1
+ <header class="site-header">
2
+
3
+ <div class="wrap">
4
+
5
+ <a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
6
+
7
+ <nav class="site-nav">
8
+ <a href="#" class="menu-icon">
9
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
10
+ viewBox="0 0 18 15" enable-background="new 0 0 18 15" xml:space="preserve">
11
+ <path fill="#505050" 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
12
+ h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
13
+ <path fill="#505050" 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
14
+ h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
15
+ <path fill="#505050" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0
16
+ c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
17
+ </svg>
18
+ </a>
19
+ <div class="trigger">
20
+ {% for page in site.pages %}
21
+ {% if page.title %}<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>{% endif %}
22
+ {% endfor %}
23
+ </div>
24
+ </nav>
25
+
26
+ </div>
27
+
28
+ </header>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <div class="page-content">
11
+ <div class="wrap">
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+
16
+ {% include footer.html %}
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1>{{ page.title }}</h1>
8
+ </header>
9
+
10
+ <article class="post-content">
11
+ {{ content }}
12
+ </article>
13
+
14
+ </div>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1>{{ page.title }}</h1>
8
+ <p class="meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
9
+ </header>
10
+
11
+ <article class="post-content">
12
+ {{ content }}
13
+ </article>
14
+
15
+ </div>
@@ -0,0 +1,28 @@
1
+ ---
2
+ layout: post
3
+ title: "Welcome to Jekyll!"
4
+ date: 2014-07-14 02:00:29
5
+ categories: jekyll update
6
+ ---
7
+
8
+ You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
9
+ To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
10
+
11
+ Jekyll also offers powerful support for code snippets:
12
+
13
+ {% highlight ruby %}
14
+ def print_hi(name)
15
+ puts "Hi, #{name}"
16
+ end
17
+ print_hi('Tom')
18
+ #=> prints 'Hi, Tom' to STDOUT.
19
+ {% endhighlight %}
20
+
21
+ Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
22
+
23
+ ---
24
+
25
+ I hope Jekyll::GitMetadata will be a useful plugin!
26
+
27
+ [jekyll-gh]: https://github.com/jekyll/jekyll
28
+ [jekyll]: http://jekyllrb.com
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ title: About
4
+ permalink: /about/
5
+ ---
6
+
7
+ This is a test Jekyll site for Jekyll::GitMetadata. You can view the plugin at [Github](https://github.com/ivantsepp/jekyll-git_metadata).
8
+
9
+ You are welcome to submit pull requests or suggest ideas!
@@ -0,0 +1,410 @@
1
+ /* Base */
2
+ /* ----------------------------------------------------------*/
3
+
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ html, body { height: 100%; }
10
+
11
+ body {
12
+ font-family: Helvetica, Arial, sans-serif;
13
+ font-size: 16px;
14
+ line-height: 1.5;
15
+ font-weight: 300;
16
+ background-color: #fdfdfd;
17
+ }
18
+
19
+ h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }
20
+
21
+ a { color: #2a7ae2; text-decoration: none; }
22
+ a:hover { color: #000; text-decoration: underline; }
23
+ a:visited { color: #205caa; }
24
+
25
+ /* Utility */
26
+
27
+ .wrap:before,
28
+ .wrap:after { content:""; display:table; }
29
+ .wrap:after { clear: both; }
30
+ .wrap {
31
+ max-width: 800px;
32
+ padding: 0 30px;
33
+ margin: 0 auto;
34
+ zoom: 1;
35
+ }
36
+
37
+
38
+ /* Layout Styles */
39
+ /* ----------------------------------------------------------*/
40
+
41
+ /* Site header */
42
+
43
+ .site-header {
44
+ border-top: 5px solid #333;
45
+ border-bottom: 1px solid #e8e8e8;
46
+ min-height: 56px;
47
+ background-color: white;
48
+ }
49
+
50
+ .site-title,
51
+ .site-title:hover,
52
+ .site-title:visited {
53
+ display: block;
54
+ color: #333;
55
+ font-size: 26px;
56
+ letter-spacing: -1px;
57
+ float: left;
58
+ line-height: 56px;
59
+ position: relative;
60
+ z-index: 1;
61
+ }
62
+
63
+ .site-nav {
64
+ float: right;
65
+ line-height: 56px;
66
+ }
67
+
68
+ .site-nav .menu-icon { display: none; }
69
+
70
+ .site-nav .page-link {
71
+ margin-left: 20px;
72
+ color: #727272;
73
+ letter-spacing: -.5px;
74
+ }
75
+
76
+ /* Site footer */
77
+
78
+ .site-footer {
79
+ border-top: 1px solid #e8e8e8;
80
+ padding: 30px 0;
81
+ }
82
+
83
+ .footer-heading {
84
+ font-size: 18px;
85
+ font-weight: 300;
86
+ letter-spacing: -.5px;
87
+ margin-bottom: 15px;
88
+ }
89
+
90
+ .site-footer .column { float: left; margin-bottom: 15px; }
91
+
92
+ .footer-col-1 {
93
+ width: 270px; /*fallback*/
94
+ width: -webkit-calc(35% - 10px);
95
+ width: -moz-calc(35% - 10px);
96
+ width: -o-calc(35% - 10px);
97
+ width: calc(35% - 10px);
98
+ margin-right: 10px
99
+ }
100
+ .footer-col-2 {
101
+ width: 175px; /*fallback*/
102
+ width: -webkit-calc(23.125% - 10px);
103
+ width: -moz-calc(23.125% - 10px);
104
+ width: -o-calc(23.125% - 10px);
105
+ width: calc(23.125% - 10px);
106
+ margin-right: 10px
107
+ }
108
+ .footer-col-3 {
109
+ width: 335px; /*fallback*/
110
+ width: -webkit-calc(41.875%);
111
+ width: -moz-calc(41.875%);
112
+ width: -o-calc(41.875%);
113
+ width: calc(41.875%);
114
+ }
115
+
116
+ .site-footer ul { list-style: none; }
117
+
118
+ .site-footer li,
119
+ .site-footer p {
120
+ font-size: 15px;
121
+ letter-spacing: -.3px;
122
+ color: #828282;
123
+ }
124
+
125
+ .github-icon-svg,
126
+ .twitter-icon-svg {
127
+ display: inline-block;
128
+ width: 16px;
129
+ height: 16px;
130
+ position: relative;
131
+ top: 3px;
132
+ }
133
+
134
+
135
+ /* Page Content styles */
136
+ /* ----------------------------------------------------------*/
137
+
138
+ .page-content {
139
+ padding: 30px 0;
140
+ background-color: #fff;
141
+ }
142
+
143
+
144
+ /* Home styles */
145
+ /* ----------------------------------------------------------*/
146
+
147
+ .home h1 { margin-bottom: 25px; }
148
+
149
+ .posts { list-style-type: none; }
150
+
151
+ .posts li { margin-bottom: 30px; }
152
+
153
+ .posts .post-link {
154
+ font-size: 24px;
155
+ letter-spacing: -1px;
156
+ line-height: 1;
157
+ }
158
+
159
+ .posts .post-date {
160
+ display: block;
161
+ font-size: 15px;
162
+ color: #818181;
163
+ }
164
+
165
+
166
+ /* Post styles */
167
+ /* ----------------------------------------------------------*/
168
+
169
+ .post-header { margin: 10px 0 30px; }
170
+
171
+ .post-header h1 {
172
+ font-size: 42px;
173
+ letter-spacing: -1.75px;
174
+ line-height: 1;
175
+ font-weight: 300;
176
+ }
177
+
178
+ .post-header .meta {
179
+ font-size: 15px;
180
+ color: #818181;
181
+ margin-top: 5px;
182
+ }
183
+
184
+ .post-content { margin: 0 0 30px; }
185
+
186
+ .post-content > * { margin: 20px 0; }
187
+
188
+
189
+ .post-content h1,
190
+ .post-content h2,
191
+ .post-content h3,
192
+ .post-content h4,
193
+ .post-content h5,
194
+ .post-content h6 {
195
+ line-height: 1;
196
+ font-weight: 300;
197
+ margin: 40px 0 20px;
198
+ }
199
+
200
+ .post-content h2 {
201
+ font-size: 32px;
202
+ letter-spacing: -1.25px;
203
+ }
204
+
205
+ .post-content h3 {
206
+ font-size: 26px;
207
+ letter-spacing: -1px;
208
+ }
209
+
210
+ .post-content h4 {
211
+ font-size: 20px;
212
+ letter-spacing: -1px;
213
+ }
214
+
215
+ .post-content blockquote {
216
+ border-left: 4px solid #e8e8e8;
217
+ padding-left: 20px;
218
+ font-size: 18px;
219
+ opacity: .6;
220
+ letter-spacing: -1px;
221
+ font-style: italic;
222
+ margin: 30px 0;
223
+ }
224
+
225
+ .post-content ul,
226
+ .post-content ol { padding-left: 20px; }
227
+
228
+ .post pre,
229
+ .post code {
230
+ border: 1px solid #d5d5e9;
231
+ background-color: #eef;
232
+ padding: 8px 12px;
233
+ -webkit-border-radius: 3px;
234
+ -moz-border-radius: 3px;
235
+ border-radius: 3px;
236
+ font-size: 15px;
237
+ overflow:scroll;
238
+ }
239
+
240
+ .post code { padding: 1px 5px; }
241
+
242
+ .post ul,
243
+ .post ol { margin-left: 1.35em; }
244
+
245
+ .post pre code {
246
+ border: 0;
247
+ padding-right: 0;
248
+ padding-left: 0;
249
+ }
250
+
251
+ /* terminal */
252
+ .post pre.terminal {
253
+ border: 1px solid #000;
254
+ background-color: #333;
255
+ color: #FFF;
256
+ -webkit-border-radius: 3px;
257
+ -moz-border-radius: 3px;
258
+ border-radius: 3px;
259
+ }
260
+
261
+ .post pre.terminal code { background-color: #333; }
262
+
263
+ /* Syntax highlighting styles */
264
+ /* ----------------------------------------------------------*/
265
+
266
+ .highlight { background: #ffffff; }
267
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
268
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
269
+ .highlight .k { font-weight: bold } /* Keyword */
270
+ .highlight .o { font-weight: bold } /* Operator */
271
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
272
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
273
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
274
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
275
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
276
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
277
+ .highlight .ge { font-style: italic } /* Generic.Emph */
278
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
279
+ .highlight .gh { color: #999999 } /* Generic.Heading */
280
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
281
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
282
+ .highlight .go { color: #888888 } /* Generic.Output */
283
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
284
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
285
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
286
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
287
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
288
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
289
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
290
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
291
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
292
+ .highlight .m { color: #009999 } /* Literal.Number */
293
+ .highlight .s { color: #d14 } /* Literal.String */
294
+ .highlight .na { color: #008080 } /* Name.Attribute */
295
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
296
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
297
+ .highlight .no { color: #008080 } /* Name.Constant */
298
+ .highlight .ni { color: #800080 } /* Name.Entity */
299
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
300
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
301
+ .highlight .nn { color: #555555 } /* Name.Namespace */
302
+ .highlight .nt { color: #000080 } /* Name.Tag */
303
+ .highlight .nv { color: #008080 } /* Name.Variable */
304
+ .highlight .ow { font-weight: bold } /* Operator.Word */
305
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
306
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
307
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
308
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
309
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
310
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
311
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
312
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
313
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
314
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
315
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
316
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
317
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
318
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
319
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
320
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
321
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
322
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
323
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
324
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
325
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
326
+
327
+
328
+ /* media queries */
329
+ /* ----------------------------------------------------------*/
330
+
331
+
332
+ @media screen and (max-width: 750px) {
333
+
334
+ .footer-col-1 { width: 50%; }
335
+
336
+ .footer-col-2 {
337
+ width: 45%; /*fallback*/
338
+ width: -webkit-calc(50% - 10px);
339
+ width: -moz-calc(50% - 10px);
340
+ width: -o-calc(50% - 10px);
341
+ width: calc(50% - 10px);
342
+ margin-right: 0;
343
+ }
344
+
345
+ .site-footer .column.footer-col-3 {
346
+ width: auto;
347
+ float: none;
348
+ clear: both;
349
+ }
350
+
351
+ }
352
+
353
+ @media screen and (max-width: 600px) {
354
+
355
+ .wrap { padding: 0 12px; }
356
+
357
+ .site-nav {
358
+ position: fixed;
359
+ z-index: 10;
360
+ top: 14px; right: 8px;
361
+ background-color: white;
362
+ -webkit-border-radius: 5px;
363
+ -moz-border-radius: 5px;
364
+ border-radius: 5px;
365
+ border: 1px solid #e8e8e8;
366
+ }
367
+
368
+ .site-nav .menu-icon {
369
+ display: block;
370
+ font-size: 24px;
371
+ color: #505050;
372
+ float: right;
373
+ width: 36px;
374
+ text-align: center;
375
+ line-height: 36px;
376
+ }
377
+
378
+ .site-nav .menu-icon svg { width: 18px; height: 16px; }
379
+
380
+ .site-nav .trigger {
381
+ clear: both;
382
+ margin-bottom: 5px;
383
+ display: none;
384
+ }
385
+
386
+ .site-nav:hover .trigger { display: block; }
387
+
388
+ .site-nav .page-link {
389
+ display: block;
390
+ text-align: right;
391
+ line-height: 1.25;
392
+ padding: 5px 10px;
393
+ margin: 0;
394
+ }
395
+
396
+ .post-header h1 { font-size: 36px; }
397
+ .post-content h2 { font-size: 28px; }
398
+ .post-content h3 { font-size: 22px; }
399
+ .post-content h4 { font-size: 18px; }
400
+ .post-content blockquote { padding-left: 10px; }
401
+ .post-content ul,
402
+ .post-content ol { padding-left: 10px; }
403
+
404
+ .site-footer .column {
405
+ float: none;
406
+ clear: both;
407
+ width: auto;
408
+ margin: 0 0 15px; }
409
+
410
+ }