├── .gitignore
├── LICENSE
├── README.md
├── _config.yml
├── _layouts
├── default.html
└── post.html
├── _posts
└── 2015-06-15-sudo-jekyll.markdown
├── apple-touch-icon.png
├── favicon.ico
├── feed.xml
├── index.html
├── preview.png
└── style.css
/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | .jekyll-metadata
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 oneohthree
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 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,
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 THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # sudo-jekyll
2 |
3 | Very minimal Jekyll theme for personal blogs
4 |
5 | 
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | title: sudo
2 | description: "Very minimal theme for Jekyll aimed at personal blogging"
3 | # url: "http://oneohthree.github.io"
4 | url: "http://localhost:4000"
5 | twitter_username: unocerotres
6 | github_username: oneohthree
7 | language: en_US
8 | paginate: 10
9 | paginate_path: "/page/:num/"
10 | permalink: none
11 | markdown: kramdown
12 |
--------------------------------------------------------------------------------
/_layouts/default.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
27 |
28 | {{ content }}
29 |
30 | {% if paginator %}
31 |
39 | {% endif %}
40 |
43 |
60 |
61 |
--------------------------------------------------------------------------------
/_layouts/post.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 |
9 | {{ content }}
10 |
11 | ↑
--------------------------------------------------------------------------------
/_posts/2015-06-15-sudo-jekyll.markdown:
--------------------------------------------------------------------------------
1 | ---
2 | layout: post
3 | title: "sudo Jekyll theme"
4 | date: 2015-06-15 10:25:59
5 | categories: about
6 | ---
7 | sudo-jekyll is a very minimal Jekyll theme for personal blogs. This is a port made from sudo WordPress theme used at [sudo.cubava.cu](http://sudo.cubava.cu).
--------------------------------------------------------------------------------
/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneohthree/sudo-jekyll/7b671715feda3bfb190563caa58bc000e1b64c83/apple-touch-icon.png
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneohthree/sudo-jekyll/7b671715feda3bfb190563caa58bc000e1b64c83/favicon.ico
--------------------------------------------------------------------------------
/feed.xml:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | ---
4 |
5 |
6 |
7 | {{ site.title | xml_escape }}
8 | {{ site.description | xml_escape }}
9 | {{ site.url }}{{ site.baseurl }}/
10 |
11 | {{ site.time | date_to_rfc822 }}
12 | {{ site.time | date_to_rfc822 }}
13 | Jekyll v{{ jekyll.version }}
14 | {% for post in site.posts limit:10 %}
15 | -
16 |
{{ post.title | xml_escape }}
17 | {{ post.content | xml_escape }}
18 | {{ post.date | date_to_rfc822 }}
19 | {{ post.url | prepend: site.baseurl | prepend: site.url }}
20 | {{ post.url | prepend: site.baseurl | prepend: site.url }}
21 | {% for tag in post.tags %}
22 | {{ tag | xml_escape }}
23 | {% endfor %}
24 | {% for cat in post.categories %}
25 | {{ cat | xml_escape }}
26 | {% endfor %}
27 |
28 | {% endfor %}
29 |
30 |
31 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
--------------------------------------------------------------------------------
/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneohthree/sudo-jekyll/7b671715feda3bfb190563caa58bc000e1b64c83/preview.png
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | /*! sudo Jekyll theme | MIT License | github.com/oneohthree/sudo-jekyll */
2 |
3 | /* default styling based on github.com/necolas/normalize.css */
4 |
5 | article,
6 | aside,
7 | details,
8 | figcaption,
9 | figure,
10 | footer,
11 | header,
12 | hgroup,
13 | main,
14 | menu,
15 | nav,
16 | section,
17 | summary {
18 | display: block;
19 | }
20 |
21 | audio,
22 | canvas,
23 | progress,
24 | video {
25 | display: inline-block;
26 | vertical-align: baseline;
27 | }
28 |
29 | audio:not([controls]) {
30 | display: none;
31 | height: 0;
32 | }
33 |
34 | html {
35 | background-color: #fff;
36 | color: #333;
37 | font-family: "Roboto", sans-serif;
38 | font-style: normal;
39 | font-weight: normal;
40 | font-size: 16px;
41 | line-height: 1;
42 | -ms-text-size-adjust: 100%;
43 | -webkit-text-size-adjust: 100%;
44 | }
45 |
46 | body {
47 | max-width: 33.33em;
48 | margin: 3em auto;
49 | padding: .5em;
50 | }
51 |
52 | ::-moz-selection {
53 | background: #06a;
54 | color: #fff;
55 | }
56 | ::selection {
57 | background: #06a;
58 | color: #fff;
59 | }
60 |
61 | *,
62 | *:after,
63 | *:before {
64 | -webkit-box-sizing: border-box;
65 | -moz-box-sizing: border-box;
66 | box-sizing: border-box;
67 | }
68 |
69 | h1,
70 | h2,
71 | h3 {
72 | color: #222;
73 | font-family: "Sanchez", sans-serif;
74 | font-weight: normal;
75 | line-height: 1.1em;
76 | margin: 2em 0 1em 0;
77 | }
78 |
79 | h1 {
80 | font-size: 2.25em;
81 | margin: .5em 0;
82 | }
83 |
84 | h2 {
85 | font-size: 1.5em;
86 | }
87 |
88 | h3 {
89 | font-size: 1.25em;
90 | }
91 |
92 | a {
93 | background-color: transparent;
94 | color: #06a;
95 | text-decoration: none;
96 | transition: color .2s ease;
97 | }
98 |
99 | a:visited {
100 | /* fixme */
101 | /*color: #fff;*/
102 | }
103 |
104 | a:active,
105 | a:hover,
106 | a:focus {
107 | color: #333;
108 | outline: 0;
109 | text-decoration: none;
110 | }
111 |
112 | p {
113 | line-height: 1.5em;
114 | margin: 0 0 1em 0;
115 | }
116 |
117 | article {
118 | text-align: left;
119 | }
120 |
121 | blockquote,
122 | q {
123 | color: #777;
124 | /*font-size: 1.5em;*/
125 | /*font-style: italic;*/
126 | quotes: none;
127 | -webkit-hyphens: none;
128 | -moz-hyphens: none;
129 | -ms-hyphens: none;
130 | hyphens: none;
131 | }
132 |
133 | blockquote {
134 | border-left: 4px solid #06a;
135 | line-height: 1.25em;
136 | margin: 2em 0 2em -1em;
137 | padding: 0 0 0 0;
138 | position: relative;
139 | }
140 |
141 | blockquote p {
142 | margin: 1em;
143 | text-indent: 0;
144 | }
145 |
146 | blockquote:before,
147 | blockquote:after,
148 | q:before,
149 | q:after {
150 | content: "";
151 | content: none;
152 | }
153 |
154 | blockquote cite {
155 | color: #333;
156 | display: block;
157 | font-style: normal;
158 | font-weight: normal;
159 | margin: 1em 0 0 1em;
160 | }
161 |
162 | blockquote cite:before {
163 | content: "\2013";
164 | padding-right: 2px;
165 | }
166 |
167 | blockquote em,
168 | blockquote i {
169 | font-style: normal;
170 | }
171 |
172 | blockquote strong,
173 | blockquote b {
174 | font-weight: bold;
175 | }
176 |
177 | ol,
178 | ul {
179 | line-height: 1.5em;
180 | padding: 0;
181 | margin: 0 0 1em 1em;
182 | }
183 |
184 | ul {
185 | list-style-type: disc;
186 | }
187 |
188 | b,
189 | strong {
190 | font-weight: bold;
191 | }
192 |
193 | em,
194 | i {
195 | font-style: italic;
196 | }
197 |
198 | small {
199 | font-size: .75em;
200 | }
201 |
202 | big {
203 | font-size: 1.25em;
204 | }
205 |
206 | sub,
207 | sup {
208 | font-size: 75%;
209 | line-height: 0;
210 | position: relative;
211 | vertical-align: baseline;
212 | }
213 |
214 | sup {
215 | top: -0.5em;
216 | }
217 |
218 | sub {
219 | bottom: -0.25em;
220 | }
221 |
222 | address {
223 | font-style: italic;
224 | margin-bottom: 1em;
225 | }
226 |
227 | abbr[title] {
228 | border-bottom: 1px dotted;
229 | cursor: help;
230 | }
231 |
232 | dfn {
233 | font-style: italic;
234 | }
235 |
236 | mark {
237 | background: #ff6;
238 | }
239 |
240 | code,
241 | kbd,
242 | pre,
243 | samp {
244 | color: #333;
245 | font-family: monospace, monospace;
246 | font-size: .875em;
247 | overflow: auto;
248 | /* white-space: pre;
249 | word-break: normal;
250 | word-spacing: normal;
251 | word-wrap: normal;*/
252 | -webkit-hyphens: none;
253 | -moz-hyphens: none;
254 | -ms-hyphens: none;
255 | hyphens: none;
256 | -moz-tab-size: 4;
257 | -o-tab-size: 4;
258 | tab-size: 4;
259 | }
260 |
261 | pre {
262 | background-color: #f9f9f9;
263 | line-height: 1.75;
264 | margin: 1em 0;
265 | padding: 1em;
266 | border-left: 4px solid #06a;
267 | }
268 |
269 | code {
270 | color: #a60;
271 | }
272 |
273 | pre code {
274 | background-color: #f9f9f9;
275 | color: #333;
276 | font-size: 1em;
277 | padding: 0;
278 | }
279 |
280 | table {
281 | /*border-top: 1px dotted #eee;*/
282 | border-collapse: collapse;
283 | border-spacing: 0;
284 | line-height: 1.5;
285 | margin: 0 0 1em;
286 | width: 100%;
287 | }
288 |
289 | th {
290 | background-color: #f9f9f9;
291 | /*border: 1px dotted #eee;*/
292 | font-weight: bold;
293 | }
294 |
295 | td {
296 | border: 1px dotted #eee;
297 | }
298 |
299 | th,
300 | tr,
301 | td {
302 | padding: .5em;
303 | }
304 |
305 | hr {
306 | background-color: #ddd;
307 | border: none;
308 | height: 1px;
309 | margin: 2em 0;
310 | -moz-box-sizing: content-box;
311 | box-sizing: content-box;
312 | }
313 |
314 | del {
315 | color: #999;
316 | }
317 |
318 | ins {
319 | /* fixme */
320 | }
321 |
322 | figure {
323 | margin: 1em 3em;
324 | }
325 |
326 | img {
327 | border: 0;
328 | max-width: 100%;
329 | }
330 |
331 | .group:after {
332 | content: "";
333 | display: table;
334 | clear: both;
335 | }
336 |
337 | .content {
338 | margin: 0 0 2em 2em;
339 | position: relative;
340 | }
341 |
342 | .content:after {
343 | content: "";
344 | display: table;
345 | clear: both;
346 | color: #999;
347 | content: '}';
348 | font-family: "Sanchez", sans-serif;
349 | font-size: 3em;
350 | margin: 0em 0 0em -32px;
351 | }
352 |
353 | /* header ********************************************************************/
354 |
355 | .site-header {
356 | margin-bottom: 2.5em;
357 | }
358 |
359 | .site-header h1 {
360 | font-size: 1em;
361 | }
362 |
363 | .site-title {
364 | border: none;
365 | display: inline-block;
366 | font-family: "Sanchez", sans-serif;
367 | font-size: 3em;
368 | letter-spacing: .25em;
369 | margin-bottom: 0em;
370 | text-transform: uppercase;
371 | }
372 |
373 | .site-title:after {
374 | color: #999;
375 | content: '{';
376 | letter-spacing: normal;
377 | }
378 |
379 | .tagline {
380 | color: #999;
381 | font-size: 2em;
382 | }
383 |
384 | /* entries *******************************************************************/
385 |
386 | .entries {
387 | list-style: none;
388 | margin: 0;
389 | padding: 0;
390 | }
391 |
392 | .entry {
393 | margin: 0 0 1.5em 0;
394 | line-height: 1;
395 | }
396 |
397 | .entry-date,
398 | .entry-title {
399 | float: left;
400 | }
401 |
402 | .entry-date {
403 | line-height: 1.75;
404 | color: #999;
405 | font-size: .75em;
406 | text-align: right;
407 | text-transform: uppercase;
408 | width: 20%;
409 | }
410 |
411 | .entry-title {
412 | display: inline;
413 | text-indent: .75em;
414 | overflow: hidden;
415 | text-overflow: ellipsis;
416 | white-space: nowrap;
417 | word-wrap: normal;
418 | width: 80%;
419 | }
420 |
421 | .entry-title h2 {
422 | display: inline;
423 | line-height: 1.25;
424 | font-family: "Roboto", sans-serif;
425 | font-size: 1em;
426 | margin: 0;
427 | }
428 |
429 | /* pagination ****************************************************************/
430 |
431 | .pagination {
432 | text-align: center;
433 | }
434 |
435 | .pagination a {
436 | color: #999;
437 | font-size: 3em;
438 | margin: 0 .5em;
439 | }
440 |
441 | .pagination a:hover {
442 | color: #06a;
443 | }
444 |
445 | /* posts *********************************************************************/
446 |
447 | .post-date {
448 | color: #999;
449 | font-size: .875em;
450 | text-transform: uppercase;
451 | display: block;
452 | }
453 |
454 | .post-meta {
455 | display: block;
456 | margin: 3em 0;
457 | }
458 |
459 | .post-meta:before {
460 | content: "// ";
461 | }
462 |
463 | /* footer ********************************************************************/
464 |
465 | .site-footer {
466 | margin: 2.5em 0;
467 | text-align: center;
468 | }
469 |
470 | .copyright {
471 | color: #666;
472 | display: block;
473 | margin: 2em 0;
474 | }
475 |
476 | /* syntax highligth **********************************************************/
477 |
478 | .c { color: #998; font-style: italic }
479 | .err { color: #a61717; background-color: #e3d2d2 }
480 | .k { font-weight: bold }
481 | .o { font-weight: bold }
482 | .cm { color: #998; font-style: italic }
483 | .cp { color: #999; font-weight: bold }
484 | .c1 { color: #998; font-style: italic }
485 | .cs { color: #999; font-weight: bold; font-style: italic }
486 | .gd { color: #000; background-color: #fdd }
487 | .gd .x { color: #000; background-color: #faa }
488 | .ge { font-style: italic }
489 | .gr { color: #a00 }
490 | .gh { color: #999 }
491 | .gi { color: #000; background-color: #dfd }
492 | .gi .x { color: #000; background-color: #afa }
493 | .go { color: #888 }
494 | .gp { color: #555 }
495 | .gs { font-weight: bold }
496 | .gu { color: #aaa }
497 | .gt { color: #a00 }
498 | .kc { font-weight: bold }
499 | .kd { font-weight: bold }
500 | .kp { font-weight: bold }
501 | .kr { font-weight: bold }
502 | .kt { color: #458; font-weight: bold }
503 | .m { color: #099 }
504 | .s { color: #d14 }
505 | .na { color: #008080 }
506 | .nb { color: #0086B3 }
507 | .nc { color: #458; font-weight: bold }
508 | .no { color: #008080 }
509 | .ni { color: #800080 }
510 | .ne { color: #900; font-weight: bold }
511 | .nf { color: #900; font-weight: bold }
512 | .nn { color: #555 }
513 | .nt { color: #000080 }
514 | .nv { color: #008080 }
515 | .ow { font-weight: bold }
516 | .w { color: #bbb }
517 | .mf { color: #099 }
518 | .mh { color: #099 }
519 | .mi { color: #099 }
520 | .mo { color: #099 }
521 | .sb { color: #d14 }
522 | .sc { color: #d14 }
523 | .sd { color: #d14 }
524 | .s2 { color: #d14 }
525 | .se { color: #d14 }
526 | .sh { color: #d14 }
527 | .si { color: #d14 }
528 | .sx { color: #d14 }
529 | .sr { color: #009926 }
530 | .s1 { color: #d14 }
531 | .ss { color: #990073 }
532 | .bp { color: #999 }
533 | .vc { color: #008080 }
534 | .vg { color: #008080 }
535 | .vi { color: #008080 }
536 | .il { color: #099 }
537 |
538 | /* go top ********************************************************************/
539 |
540 | #go-top {
541 | background-color: #06a;
542 | border-radius: 3px;
543 | color: #fff;
544 | opacity: 0.5;
545 | font-size: 3em;
546 | position: fixed;
547 | bottom: .5em;
548 | right: -1em;
549 | width: 1em;
550 | height: 1em;
551 | text-align: center;
552 | transition: right .3s ease;
553 | }
554 |
555 | #go-top:hover {
556 | opacity: 1;
557 | }
558 |
559 | .error-404 h2 {
560 | color: #666;
561 | font-size: 8em;
562 | margin: 0;
563 | }
564 |
565 | .at {
566 | color: #999;
567 | }
568 |
569 | /* media queries *************************************************************/
570 |
571 | @media only screen and (max-device-width: 640px) {
572 |
573 | body {
574 | margin: .5em;
575 | padding: 0;
576 | }
577 |
578 | .site-title {
579 | font-size: 2.5em;
580 | }
581 |
582 | .content {
583 | margin-left: 1.5em;
584 | }
585 |
586 | .content:after {
587 | font-size: 2.5em;
588 | margin: 0 0 1em 0;
589 | }
590 |
591 | }
592 |
593 | @media only screen and (max-device-width: 480px) {
594 |
595 | .entry {
596 | margin-bottom: 1.5em;
597 | }
598 |
599 | .entry-date,
600 | .entry-title {
601 | float: none;
602 | display: block;
603 | width: 100%;
604 | text-align: left;
605 | }
606 |
607 | .entry-title {
608 | overflow: inherit;
609 | text-indent: 0;
610 | text-overflow: inherit;
611 | white-space: inherit;
612 | word-wrap: inherit;
613 | }
614 |
615 | #go-top {
616 | font-size: 2em;
617 | }
618 |
619 | }
--------------------------------------------------------------------------------