jekyll-theme-8bit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 501c98c641e933fca87fe93c26e61c89b31b0b21d087ff92a3c82ccf54c1a3c6
4
+ data.tar.gz: 05ee96788f27aa2e4740b5d4890b737cfd2fd3d026c7cc5c7fc80fec92284c38
5
+ SHA512:
6
+ metadata.gz: 687538eccdb5ceb77aa4051ced0189aac8fcbe3847eb5fa7ec74f05faf47115ce65ad30ec3ceedc51eeaa89ba48d12caccced89b131737c662f8e109f3170bb9
7
+ data.tar.gz: 709f450f607b6b4c062d7892ca7c99a24130361fa5b17d5ecbfe4c81c500bf4f9aa955ceb7a09e80426770e403ac75d50a5cfd4989615ec1380567ed5eecf7a6
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Juliano Fernandes
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.
@@ -0,0 +1,49 @@
1
+ # jekyll-theme-8bit
2
+
3
+ [![Build Status](https://travis-ci.org/julianolf/jekyll-theme-8bit.svg?branch=master)](https://travis-ci.org/julianolf/jekyll-theme-8bit)
4
+
5
+ A Jekyll theme inspired by classic 8bit games.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "jekyll-theme-8bit"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: jekyll-theme-8bit
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install jekyll-theme-8bit
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome. 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.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
44
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-8bit.gemspec` accordingly.
45
+
46
+ ## License
47
+
48
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
@@ -0,0 +1,7 @@
1
+ <div class="nes-container is-rounded is-centered green-border downloads">
2
+ <p><small>Download</small></p>
3
+ <div>
4
+ <a class="nes-btn is-file" href="{{ site.github.zip_url }}">.ZIP</a>
5
+ <a class="nes-btn is-file" href="{{ site.github.tar_url }}">.TAR</a>
6
+ </div>
7
+ </div>
@@ -0,0 +1,13 @@
1
+ <footer>
2
+ <div class="nes-container is-rounded brown-border footer">
3
+ {% if site.github.is_project_page %}
4
+ <p>
5
+ <small>
6
+ Maintained by <a href="{{ site.github.owner_url }}" target="_blank">{{ site.github.owner_name }}</a>
7
+ </small>
8
+ </p>
9
+ {% endif %}
10
+ <p><i class="nes-jp-logo"></i></p>
11
+ <p><small>Theme by <a href="https://github.com/julianolf" target="_blank">julianolf</a></small></p>
12
+ </div>
13
+ </footer>
@@ -0,0 +1,4 @@
1
+ <a class="github-link" href="{{ site.github.repository_url }}" target="_blank">
2
+ <p class="nes-balloon from-right">Fork me<br />on GitHub</p>
3
+ <i class="nes-octocat"></i>
4
+ </a>
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', '{{ site.google_analytics }}');
8
+ </script>
@@ -0,0 +1,15 @@
1
+ <head>
2
+ <meta charset="UTF-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ {% seo %}
6
+ <link rel="stylesheet" href="https://unpkg.com/nes.css/css/nes.min.css" />
7
+ <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
8
+ <!--[if lt IE 9]>
9
+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
10
+ <![endif]-->
11
+ <script src="{{ "/assets/js/scale-fix.js" | relative_url }}"></script>
12
+ {% if jekyll.environment == 'production' and site.google_analytics %}
13
+ {% include google-analytics.html %}
14
+ {% endif %}
15
+ </head>
@@ -0,0 +1,21 @@
1
+ <header>
2
+ <div class="nes-container is-rounded blue-border header">
3
+ {% if site.logo %}
4
+ {% if site.logo contains 'nes-' %}
5
+ <i class="{{ site.logo }}"></i>
6
+ {% else %}
7
+ <img src="{{site.logo | relative_url}}" alt="Logo" />
8
+ {% endif %}
9
+ {% endif %}
10
+ <h1>
11
+ <a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a>
12
+ </h1>
13
+ <p class="description">{{ site.description | default: site.github.project_tagline }}</p>
14
+ {% if site.social %}
15
+ {% include social.html %}
16
+ {% endif %}
17
+ </div>
18
+ {% if site.show_downloads %}
19
+ {% include downloads.html %}
20
+ {% endif %}
21
+ </header>
@@ -0,0 +1,8 @@
1
+ <p>
2
+ {% assign networks = "twitter,facebook,github,youtube,google,medium,twitch,reddit,whatsapp,gmail,linkedin" %}
3
+ {% for entry in site.social %}
4
+ {% if networks contains entry[0] %}
5
+ <a href="{{ entry[1] }}" target="_blank"><i class="nes-icon {{ entry[0] }}"></i></a>
6
+ {% endif %}
7
+ {% endfor %}
8
+ </p>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ {% include head.html %}
4
+ <body>
5
+ <div class="wrapper">
6
+ {% include header.html %}
7
+ {% if site.github.is_project_page %}
8
+ {% include fork-me.html %}
9
+ {% endif %}
10
+ <section>
11
+ {{ content }}
12
+ </section>
13
+ {% include footer.html %}
14
+ </div>
15
+ </body>
16
+ </html>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <small class="post-info">{{ page.date | date: "%B %-d, %Y" }}</small>
6
+ <h1>{{ page.title }}</h1>
7
+ <small class="post-info">by {{ page.author | default: site.author }}</small>
8
+ {{ content }}
9
+ {% if page.tags %}
10
+ <small class="post-info">Tags: <b>{{ page.tags | join: "</b> <b>" }}</b></small>
11
+ {% endif %}
@@ -0,0 +1,8 @@
1
+ @font-face {
2
+ font-family: 'Press Start 2P';
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ src: url('../fonts/Press-Start-2P/regular.woff2') format('woff2'),
6
+ url('../fonts/Press-Start-2P/regular.woff') format('woff'),
7
+ url('../fonts/Press-Start-2P/regular.ttf') format('ttf')
8
+ }
@@ -0,0 +1,396 @@
1
+ @import 'fonts';
2
+ @import 'rouge-github';
3
+
4
+ body {
5
+ background-color: #fff;
6
+ font: 14px/1.5 'Noto Sans', Helvetica, Arial, sans-serif;
7
+ color: #212529;
8
+ -webkit-font-smoothing: subpixel-antialiased;
9
+ }
10
+
11
+ h1, h2, h3, h4, h5, h6 {
12
+ font-family: 'Press Start 2P', Helvetica, Arial, sans-serif;
13
+ font-weight: 400;
14
+ margin: 0 0 20px;
15
+ }
16
+
17
+ h1 {
18
+ font-size: 28px;
19
+ }
20
+
21
+ p, ul, ol, table, pre, dl {
22
+ margin: 0 0 20px;
23
+ }
24
+
25
+ a {
26
+ color: #58c7ff;
27
+ }
28
+
29
+ a:hover, a:focus {
30
+ color: #3fbfff;
31
+ text-decoration: none;
32
+ }
33
+
34
+ a small {
35
+ font-size: 11px;
36
+ margin-top: -0.3em;
37
+ display: block;
38
+ }
39
+
40
+ blockquote {
41
+ border-left: 1px solid #e5e5e5;
42
+ margin: 0;
43
+ padding: 0 0 0 20px;
44
+ font-style: italic;
45
+ }
46
+
47
+ code, pre {
48
+ font-family: 'Courier New', Courier, monospace;
49
+ color: #333;
50
+ }
51
+
52
+ pre {
53
+ padding: 8px 15px;
54
+ background: #f8f8f8;
55
+ overflow-x: auto;
56
+ box-shadow:
57
+ 0 -4px #f8f8f8, 0 -8px #e5e5e5, 4px 0 #f8f8f8, 4px -4px #e5e5e5,
58
+ 8px 0 #e5e5e5, 0 4px #f8f8f8, 0 8px #e5e5e5, -4px 0 #f8f8f8,
59
+ -4px 4px #e5e5e5, -8px 0 #e5e5e5, -4px -4px #e5e5e5, 4px 4px #e5e5e5;
60
+ }
61
+
62
+ table {
63
+ width: 100%;
64
+ border-collapse: collapse;
65
+ }
66
+
67
+ th, td {
68
+ text-align: left;
69
+ padding: 5px 10px;
70
+ border-bottom: 1px solid #e5e5e5;
71
+ }
72
+
73
+ dt {
74
+ color: #444;
75
+ font-weight: 700;
76
+ }
77
+
78
+ th {
79
+ color: #444;
80
+ }
81
+
82
+ img {
83
+ max-width: 100%;
84
+ }
85
+
86
+ strong {
87
+ color: #222;
88
+ font-weight: 700;
89
+ }
90
+
91
+ small {
92
+ font-size: 11px;
93
+ }
94
+
95
+ hr {
96
+ border: 0;
97
+ background: #000;
98
+ height: 4px;
99
+ margin: 20px 0;
100
+ }
101
+
102
+ header {
103
+ width: 270px;
104
+ float: left;
105
+ }
106
+
107
+ section {
108
+ width: 500px;
109
+ min-height: 810px;
110
+ float: right;
111
+ padding: 25px 0 50px;
112
+ background-color: #fff;
113
+ }
114
+
115
+ footer {
116
+ width: 270px;
117
+ float: left;
118
+ bottom: 50px;
119
+ }
120
+
121
+ .nes-container.blue-border::after {
122
+ box-shadow:
123
+ 0 -4px #3fbfff, 0 -8px #1a80b2, 4px 0 #1a80b2, 4px -4px #1a80b2,
124
+ 8px 0 #3fbfff, 0 4px #1a80b2, 0 8px #3fbfff, -4px 0 #3fbfff,
125
+ -4px 4px #1a80b2, -8px 0 #1a80b2, -4px -4px #1a80b2, 4px 4px #3fbfff;
126
+ }
127
+
128
+ .nes-container.green-border::after {
129
+ box-shadow:
130
+ 0 -4px #01b801, 0 -8px #007800, 4px 0 #007800, 4px -4px #007800,
131
+ 8px 0 #01b801, 0 4px #007800, 0 8px #01b801, -4px 0 #01b801,
132
+ -4px 4px #007800, -8px 0 #007800, -4px -4px #007800, 4px 4px #01b801;
133
+ }
134
+
135
+ .nes-container.brown-border::after {
136
+ box-shadow:
137
+ 0 -4px #ffa347, 0 -8px #8b1600, 4px 0 #8b1600, 4px -4px #8b1600,
138
+ 8px 0 #ffa347, 0 4px #8b1600, 0 8px #ffa347, -4px 0 #ffa347,
139
+ -4px 4px #8b1600, -8px 0 #8b1600, -4px -4px #8b1600, 4px 4px #ffa347;
140
+ }
141
+
142
+ .nes-container.header {
143
+ background-color: #58c7ff;
144
+ }
145
+
146
+ .nes-container .nes-kirby {
147
+ display: block;
148
+ margin: 15px auto;
149
+ }
150
+
151
+ .nes-container h1 a {
152
+ color: #fff;
153
+ text-shadow:
154
+ 3px 3px 0 #000, -1px -1px 0 #000,
155
+ 1px -1px 0 #000, -1px 1px 0 #000,
156
+ 1px 1px 0 #000;
157
+ }
158
+
159
+ .description {
160
+ font: 13px/1.5 'Press Start 2P', Helvetica, Arial, sans-serif;
161
+ font-weight: 400;
162
+ }
163
+
164
+ .github-link {
165
+ position: fixed;
166
+ top: 10px;
167
+ right: 10px;
168
+ z-index: 999;
169
+ display: flex;
170
+ height: 100px;
171
+ color: #333;
172
+ text-decoration: none;
173
+ }
174
+ .github-link > p.nes-balloon {
175
+ font-family: 'Press Start 2P', Helvetica, Arial, sans-serif;
176
+ align-self: flex-start;
177
+ padding: 0.2rem 0.5rem;
178
+ font-size: 0.8rem;
179
+ color: #333;
180
+ }
181
+ .github-link > i.nes-octocat {
182
+ align-self: flex-end;
183
+ }
184
+
185
+ .nes-container.downloads {
186
+ font-family: 'Press Start 2P', Helvetica, Arial, sans-serif;
187
+ background-color: #5adb57;
188
+ margin-top: 26px;
189
+ }
190
+
191
+ .nes-btn.is-file {
192
+ color: #fafafa;
193
+ background-color: #01b801;
194
+ box-shadow: inset -4px -4px #007800;
195
+ }
196
+
197
+ .nes-btn.is-file:hover {
198
+ background-color: #5adb57;
199
+ box-shadow: inset -4px -4px #01b801;
200
+ }
201
+
202
+ .nes-list.is-disc li::before,
203
+ .nes-list.is-circle li::before {
204
+ top: 2px;
205
+ }
206
+
207
+ .footer {
208
+ font-family: 'Press Start 2P', Helvetica, Arial, sans-serif;
209
+ font-weight: 400;
210
+ text-align: center;
211
+ color: #8b1600;
212
+ background-color: #ffe4ad;
213
+ }
214
+
215
+ .footer p {
216
+ margin-bottom: 5px;
217
+ }
218
+
219
+ .footer a {
220
+ color: #ffa347;
221
+ }
222
+
223
+ .wrapper {
224
+ width: 860px;
225
+ margin: 0 auto;
226
+ }
227
+
228
+ ul.pagination {
229
+ list-style-type: none;
230
+ margin: 0 0 30px;
231
+ padding: 0;
232
+ overflow: hidden;
233
+ }
234
+
235
+ ul.pagination li {
236
+ display: inline-block;
237
+ float: left;
238
+ }
239
+
240
+ .page_number {
241
+ font-family: 'Press Start 2P', Helvetica, Arial, sans-serif;
242
+ font-weight: 400;
243
+ font-size: smaller;
244
+ padding: 0 8px;
245
+ }
246
+
247
+ .previous,
248
+ .next {
249
+ display: block;
250
+ width: 18px;
251
+ height: 18px;
252
+ }
253
+
254
+ .previous::before,
255
+ .next::before {
256
+ content: "";
257
+ width: 2px;
258
+ height: 2px;
259
+ color: #212529;
260
+ position: absolute;
261
+ }
262
+
263
+ a span.previous::before,
264
+ a span.next::before {
265
+ color: #58c7ff;
266
+ }
267
+ a:hover span.previous::before,
268
+ a:hover span.next::before {
269
+ color: #3fbfff;
270
+ }
271
+
272
+ .previous::before {
273
+ box-shadow:
274
+ 2px 8px,
275
+ 4px 6px,4px 8px,4px 10px,
276
+ 6px 4px,6px 6px,6px 8px,6px 10px,6px 12px,
277
+ 8px 4px,8px 6px,8px 8px,8px 10px,8px 12px,
278
+ 10px 2px,10px 4px,10px 6px,10px 8px,10px 10px,10px 12px, 10px 14px,
279
+ 12px 2px,12px 4px,12px 6px,12px 8px,12px 10px,12px 12px, 12px 14px,
280
+ 14px 0px,14px 2px,14px 4px,14px 6px,14px 8px,14px 10px,14px 12px, 14px 14px, 14px 16px,
281
+ 16px 0px,16px 2px,16px 4px,16px 6px,16px 8px,16px 10px,16px 12px, 16px 14px, 16px 16px;
282
+ }
283
+
284
+ .next::before {
285
+ box-shadow:
286
+ 2px 0px, 4px 0px,
287
+ 2px 2px, 4px 2px, 6px 2px, 8px 2px,
288
+ 2px 4px, 4px 4px, 6px 4px, 8px 4px, 10px 4px, 12px 4px,
289
+ 2px 6px, 4px 6px, 6px 6px, 8px 6px, 10px 6px, 12px 6px, 14px 6px,
290
+ 2px 8px, 4px 8px, 6px 8px, 8px 8px, 10px 8px, 12px 8px, 14px 8px, 16px 8px,
291
+ 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px, 12px 10px, 14px 10px,
292
+ 2px 12px, 4px 12px, 6px 12px, 8px 12px, 10px 12px, 12px 12px,
293
+ 2px 14px, 4px 14px, 6px 14px, 8px 14px,
294
+ 2px 16px, 4px 16px;
295
+ }
296
+
297
+ .post-info {
298
+ display: block;
299
+ margin-bottom: 20px;
300
+ color: #777;
301
+ }
302
+ .post-info b {
303
+ font-family: 'Courier New', Courier, monospace;
304
+ display: inline-block;
305
+ background-color: #eee;
306
+ padding: 1px 3px;
307
+ }
308
+
309
+ @media print, screen and (max-width: 1024px) {
310
+ section {
311
+ margin-top: 85px;
312
+ }
313
+ }
314
+
315
+ @media print, screen and (max-width: 960px) {
316
+
317
+ div.wrapper {
318
+ width: auto;
319
+ margin: 0;
320
+ }
321
+
322
+ header, footer {
323
+ width: 260px;
324
+ margin-left: 5px;
325
+ }
326
+
327
+ section {
328
+ width: 63%;
329
+ padding: 15px;
330
+ }
331
+
332
+ header a small {
333
+ display: inline;
334
+ }
335
+
336
+ header ul {
337
+ position: absolute;
338
+ right: 50px;
339
+ top: 52px;
340
+ }
341
+ }
342
+
343
+ @media print, screen and (max-width: 720px) {
344
+ body {
345
+ word-wrap: break-word;
346
+ }
347
+
348
+ header, section, footer {
349
+ float: none;
350
+ position: static;
351
+ width: auto;
352
+ }
353
+
354
+ header, section, footer {
355
+ margin: 0;
356
+ padding: 0 5px;
357
+ }
358
+
359
+ header p.view {
360
+ position: static;
361
+ }
362
+
363
+ section {
364
+ min-height: 0;
365
+ padding: 0 15px;
366
+ }
367
+
368
+ pre, code {
369
+ word-wrap: normal;
370
+ }
371
+
372
+ .github-link {
373
+ position: static;
374
+ margin: 30px auto 0;
375
+ padding: 0 8px;
376
+ justify-content: flex-end;
377
+ }
378
+ }
379
+
380
+ @media print, screen and (max-width: 480px) {
381
+ body {
382
+ padding: 0 15px 15px;
383
+ }
384
+
385
+ header, section, footer {
386
+ padding: 0;
387
+ }
388
+ }
389
+
390
+ @media print {
391
+ body {
392
+ padding: 0 0.4in 0.4in;
393
+ font-size: 12pt;
394
+ color: #444;
395
+ }
396
+ }
@@ -0,0 +1,209 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .cm {
4
+ color: #999988;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cp {
8
+ color: #999999;
9
+ font-weight: bold;
10
+ }
11
+ .highlight .c1 {
12
+ color: #999988;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cs {
16
+ color: #999999;
17
+ font-weight: bold;
18
+ font-style: italic;
19
+ }
20
+ .highlight .c, .highlight .cd {
21
+ color: #999988;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #a61717;
26
+ background-color: #e3d2d2;
27
+ }
28
+ .highlight .gd {
29
+ color: #000000;
30
+ background-color: #ffdddd;
31
+ }
32
+ .highlight .ge {
33
+ color: #000000;
34
+ font-style: italic;
35
+ }
36
+ .highlight .gr {
37
+ color: #aa0000;
38
+ }
39
+ .highlight .gh {
40
+ color: #999999;
41
+ }
42
+ .highlight .gi {
43
+ color: #000000;
44
+ background-color: #ddffdd;
45
+ }
46
+ .highlight .go {
47
+ color: #888888;
48
+ }
49
+ .highlight .gp {
50
+ color: #555555;
51
+ }
52
+ .highlight .gs {
53
+ font-weight: bold;
54
+ }
55
+ .highlight .gu {
56
+ color: #aaaaaa;
57
+ }
58
+ .highlight .gt {
59
+ color: #aa0000;
60
+ }
61
+ .highlight .kc {
62
+ color: #000000;
63
+ font-weight: bold;
64
+ }
65
+ .highlight .kd {
66
+ color: #000000;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kn {
70
+ color: #000000;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kp {
74
+ color: #000000;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kr {
78
+ color: #000000;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kt {
82
+ color: #445588;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .k, .highlight .kv {
86
+ color: #000000;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .mf {
90
+ color: #009999;
91
+ }
92
+ .highlight .mh {
93
+ color: #009999;
94
+ }
95
+ .highlight .il {
96
+ color: #009999;
97
+ }
98
+ .highlight .mi {
99
+ color: #009999;
100
+ }
101
+ .highlight .mo {
102
+ color: #009999;
103
+ }
104
+ .highlight .m, .highlight .mb, .highlight .mx {
105
+ color: #009999;
106
+ }
107
+ .highlight .sb {
108
+ color: #d14;
109
+ }
110
+ .highlight .sc {
111
+ color: #d14;
112
+ }
113
+ .highlight .sd {
114
+ color: #d14;
115
+ }
116
+ .highlight .s2 {
117
+ color: #d14;
118
+ }
119
+ .highlight .se {
120
+ color: #d14;
121
+ }
122
+ .highlight .sh {
123
+ color: #d14;
124
+ }
125
+ .highlight .si {
126
+ color: #d14;
127
+ }
128
+ .highlight .sx {
129
+ color: #d14;
130
+ }
131
+ .highlight .sr {
132
+ color: #009926;
133
+ }
134
+ .highlight .s1 {
135
+ color: #d14;
136
+ }
137
+ .highlight .ss {
138
+ color: #990073;
139
+ }
140
+ .highlight .s {
141
+ color: #d14;
142
+ }
143
+ .highlight .na {
144
+ color: #008080;
145
+ }
146
+ .highlight .bp {
147
+ color: #999999;
148
+ }
149
+ .highlight .nb {
150
+ color: #0086B3;
151
+ }
152
+ .highlight .nc {
153
+ color: #445588;
154
+ font-weight: bold;
155
+ }
156
+ .highlight .no {
157
+ color: #008080;
158
+ }
159
+ .highlight .nd {
160
+ color: #3c5d5d;
161
+ font-weight: bold;
162
+ }
163
+ .highlight .ni {
164
+ color: #800080;
165
+ }
166
+ .highlight .ne {
167
+ color: #990000;
168
+ font-weight: bold;
169
+ }
170
+ .highlight .nf {
171
+ color: #990000;
172
+ font-weight: bold;
173
+ }
174
+ .highlight .nl {
175
+ color: #990000;
176
+ font-weight: bold;
177
+ }
178
+ .highlight .nn {
179
+ color: #555555;
180
+ }
181
+ .highlight .nt {
182
+ color: #000080;
183
+ }
184
+ .highlight .vc {
185
+ color: #008080;
186
+ }
187
+ .highlight .vg {
188
+ color: #008080;
189
+ }
190
+ .highlight .vi {
191
+ color: #008080;
192
+ }
193
+ .highlight .nv {
194
+ color: #008080;
195
+ }
196
+ .highlight .ow {
197
+ color: #000000;
198
+ font-weight: bold;
199
+ }
200
+ .highlight .o {
201
+ color: #000000;
202
+ font-weight: bold;
203
+ }
204
+ .highlight .w {
205
+ color: #bbbbbb;
206
+ }
207
+ .highlight {
208
+ background-color: #f8f8f8;
209
+ }
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-theme-8bit";
@@ -0,0 +1,93 @@
1
+ Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P".
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,27 @@
1
+ (function(document) {
2
+ var metas = document.getElementsByTagName('meta'),
3
+ changeViewportContent = function(content) {
4
+ for (var i = 0; i < metas.length; i++) {
5
+ if (metas[i].name == "viewport") {
6
+ metas[i].content = content;
7
+ }
8
+ }
9
+ },
10
+ initialize = function() {
11
+ changeViewportContent("width=device-width, minimum-scale=1.0, maximum-scale=1.0");
12
+ },
13
+ gestureStart = function() {
14
+ changeViewportContent("width=device-width, minimum-scale=0.25, maximum-scale=1.6");
15
+ },
16
+ gestureEnd = function() {
17
+ initialize();
18
+ };
19
+
20
+
21
+ if (navigator.userAgent.match(/iPhone/i)) {
22
+ initialize();
23
+
24
+ document.addEventListener("touchstart", gestureStart, false);
25
+ document.addEventListener("touchend", gestureEnd, false);
26
+ }
27
+ })(document);
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-8bit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Juliano Fernandes
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-14 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.8.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.8.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-paginate-v2
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-seo-tag
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: html-proofer
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.10'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 12.3.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 12.3.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.62'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.62'
111
+ - !ruby/object:Gem::Dependency
112
+ name: w3c_validators
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.3.4
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.3.4
125
+ description:
126
+ email:
127
+ - julianofernandes@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - LICENSE.txt
133
+ - README.md
134
+ - _includes/downloads.html
135
+ - _includes/footer.html
136
+ - _includes/fork-me.html
137
+ - _includes/google-analytics.html
138
+ - _includes/head.html
139
+ - _includes/header.html
140
+ - _includes/social.html
141
+ - _layouts/default.html
142
+ - _layouts/post.html
143
+ - _sass/fonts.scss
144
+ - _sass/jekyll-theme-8bit.scss
145
+ - _sass/rouge-github.scss
146
+ - assets/css/style.scss
147
+ - assets/fonts/Press-Start-2P/OFL.txt
148
+ - assets/fonts/Press-Start-2P/regular.ttf
149
+ - assets/fonts/Press-Start-2P/regular.woff
150
+ - assets/fonts/Press-Start-2P/regular.woff2
151
+ - assets/js/scale-fix.js
152
+ homepage: https://github.com/julianolf/jekyll-theme-8bit
153
+ licenses:
154
+ - MIT
155
+ metadata: {}
156
+ post_install_message:
157
+ rdoc_options: []
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubygems_version: 3.0.1
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: A Jekyll theme inspired by classic 8bit games.
175
+ test_files: []