jekyll-theme-heidi 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 43eedc714d595008ab278c38bfbe1f83ae766157
4
+ data.tar.gz: af0bf63103e8559e95e8b4d94e4b613f7412f12c
5
+ SHA512:
6
+ metadata.gz: 806ff8bb8b985352132a13693cf836e888854106e4715aa5629330f119307ad62d8f21557095047da954c6ca1c666ddbc46fba8a5787994670ceaabe45822605
7
+ data.tar.gz: 71c0da06f03dea52dcc130e530c57e22a8a0d75c3e4c84b0f89ea2bac6c32706b71a58942645542afb2672b79e703cf4547dfafebed7e5548c82ae10d579bded
data/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # Released under MIT License
2
+
3
+ Copyright (c) 2013 Mark Otto.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,122 @@
1
+ # Heidi
2
+
3
+ Heidi is a brazen two-column [Jekyll](http://jekyllrb.com) theme that pairs a prominent sidebar with uncomplicated content. It's based on [Poole](http://getpoole.com), the Jekyll butler.
4
+
5
+ ![Heidi screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png)
6
+
7
+
8
+ ## Contents
9
+
10
+ - [Usage](#usage)
11
+ - [Options](#options)
12
+ - [Sidebar menu](#sidebar-menu)
13
+ - [Sticky sidebar content](#sticky-sidebar-content)
14
+ - [Themes](#themes)
15
+ - [Reverse layout](#reverse-layout)
16
+ - [Development](#development)
17
+ - [Author](#author)
18
+ - [License](#license)
19
+
20
+
21
+ ## Usage
22
+
23
+ Heidi is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll.
24
+
25
+
26
+ ## Options
27
+
28
+ Heidi includes some customizable options, typically applied via classes on the `<body>` element.
29
+
30
+
31
+ ### Sidebar menu
32
+
33
+ Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/).
34
+
35
+ ```
36
+ ---
37
+ layout: page
38
+ title: About
39
+ ---
40
+ ```
41
+
42
+ **Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout.
43
+
44
+
45
+ ### Sticky sidebar content
46
+
47
+ By default Heidi ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disable this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom.
48
+
49
+ ```html
50
+ <!-- Default sidebar -->
51
+ <div class="sidebar">
52
+ <div class="container sidebar-sticky">
53
+ ...
54
+ </div>
55
+ </div>
56
+
57
+ <!-- Modified sidebar -->
58
+ <div class="sidebar">
59
+ <div class="container">
60
+ ...
61
+ </div>
62
+ </div>
63
+ ```
64
+
65
+
66
+ ### Themes
67
+
68
+ Heidi ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links).
69
+
70
+ ![Heidi in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png)
71
+
72
+ There are eight themes available at this time.
73
+
74
+ ![Heidi theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png)
75
+
76
+ To use a theme, add anyone of the available theme classes to the `<body>` element in the `default.html` layout, like so:
77
+
78
+ ```html
79
+ <body class="theme-base-08">
80
+ ...
81
+ </body>
82
+ ```
83
+
84
+ To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors.
85
+
86
+ ### Reverse layout
87
+
88
+ ![Heidi with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png)
89
+
90
+ Heidi's page orientation can be reversed with a single class.
91
+
92
+ ```html
93
+ <body class="layout-reverse">
94
+ ...
95
+ </body>
96
+ ```
97
+
98
+
99
+ ## Development
100
+
101
+ Heidi has two branches, but only one is used for active development.
102
+
103
+ - `master` for development. **All pull requests should be submitted against `master`.**
104
+ - `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.**
105
+
106
+
107
+ ## Authors
108
+
109
+ **Mark Otto**
110
+ - <https://github.com/mdo>
111
+ - <https://twitter.com/mdo>
112
+ **Howlin Bash**
113
+ - <https://gitlab.com/howlinbash>
114
+ - <https://twitter.com/howlinbash>
115
+
116
+
117
+
118
+ ## License
119
+
120
+ Open sourced under the [MIT license](LICENSE.md).
121
+
122
+ <3
@@ -0,0 +1,27 @@
1
+ <head>
2
+ <link href="http://gmpg.org/xfn/11" rel="profile">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
5
+
6
+ <!-- Enable responsiveness on mobile devices-->
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
8
+
9
+ <title>
10
+ {% if page.title == "Home" %}
11
+ {{ site.title }} &middot; {{ site.tagline }}
12
+ {% else %}
13
+ {{ page.title }} &middot; {{ site.title }}
14
+ {% endif %}
15
+ </title>
16
+
17
+ <!-- CSS -->
18
+ <link rel="stylesheet" href="{{ site.baseurl }}assets/styles.css">
19
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
20
+
21
+ <!-- Icons -->
22
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}assets/apple-touch-icon-144-precomposed.png">
23
+ <link rel="shortcut icon" href="{{ site.baseurl }}assets/favicon.ico">
24
+
25
+ <!-- RSS -->
26
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
27
+ </head>
@@ -0,0 +1,36 @@
1
+ <div class="sidebar">
2
+ <div class="container sidebar-sticky">
3
+ <div class="sidebar-about">
4
+ <h1>
5
+ <a href="{{ site.baseurl }}">
6
+ {{ site.title }}
7
+ </a>
8
+ </h1>
9
+ <p class="lead">{{ site.description }}</p>
10
+ </div>
11
+
12
+ <nav class="sidebar-nav">
13
+ <a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}">Home</a>
14
+
15
+ {% comment %}
16
+ The code below dynamically generates a sidebar nav of pages with
17
+ `layout: page` in the front-matter. See readme for usage.
18
+ {% endcomment %}
19
+
20
+ {% assign pages_list = site.pages %}
21
+ {% for node in pages_list %}
22
+ {% if node.title != null %}
23
+ {% if node.layout == "page" %}
24
+ <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
25
+ {% endif %}
26
+ {% endif %}
27
+ {% endfor %}
28
+
29
+ <a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Download</a>
30
+ <a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a>
31
+ <span class="sidebar-nav-item">Currently v{{ site.version }}</span>
32
+ </nav>
33
+
34
+ <p>&copy; {{ site.time | date: '%Y' }}. All rights reserved.</p>
35
+ </div>
36
+ </div>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-us">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include sidebar.html %}
9
+
10
+ <div class="content container">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </body>
15
+ </html>
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="page">
6
+ <h1 class="page-title">{{ page.title }}</h1>
7
+ {{ content }}
8
+ </div>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="post">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ <span class="post-date">{{ page.date | date_to_string }}</span>
8
+ {{ content }}
9
+ </div>
10
+
11
+ <div class="related">
12
+ <h2>Related Posts</h2>
13
+ <ul class="related-posts">
14
+ {% for post in site.related_posts limit:3 %}
15
+ <li>
16
+ <h3>
17
+ <a href="{{ post.url }}">
18
+ {{ post.title }}
19
+ <small>{{ post.date | date_to_string }}</small>
20
+ </a>
21
+ </h3>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
+ </div>
data/_sass/hyde.scss ADDED
@@ -0,0 +1,250 @@
1
+ /*
2
+ * __ __
3
+ * /\ \ /\ \
4
+ * \ \ \___ __ __ \_\ \ __
5
+ * \ \ _ `\/\ \/\ \ /'_` \ /'__`\
6
+ * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/
7
+ * \ \_\ \_\/`____ \ \___,_\ \____\
8
+ * \/_/\/_/`/___/> \/__,_ /\/____/
9
+ * /\___/
10
+ * \/__/
11
+ *
12
+ * Designed, built, and released under MIT license by @mdo. Learn more at
13
+ * https://github.com/poole/hyde.
14
+ */
15
+
16
+
17
+ /*
18
+ * Contents
19
+ *
20
+ * Global resets
21
+ * Sidebar
22
+ * Container
23
+ * Reverse layout
24
+ * Themes
25
+ */
26
+
27
+
28
+ /*
29
+ * Global resets
30
+ *
31
+ * Update the foundational and global aspects of the page.
32
+ */
33
+
34
+ html {
35
+ font-family: "PT Sans", Helvetica, Arial, sans-serif;
36
+ }
37
+ @media (min-width: 48em) {
38
+ html {
39
+ font-size: 16px;
40
+ }
41
+ }
42
+ @media (min-width: 58em) {
43
+ html {
44
+ font-size: 20px;
45
+ }
46
+ }
47
+
48
+
49
+ /*
50
+ * Sidebar
51
+ *
52
+ * Flexible banner for housing site name, intro, and "footer" content. Starts
53
+ * out above content in mobile and later moves to the side with wider viewports.
54
+ */
55
+
56
+ .sidebar {
57
+ text-align: center;
58
+ padding: 2rem 1rem;
59
+ color: rgba(255,255,255,.5);
60
+ background-color: #202020;
61
+ }
62
+ @media (min-width: 48em) {
63
+ .sidebar {
64
+ position: fixed;
65
+ top: 0;
66
+ left: 0;
67
+ bottom: 0;
68
+ width: 18rem;
69
+ text-align: left;
70
+ }
71
+ }
72
+
73
+ /* Sidebar links */
74
+ .sidebar a {
75
+ color: #fff;
76
+ }
77
+
78
+ /* About section */
79
+ .sidebar-about h1 {
80
+ color: #fff;
81
+ margin-top: 0;
82
+ font-family: "Abril Fatface", serif;
83
+ font-size: 3.25rem;
84
+ }
85
+
86
+ /* Sidebar nav */
87
+ .sidebar-nav {
88
+ margin-bottom: 1rem;
89
+ }
90
+ .sidebar-nav-item {
91
+ display: block;
92
+ line-height: 1.75;
93
+ }
94
+ a.sidebar-nav-item:hover,
95
+ a.sidebar-nav-item:focus {
96
+ text-decoration: underline;
97
+ }
98
+ .sidebar-nav-item.active {
99
+ font-weight: bold;
100
+ }
101
+
102
+ /* Sticky sidebar
103
+ *
104
+ * Add the `sidebar-sticky` class to the sidebar's container to affix it the
105
+ * contents to the bottom of the sidebar in tablets and up.
106
+ */
107
+
108
+ @media (min-width: 48em) {
109
+ .sidebar-sticky {
110
+ position: absolute;
111
+ right: 1rem;
112
+ bottom: 1rem;
113
+ left: 1rem;
114
+ }
115
+ }
116
+
117
+
118
+ /* Container
119
+ *
120
+ * Align the contents of the site above the proper threshold with some margin-fu
121
+ * with a 25%-wide `.sidebar`.
122
+ */
123
+
124
+ .content {
125
+ padding-top: 4rem;
126
+ padding-bottom: 4rem;
127
+ }
128
+
129
+ @media (min-width: 48em) {
130
+ .content {
131
+ max-width: 38rem;
132
+ margin-left: 20rem;
133
+ margin-right: 2rem;
134
+ }
135
+ }
136
+
137
+ @media (min-width: 64em) {
138
+ .content {
139
+ margin-left: 22rem;
140
+ margin-right: 4rem;
141
+ }
142
+ }
143
+
144
+
145
+ /*
146
+ * Reverse layout
147
+ *
148
+ * Flip the orientation of the page by placing the `.sidebar` on the right.
149
+ */
150
+
151
+ @media (min-width: 48em) {
152
+ .layout-reverse .sidebar {
153
+ left: auto;
154
+ right: 0;
155
+ }
156
+ .layout-reverse .content {
157
+ margin-left: 2rem;
158
+ margin-right: 20rem;
159
+ }
160
+ }
161
+
162
+ @media (min-width: 64em) {
163
+ .layout-reverse .content {
164
+ margin-left: 4rem;
165
+ margin-right: 22rem;
166
+ }
167
+ }
168
+
169
+
170
+
171
+ /*
172
+ * Themes
173
+ *
174
+ * As of v1.1, Hyde includes optional themes to color the sidebar and links
175
+ * within blog posts. To use, add the class of your choosing to the `body`.
176
+ */
177
+
178
+ /* Base16 (http://chriskempson.github.io/base16/#default) */
179
+
180
+ /* Red */
181
+ .theme-base-08 .sidebar {
182
+ background-color: #ac4142;
183
+ }
184
+ .theme-base-08 .content a,
185
+ .theme-base-08 .related-posts li a:hover {
186
+ color: #ac4142;
187
+ }
188
+
189
+ /* Orange */
190
+ .theme-base-09 .sidebar {
191
+ background-color: #d28445;
192
+ }
193
+ .theme-base-09 .content a,
194
+ .theme-base-09 .related-posts li a:hover {
195
+ color: #d28445;
196
+ }
197
+
198
+ /* Yellow */
199
+ .theme-base-0a .sidebar {
200
+ background-color: #f4bf75;
201
+ }
202
+ .theme-base-0a .content a,
203
+ .theme-base-0a .related-posts li a:hover {
204
+ color: #f4bf75;
205
+ }
206
+
207
+ /* Green */
208
+ .theme-base-0b .sidebar {
209
+ background-color: #90a959;
210
+ }
211
+ .theme-base-0b .content a,
212
+ .theme-base-0b .related-posts li a:hover {
213
+ color: #90a959;
214
+ }
215
+
216
+ /* Cyan */
217
+ .theme-base-0c .sidebar {
218
+ background-color: #75b5aa;
219
+ }
220
+ .theme-base-0c .content a,
221
+ .theme-base-0c .related-posts li a:hover {
222
+ color: #75b5aa;
223
+ }
224
+
225
+ /* Blue */
226
+ .theme-base-0d .sidebar {
227
+ background-color: #6a9fb5;
228
+ }
229
+ .theme-base-0d .content a,
230
+ .theme-base-0d .related-posts li a:hover {
231
+ color: #6a9fb5;
232
+ }
233
+
234
+ /* Magenta */
235
+ .theme-base-0e .sidebar {
236
+ background-color: #aa759f;
237
+ }
238
+ .theme-base-0e .content a,
239
+ .theme-base-0e .related-posts li a:hover {
240
+ color: #aa759f;
241
+ }
242
+
243
+ /* Brown */
244
+ .theme-base-0f .sidebar {
245
+ background-color: #8f5536;
246
+ }
247
+ .theme-base-0f .content a,
248
+ .theme-base-0f .related-posts li a:hover {
249
+ color: #8f5536;
250
+ }
data/_sass/poole.scss ADDED
@@ -0,0 +1,430 @@
1
+ /*
2
+ * ___
3
+ * /\_ \
4
+ * _____ ___ ___\//\ \ __
5
+ * /\ '__`\ / __`\ / __`\\ \ \ /'__`\
6
+ * \ \ \_\ \/\ \_\ \/\ \_\ \\_\ \_/\ __/
7
+ * \ \ ,__/\ \____/\ \____//\____\ \____\
8
+ * \ \ \/ \/___/ \/___/ \/____/\/____/
9
+ * \ \_\
10
+ * \/_/
11
+ *
12
+ * Designed, built, and released under MIT license by @mdo. Learn more at
13
+ * https://github.com/poole/poole.
14
+ */
15
+
16
+
17
+ /*
18
+ * Contents
19
+ *
20
+ * Body resets
21
+ * Custom type
22
+ * Messages
23
+ * Container
24
+ * Masthead
25
+ * Posts and pages
26
+ * Pagination
27
+ * Reverse layout
28
+ * Themes
29
+ */
30
+
31
+
32
+ /*
33
+ * Body resets
34
+ *
35
+ * Update the foundational and global aspects of the page.
36
+ */
37
+
38
+ * {
39
+ -webkit-box-sizing: border-box;
40
+ -moz-box-sizing: border-box;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ html,
45
+ body {
46
+ margin: 0;
47
+ padding: 0;
48
+ }
49
+
50
+ html {
51
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
52
+ font-size: 16px;
53
+ line-height: 1.5;
54
+ }
55
+ @media (min-width: 38em) {
56
+ html {
57
+ font-size: 20px;
58
+ }
59
+ }
60
+
61
+ body {
62
+ color: #515151;
63
+ background-color: #fff;
64
+ -webkit-text-size-adjust: 100%;
65
+ -ms-text-size-adjust: 100%;
66
+ }
67
+
68
+ /* No `:visited` state is required by default (browsers will use `a`) */
69
+ a {
70
+ color: #268bd2;
71
+ text-decoration: none;
72
+ }
73
+ a strong {
74
+ color: inherit;
75
+ }
76
+ /* `:focus` is linked to `:hover` for basic accessibility */
77
+ a:hover,
78
+ a:focus {
79
+ text-decoration: underline;
80
+ }
81
+
82
+ /* Headings */
83
+ h1, h2, h3, h4, h5, h6 {
84
+ margin-bottom: .5rem;
85
+ font-weight: bold;
86
+ line-height: 1.25;
87
+ color: #313131;
88
+ text-rendering: optimizeLegibility;
89
+ }
90
+ h1 {
91
+ font-size: 2rem;
92
+ }
93
+ h2 {
94
+ margin-top: 1rem;
95
+ font-size: 1.5rem;
96
+ }
97
+ h3 {
98
+ margin-top: 1.5rem;
99
+ font-size: 1.25rem;
100
+ }
101
+ h4, h5, h6 {
102
+ margin-top: 1rem;
103
+ font-size: 1rem;
104
+ }
105
+
106
+ /* Body text */
107
+ p {
108
+ margin-top: 0;
109
+ margin-bottom: 1rem;
110
+ }
111
+
112
+ strong {
113
+ color: #303030;
114
+ }
115
+
116
+
117
+ /* Lists */
118
+ ul, ol, dl {
119
+ margin-top: 0;
120
+ margin-bottom: 1rem;
121
+ }
122
+
123
+ dt {
124
+ font-weight: bold;
125
+ }
126
+ dd {
127
+ margin-bottom: .5rem;
128
+ }
129
+
130
+ /* Misc */
131
+ hr {
132
+ position: relative;
133
+ margin: 1.5rem 0;
134
+ border: 0;
135
+ border-top: 1px solid #eee;
136
+ border-bottom: 1px solid #fff;
137
+ }
138
+
139
+ abbr {
140
+ font-size: 85%;
141
+ font-weight: bold;
142
+ color: #555;
143
+ text-transform: uppercase;
144
+ }
145
+ abbr[title] {
146
+ cursor: help;
147
+ border-bottom: 1px dotted #e5e5e5;
148
+ }
149
+
150
+ /* Code */
151
+ code,
152
+ pre {
153
+ font-family: Menlo, Monaco, "Courier New", monospace;
154
+ }
155
+ code {
156
+ padding: .25em .5em;
157
+ font-size: 85%;
158
+ color: #bf616a;
159
+ background-color: #f9f9f9;
160
+ border-radius: 3px;
161
+ }
162
+ pre {
163
+ display: block;
164
+ margin-top: 0;
165
+ margin-bottom: 1rem;
166
+ padding: 1rem;
167
+ font-size: .8rem;
168
+ line-height: 1.4;
169
+ white-space: pre;
170
+ white-space: pre-wrap;
171
+ word-break: break-all;
172
+ word-wrap: break-word;
173
+ background-color: #f9f9f9;
174
+ }
175
+ pre code {
176
+ padding: 0;
177
+ font-size: 100%;
178
+ color: inherit;
179
+ background-color: transparent;
180
+ }
181
+
182
+ /* Pygments via Jekyll */
183
+ .highlight {
184
+ margin-bottom: 1rem;
185
+ border-radius: 4px;
186
+ }
187
+ .highlight pre {
188
+ margin-bottom: 0;
189
+ }
190
+
191
+ /* Gist via GitHub Pages */
192
+ .gist .gist-file {
193
+ font-family: Menlo, Monaco, "Courier New", monospace !important;
194
+ }
195
+ .gist .markdown-body {
196
+ padding: 15px;
197
+ }
198
+ .gist pre {
199
+ padding: 0;
200
+ background-color: transparent;
201
+ }
202
+ .gist .gist-file .gist-data {
203
+ font-size: .8rem !important;
204
+ line-height: 1.4;
205
+ }
206
+ .gist code {
207
+ padding: 0;
208
+ color: inherit;
209
+ background-color: transparent;
210
+ border-radius: 0;
211
+ }
212
+
213
+ /* Quotes */
214
+ blockquote {
215
+ padding: .5rem 1rem;
216
+ margin: .8rem 0;
217
+ color: #7a7a7a;
218
+ border-left: .25rem solid #e5e5e5;
219
+ }
220
+ blockquote p:last-child {
221
+ margin-bottom: 0;
222
+ }
223
+ @media (min-width: 30em) {
224
+ blockquote {
225
+ padding-right: 5rem;
226
+ padding-left: 1.25rem;
227
+ }
228
+ }
229
+
230
+ img {
231
+ display: block;
232
+ max-width: 100%;
233
+ margin: 0 0 1rem;
234
+ border-radius: 5px;
235
+ }
236
+
237
+ /* Tables */
238
+ table {
239
+ margin-bottom: 1rem;
240
+ width: 100%;
241
+ border: 1px solid #e5e5e5;
242
+ border-collapse: collapse;
243
+ }
244
+ td,
245
+ th {
246
+ padding: .25rem .5rem;
247
+ border: 1px solid #e5e5e5;
248
+ }
249
+ tbody tr:nth-child(odd) td,
250
+ tbody tr:nth-child(odd) th {
251
+ background-color: #f9f9f9;
252
+ }
253
+
254
+
255
+ /*
256
+ * Custom type
257
+ *
258
+ * Extend paragraphs with `.lead` for larger introductory text.
259
+ */
260
+
261
+ .lead {
262
+ font-size: 1.25rem;
263
+ font-weight: 300;
264
+ }
265
+
266
+
267
+ /*
268
+ * Messages
269
+ *
270
+ * Show alert messages to users. You may add it to single elements like a `<p>`,
271
+ * or to a parent if there are multiple elements to show.
272
+ */
273
+
274
+ .message {
275
+ margin-bottom: 1rem;
276
+ padding: 1rem;
277
+ color: #717171;
278
+ background-color: #f9f9f9;
279
+ }
280
+
281
+
282
+ /*
283
+ * Container
284
+ *
285
+ * Center the page content.
286
+ */
287
+
288
+ .container {
289
+ max-width: 38rem;
290
+ padding-left: 1rem;
291
+ padding-right: 1rem;
292
+ margin-left: auto;
293
+ margin-right: auto;
294
+ }
295
+
296
+
297
+ /*
298
+ * Masthead
299
+ *
300
+ * Super small header above the content for site name and short description.
301
+ */
302
+
303
+ .masthead {
304
+ padding-top: 1rem;
305
+ padding-bottom: 1rem;
306
+ margin-bottom: 3rem;
307
+ }
308
+ .masthead-title {
309
+ margin-top: 0;
310
+ margin-bottom: 0;
311
+ color: #505050;
312
+ }
313
+ .masthead-title a {
314
+ color: #505050;
315
+ }
316
+ .masthead-title small {
317
+ font-size: 75%;
318
+ font-weight: 400;
319
+ color: #c0c0c0;
320
+ letter-spacing: 0;
321
+ }
322
+
323
+
324
+ /*
325
+ * Posts and pages
326
+ *
327
+ * Each post is wrapped in `.post` and is used on default and post layouts. Each
328
+ * page is wrapped in `.page` and is only used on the page layout.
329
+ */
330
+
331
+ .page,
332
+ .post {
333
+ margin-bottom: 4em;
334
+ }
335
+
336
+ /* Blog post or page title */
337
+ .page-title,
338
+ .post-title,
339
+ .post-title a {
340
+ color: #303030;
341
+ }
342
+ .page-title,
343
+ .post-title {
344
+ margin-top: 0;
345
+ }
346
+
347
+ /* Meta data line below post title */
348
+ .post-date {
349
+ display: block;
350
+ margin-top: -.5rem;
351
+ margin-bottom: 1rem;
352
+ color: #9a9a9a;
353
+ }
354
+
355
+ /* Related posts */
356
+ .related {
357
+ padding-top: 2rem;
358
+ padding-bottom: 2rem;
359
+ border-top: 1px solid #eee;
360
+ }
361
+ .related-posts {
362
+ padding-left: 0;
363
+ list-style: none;
364
+ }
365
+ .related-posts h3 {
366
+ margin-top: 0;
367
+ }
368
+ .related-posts li small {
369
+ font-size: 75%;
370
+ color: #999;
371
+ }
372
+ .related-posts li a:hover {
373
+ color: #268bd2;
374
+ text-decoration: none;
375
+ }
376
+ .related-posts li a:hover small {
377
+ color: inherit;
378
+ }
379
+
380
+
381
+ /*
382
+ * Pagination
383
+ *
384
+ * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
385
+ * there are no more previous or next posts to show.
386
+ */
387
+
388
+ .pagination {
389
+ overflow: hidden; /* clearfix */
390
+ margin-left: -1rem;
391
+ margin-right: -1rem;
392
+ font-family: "PT Sans", Helvetica, Arial, sans-serif;
393
+ color: #ccc;
394
+ text-align: center;
395
+ }
396
+
397
+ /* Pagination items can be `span`s or `a`s */
398
+ .pagination-item {
399
+ display: block;
400
+ padding: 1rem;
401
+ border: 1px solid #eee;
402
+ }
403
+ .pagination-item:first-child {
404
+ margin-bottom: -1px;
405
+ }
406
+
407
+ /* Only provide a hover state for linked pagination items */
408
+ a.pagination-item:hover {
409
+ background-color: #f5f5f5;
410
+ }
411
+
412
+ @media (min-width: 30em) {
413
+ .pagination {
414
+ margin: 3rem 0;
415
+ }
416
+ .pagination-item {
417
+ float: left;
418
+ width: 50%;
419
+ }
420
+ .pagination-item:first-child {
421
+ margin-bottom: 0;
422
+ border-top-left-radius: 4px;
423
+ border-bottom-left-radius: 4px;
424
+ }
425
+ .pagination-item:last-child {
426
+ margin-left: -1px;
427
+ border-top-right-radius: 4px;
428
+ border-bottom-right-radius: 4px;
429
+ }
430
+ }
data/_sass/syntax.scss ADDED
@@ -0,0 +1,65 @@
1
+ .highlight .hll { background-color: #ffc; }
2
+ .highlight .c { color: #999; } /* Comment */
3
+ .highlight .err { color: #a00; background-color: #faa } /* Error */
4
+ .highlight .k { color: #069; } /* Keyword */
5
+ .highlight .o { color: #555 } /* Operator */
6
+ .highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #099 } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999; } /* Comment.Single */
9
+ .highlight .cs { color: #999; } /* Comment.Special */
10
+ .highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
11
+ .highlight .ge { font-style: italic } /* Generic.Emph */
12
+ .highlight .gr { color: #f00 } /* Generic.Error */
13
+ .highlight .gh { color: #030; } /* Generic.Heading */
14
+ .highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
15
+ .highlight .go { color: #aaa } /* Generic.Output */
16
+ .highlight .gp { color: #009; } /* Generic.Prompt */
17
+ .highlight .gs { } /* Generic.Strong */
18
+ .highlight .gu { color: #030; } /* Generic.Subheading */
19
+ .highlight .gt { color: #9c6 } /* Generic.Traceback */
20
+ .highlight .kc { color: #069; } /* Keyword.Constant */
21
+ .highlight .kd { color: #069; } /* Keyword.Declaration */
22
+ .highlight .kn { color: #069; } /* Keyword.Namespace */
23
+ .highlight .kp { color: #069 } /* Keyword.Pseudo */
24
+ .highlight .kr { color: #069; } /* Keyword.Reserved */
25
+ .highlight .kt { color: #078; } /* Keyword.Type */
26
+ .highlight .m { color: #f60 } /* Literal.Number */
27
+ .highlight .s { color: #d44950 } /* Literal.String */
28
+ .highlight .na { color: #4f9fcf } /* Name.Attribute */
29
+ .highlight .nb { color: #366 } /* Name.Builtin */
30
+ .highlight .nc { color: #0a8; } /* Name.Class */
31
+ .highlight .no { color: #360 } /* Name.Constant */
32
+ .highlight .nd { color: #99f } /* Name.Decorator */
33
+ .highlight .ni { color: #999; } /* Name.Entity */
34
+ .highlight .ne { color: #c00; } /* Name.Exception */
35
+ .highlight .nf { color: #c0f } /* Name.Function */
36
+ .highlight .nl { color: #99f } /* Name.Label */
37
+ .highlight .nn { color: #0cf; } /* Name.Namespace */
38
+ .highlight .nt { color: #2f6f9f; } /* Name.Tag */
39
+ .highlight .nv { color: #033 } /* Name.Variable */
40
+ .highlight .ow { color: #000; } /* Operator.Word */
41
+ .highlight .w { color: #bbb } /* Text.Whitespace */
42
+ .highlight .mf { color: #f60 } /* Literal.Number.Float */
43
+ .highlight .mh { color: #f60 } /* Literal.Number.Hex */
44
+ .highlight .mi { color: #f60 } /* Literal.Number.Integer */
45
+ .highlight .mo { color: #f60 } /* Literal.Number.Oct */
46
+ .highlight .sb { color: #c30 } /* Literal.String.Backtick */
47
+ .highlight .sc { color: #c30 } /* Literal.String.Char */
48
+ .highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
49
+ .highlight .s2 { color: #c30 } /* Literal.String.Double */
50
+ .highlight .se { color: #c30; } /* Literal.String.Escape */
51
+ .highlight .sh { color: #c30 } /* Literal.String.Heredoc */
52
+ .highlight .si { color: #a00 } /* Literal.String.Interpol */
53
+ .highlight .sx { color: #c30 } /* Literal.String.Other */
54
+ .highlight .sr { color: #3aa } /* Literal.String.Regex */
55
+ .highlight .s1 { color: #c30 } /* Literal.String.Single */
56
+ .highlight .ss { color: #fc3 } /* Literal.String.Symbol */
57
+ .highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
58
+ .highlight .vc { color: #033 } /* Name.Variable.Class */
59
+ .highlight .vg { color: #033 } /* Name.Variable.Global */
60
+ .highlight .vi { color: #033 } /* Name.Variable.Instance */
61
+ .highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
62
+
63
+ .css .o,
64
+ .css .o + .nt,
65
+ .css .nt + .nt { color: #999; }
Binary file
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: false
3
+ ---
4
+
5
+ // Imports
6
+ @charset "utf-8";
7
+ @import "syntax";
8
+ @import "poole";
9
+ @import "hyde";
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-heidi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mark Otto
8
+ - Howlin Bash
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2017-04-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: jekyll
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.4'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.4'
28
+ - !ruby/object:Gem::Dependency
29
+ name: jekyll-paginate
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: jekyll-gist
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.4'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.4'
56
+ - !ruby/object:Gem::Dependency
57
+ name: redcarpet
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.4'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.4'
70
+ - !ruby/object:Gem::Dependency
71
+ name: bundler
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.12'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.12'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rake
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '10.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '10.0'
98
+ description: Heidi is a brazen two-column Jekyll theme that pairs a prominent sidebar
99
+ with uncomplicated content. Based on Hyde by @mdo. Developed by Howlin Bash
100
+ email:
101
+ - howlin-bash@posteo.de
102
+ executables: []
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - LICENSE.md
107
+ - README.md
108
+ - _includes/head.html
109
+ - _includes/sidebar.html
110
+ - _layouts/default.html
111
+ - _layouts/page.html
112
+ - _layouts/post.html
113
+ - _sass/hyde.scss
114
+ - _sass/poole.scss
115
+ - _sass/syntax.scss
116
+ - assets/apple-touch-icon-144-precomposed.png
117
+ - assets/favicon.ico
118
+ - assets/styles.scss
119
+ homepage: https://gitlab.com/howlinbash/heidi
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubyforge_project:
139
+ rubygems_version: 2.6.8
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Heidi is a brazen two-column Jekyll theme that pairs a prominent sidebar
143
+ with uncomplicated content.
144
+ test_files: []