├── .gitignore ├── LICENSE ├── README.md ├── _config.yml ├── _includes ├── footer.html ├── head.html └── header.html ├── _layouts ├── default.html ├── page.html └── post.html ├── _posts └── 2014-05-24-welcome-to-jekyll.markdown ├── about.md ├── css ├── main.css └── pygments.css ├── feed.xml ├── images ├── bg.png └── screenshot.png └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | _site -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013, Ali Zaidi 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 9 | 10 | * Neither the name of django_coffee_table nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 11 | 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | typewriter 2 | ========== 3 | 4 | A simple and beautiful theme for Jekyll. 5 | 6 | ![Screenshot](https://raw.githubusercontent.com/alixedi/typewriter/master/images/screenshot.png) 7 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Site settings 2 | title: "Typewriter" 3 | description: "So I was feeling nostalgic." 4 | baseurl: "" 5 | url: "http://alixedi.github.io" 6 | 7 | # Build settings 8 | markdown: kramdown 9 | permalink: pretty 10 | highlighter: pygments 11 | paginate: 3 12 | 13 | # Links 14 | links: 15 | - title: "abt" 16 | url: /about 17 | - title: "twt" 18 | url: http://twitter.com/alixedi 19 | - title: "git" 20 | url: http://github.com/alixedi 21 | - title: "rss" 22 | url: /feed.xml 23 | -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | {{ site.title }} 4 |

5 |

6 | {{ site.description }} 7 |

8 | 9 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include head.html %} 5 | 6 | 7 | 8 |
9 | 10 | {% include header.html %} 11 | 12 | {{ content }} 13 | 14 | {% include footer.html %} 15 | 16 |
17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | 6 |
7 |

{{ page.title }}

8 |
9 | 10 |
11 | {{ content }} 12 |
13 | 14 |
15 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | 6 |
7 |

{{ page.title }}

8 |
9 | 10 |

{{ page.date | date: "%b %-d, %Y" }}

11 | 12 |
13 | {{ content }} 14 |
15 | 16 |
17 | -------------------------------------------------------------------------------- /_posts/2014-05-24-welcome-to-jekyll.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Welcome to Jekyll!" 4 | date: 2014-05-24 23:52:38 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 | [jekyll-gh]: https://github.com/jekyll/jekyll 24 | [jekyll]: http://jekyllrb.com 25 | -------------------------------------------------------------------------------- /about.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: About 4 | permalink: /about/ 5 | --- 6 | 7 | This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/) 8 | 9 | You can find the source code for the Jekyll new theme at: [github.com/jglovier/jekyll-new](https://github.com/jglovier/jekyll-new) 10 | 11 | You can find the source code for Jekyll at [github.com/jekyll/jekyll](https://github.com/jekyll/jekyll) 12 | -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: monospace; 3 | line-height:150%; 4 | margin: 80px 0px; 5 | background: url("../images/bg.png") 6 | } 7 | 8 | .container { 9 | background: #ffe; 10 | box-shadow: 0 0 10px rgba(0,0,0,0.5); 11 | margin: 100px auto 0; 12 | max-width: 400px; 13 | min-height: 300px; 14 | padding: 200px; 15 | position: relative; 16 | width: 80%; 17 | } 18 | 19 | .container:before, .container:after { 20 | content: ""; 21 | height: 98%; 22 | position: absolute; 23 | width: 100%; 24 | z-index: -1; 25 | } 26 | 27 | .container:before { 28 | background: #ffe; 29 | box-shadow: 0 0 8px rgba(0,0,0,0.5); 30 | left: -5px; 31 | top: 4px; 32 | transform: rotate(-2.5deg); 33 | } 34 | 35 | .container:after { 36 | background: #ffe; 37 | box-shadow: 0 0 3px rgba(0,0,0,0.5); 38 | right: -3px; 39 | top: 1px; 40 | transform: rotate(1.4deg); 41 | } 42 | 43 | /* links */ 44 | a:link, a:visited, a:active, a:hover { 45 | color: #C00; 46 | text-decoration: none; 47 | } 48 | 49 | /* menu */ 50 | .page-link { 51 | font-weight: bold; 52 | } 53 | 54 | a.page-link:hover { 55 | border-bottom: 4px solid #C00; 56 | } 57 | 58 | .navlist { 59 | padding: 0px 0px; 60 | } 61 | 62 | .navlist > li { 63 | display: inline; 64 | list-style-type: none; 65 | padding-right: 10px; 66 | } 67 | 68 | /* headings */ 69 | h1, h2, h3, h4, h5, h6 { 70 | font-size: 1em; 71 | } 72 | 73 | h1 { 74 | text-transform: uppercase; 75 | font-weight: bold; 76 | text-decoration: underline; 77 | } 78 | 79 | h2 { 80 | font-weight: bold; 81 | text-decoration: underline; 82 | } 83 | 84 | h3 { 85 | font-weight: bold; 86 | } 87 | 88 | .header { 89 | text-align: center; 90 | margin-bottom: 100px; 91 | } 92 | 93 | .header > h1 { 94 | letter-spacing: 10px; 95 | margin-bottom: 10px; 96 | text-decoration: none; 97 | text-shadow: 1px 0px 1px #444; 98 | } 99 | 100 | /* posts */ 101 | .posts { 102 | padding-left: 0px; 103 | } 104 | 105 | .posts > li { 106 | list-style-type: none; 107 | margin: 80px 0px; 108 | } 109 | 110 | /* code blocks */ 111 | .highlight, blockquote { 112 | margin: 40px 0px; 113 | padding: 0px 20px; 114 | border-left-style: solid; 115 | } 116 | 117 | /* footer */ 118 | footer { 119 | margin-top: 100px; 120 | text-align: center; 121 | } 122 | 123 | /* pagination */ 124 | .pagination { 125 | text-align: center; 126 | } 127 | 128 | .pagination > a, .pagination > span { 129 | margin: 40px 10px; 130 | } 131 | 132 | /* continue reading */ 133 | .continue { 134 | text-align: center; 135 | margin-top: 40px; 136 | } 137 | -------------------------------------------------------------------------------- /css/pygments.css: -------------------------------------------------------------------------------- 1 | .hll { background-color: #ffffcc } 2 | .c { font-style: italic } /* Comment */ 3 | .err { border: 1px solid #FF0000 } /* Error */ 4 | .k { font-weight: bold } /* Keyword */ 5 | .cm { font-style: italic } /* Comment.Multiline */ 6 | .c1 { font-style: italic } /* Comment.Single */ 7 | .cs { font-style: italic } /* Comment.Special */ 8 | .ge { font-style: italic } /* Generic.Emph */ 9 | .gh { font-weight: bold } /* Generic.Heading */ 10 | .gp { font-weight: bold } /* Generic.Prompt */ 11 | .gs { font-weight: bold } /* Generic.Strong */ 12 | .gu { font-weight: bold } /* Generic.Subheading */ 13 | .kc { font-weight: bold } /* Keyword.Constant */ 14 | .kd { font-weight: bold } /* Keyword.Declaration */ 15 | .kn { font-weight: bold } /* Keyword.Namespace */ 16 | .kr { font-weight: bold } /* Keyword.Reserved */ 17 | .s { font-style: italic } /* Literal.String */ 18 | .nc { font-weight: bold } /* Name.Class */ 19 | .ni { font-weight: bold } /* Name.Entity */ 20 | .ne { font-weight: bold } /* Name.Exception */ 21 | .nn { font-weight: bold } /* Name.Namespace */ 22 | .nt { font-weight: bold } /* Name.Tag */ 23 | .ow { font-weight: bold } /* Operator.Word */ 24 | .sb { font-style: italic } /* Literal.String.Backtick */ 25 | .sc { font-style: italic } /* Literal.String.Char */ 26 | .sd { font-style: italic } /* Literal.String.Doc */ 27 | .s2 { font-style: italic } /* Literal.String.Double */ 28 | .se { font-weight: bold; font-style: italic } /* Literal.String.Escape */ 29 | .sh { font-style: italic } /* Literal.String.Heredoc */ 30 | .si { font-weight: bold; font-style: italic } /* Literal.String.Interpol */ 31 | .sx { font-style: italic } /* Literal.String.Other */ 32 | .sr { font-style: italic } /* Literal.String.Regex */ 33 | .s1 { font-style: italic } /* Literal.String.Single */ 34 | .ss { font-style: italic } /* Literal.String.Symbol */ 35 | -------------------------------------------------------------------------------- /feed.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: none 3 | title: Feed 4 | --- 5 | 6 | 7 | 8 | {{ site.title | xml_escape }} 9 | {{ site.description | xml_escape }} 10 | {{ site.url }}{{ site.baseurl }}/ 11 | 12 | {% for post in site.posts limit:10 %} 13 | 14 | {{ post.title | xml_escape }} 15 | {{ post.content | xml_escape }} 16 | {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} 17 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 18 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 19 | 20 | {% endfor %} 21 | 22 | 23 | -------------------------------------------------------------------------------- /images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixedi/typewriter/dfeab64022c84add9fe907fbd8ea34ce97038815/images/bg.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixedi/typewriter/dfeab64022c84add9fe907fbd8ea34ce97038815/images/screenshot.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Home 4 | --- 5 | 6 |
7 | 8 | 20 | 21 | 38 | 39 |
40 | --------------------------------------------------------------------------------