alembic-jekyll-theme 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +141 -0
  4. data/_includes/button.html +1 -0
  5. data/_includes/figure.html +4 -0
  6. data/_includes/icon.html +4 -0
  7. data/_includes/map.html +3 -0
  8. data/_includes/nav-default.html +11 -0
  9. data/_includes/nav-footer.html +13 -0
  10. data/_includes/nav-header.html +13 -0
  11. data/_includes/nav-social.html +8 -0
  12. data/_includes/post-comments.html +17 -0
  13. data/_includes/post-list.html +34 -0
  14. data/_includes/post-meta.html +3 -0
  15. data/_includes/post-pagination.html +17 -0
  16. data/_includes/post-related.html +14 -0
  17. data/_includes/post-share-buttons.html +12 -0
  18. data/_includes/site-aside.html +22 -0
  19. data/_includes/site-favicons.html +4 -0
  20. data/_includes/site-feature.html +17 -0
  21. data/_includes/site-footer.html +9 -0
  22. data/_includes/site-form.html +27 -0
  23. data/_includes/site-header.html +12 -0
  24. data/_includes/site-icons.svg +22 -0
  25. data/_includes/video.html +3 -0
  26. data/_layouts/blog.html +28 -0
  27. data/_layouts/default.html +30 -0
  28. data/_layouts/page-aside-left.html +21 -0
  29. data/_layouts/page-full.html +19 -0
  30. data/_layouts/page.html +21 -0
  31. data/_layouts/post.html +25 -0
  32. data/_sass/_flex.scss +394 -0
  33. data/_sass/_normalize.scss +419 -0
  34. data/_sass/_sassline-base.scss +7 -0
  35. data/_sass/_syntax.scss +61 -0
  36. data/_sass/sassline-base/_layouts.scss +282 -0
  37. data/_sass/sassline-base/_mixins.scss +420 -0
  38. data/_sass/sassline-base/_modular-scale.scss +66 -0
  39. data/_sass/sassline-base/_reset.scss +13 -0
  40. data/_sass/sassline-base/_typography.scss +363 -0
  41. data/_sass/sassline-base/_variables.scss +108 -0
  42. data/assets/placeholder-logo.png +0 -0
  43. data/assets/placeholder-social.png +0 -0
  44. data/assets/styles.scss +396 -0
  45. metadata +200 -0
Binary file
Binary file
@@ -0,0 +1,396 @@
1
+ ---
2
+ styles: true
3
+ ---
4
+
5
+ @charset "utf-8";
6
+
7
+ // Variables
8
+ $color__site--background: #fff;
9
+ $color__site--heading: #333;
10
+ $color__site--body: darken($color__site--heading, 10%);
11
+ $color__feature--background: darken($color__site--background, 5%);
12
+ $color__site--captions: lighten($color__site--heading, 50%);
13
+ $color__site--link: #05bf85;
14
+ $color__site--link--hover: darken($color__site--link, 10%);
15
+ $color__site--link--current: desaturate($color__site--link, 100%);
16
+ $color__site--accent: #05bf85;
17
+
18
+
19
+ // Frameworks
20
+ @import "normalize";
21
+ @import "sassline-base";
22
+ @import "syntax";
23
+ @import "flex";
24
+
25
+
26
+ // Structural elements
27
+ body {
28
+ background: $color__site--background;
29
+ color: $color__site--body;
30
+ height: 100%;
31
+ display: flex;
32
+ @include flex-direction(column);
33
+ overflow-x: hidden;
34
+ }
35
+
36
+ .container {
37
+ width: 90%;
38
+ max-width: 1200px;
39
+ margin: 0 auto;
40
+ }
41
+
42
+
43
+ // Header, feature and footer
44
+ .header,
45
+ .footer {
46
+ .container {
47
+ padding: 1rem 0;
48
+ @include flexbox;
49
+ @include flex-direction(column);
50
+ @include align-items(center);
51
+ text-align: center;
52
+ }
53
+ @include breakpoint(break-1) {
54
+ .container {
55
+ @include flex-direction(row);
56
+ @include justify-content(space-between);
57
+ text-align: inherit;
58
+ }
59
+ }
60
+ }
61
+
62
+ .feature {
63
+ padding-bottom: .4rem;
64
+ margin-bottom: 1.6rem;
65
+ text-align: center;
66
+ background: $color__site--accent;
67
+ background-size: cover;
68
+ background-position: center;
69
+ @include flexbox;
70
+ .container {
71
+ min-height: 35vh;
72
+ @include flex-direction(column);
73
+ @include justify-content(center);
74
+ }
75
+ }
76
+
77
+ .logo {
78
+ display: inline-block;
79
+ .icon {
80
+ width: 4rem;
81
+ height: 4rem;
82
+ }
83
+ }
84
+
85
+ .small {
86
+ padding-top: .6rem;
87
+ color: $color__site--captions;
88
+ display: inline-block;
89
+ }
90
+
91
+ .footer {
92
+ background: lighten(invert($color__site--background), 15%);
93
+ a {
94
+ color: invert($color__site--heading);
95
+ &:hover {
96
+ color: lighten(invert($color__site--body), 15%);
97
+ }
98
+ }
99
+ }
100
+
101
+
102
+ // Nav and copyright
103
+ .nav {
104
+ &--paginator {
105
+ @include flexbox;
106
+ @include justify-content(space-between);
107
+ color: $color__site--captions;
108
+ text-align: center;
109
+ }
110
+ &--social {
111
+ text-align: left;
112
+ }
113
+ }
114
+
115
+ .pagination {
116
+ min-width: 20%;
117
+ }
118
+
119
+ .copyright {
120
+ @include breakpoint(break-1) {
121
+ @include order(-1);
122
+ }
123
+ }
124
+
125
+
126
+ // Main content
127
+ .main {
128
+ @include flexbox;
129
+ @include flex-direction(column);
130
+ margin-bottom: 1.6rem;
131
+ @include breakpoint(break-1) {
132
+ @include flex-direction(row);
133
+ }
134
+ }
135
+
136
+ .main {
137
+ @include flex(1, 0, auto);
138
+ }
139
+
140
+ .header,
141
+ .feature,
142
+ .footer {
143
+ @include flex(0, 0, auto);
144
+ }
145
+
146
+ .content {
147
+ width: 100%;
148
+ @include breakpoint(break-1) {
149
+ width: 62%;
150
+ margin-right: 4%;
151
+ &--full {
152
+ width: 100%;
153
+ margin-right: 0%;
154
+ .figure--full {
155
+ left: 50%;
156
+ }
157
+ }
158
+ &--aside-left {
159
+ margin-right: 0;
160
+ margin-left: 4%;
161
+ @include order(2);
162
+ .figure--full {
163
+ left: 19.4%;
164
+ }
165
+ }
166
+ }
167
+ }
168
+
169
+ .aside {
170
+ max-width: 100%;
171
+ @include breakpoint(break-1) {
172
+ max-width: 34%;
173
+ }
174
+ }
175
+
176
+
177
+ // Lists
178
+ .list {
179
+ &--posts {
180
+ list-style: none;
181
+ }
182
+ &--nav {
183
+ list-style: none;
184
+ }
185
+ .item--post {
186
+ margin-left: 0;
187
+ }
188
+ }
189
+
190
+ .item {
191
+ &--nav {
192
+ display: inline-block;
193
+ margin-left: 1rem;
194
+ &:first-of-type {
195
+ margin-left: 0;
196
+ }
197
+ }
198
+ &--current {
199
+ a {
200
+ color: $color__site--link--current;
201
+ }
202
+ }
203
+ }
204
+
205
+
206
+ // Links, icons and images
207
+ .link {
208
+ display: inline-block;
209
+ margin: .2rem;
210
+ .icon {
211
+ display: inline-block;
212
+ transition: fill .1s;
213
+ min-width: 24px;
214
+ min-height: 24px;
215
+ &:hover {
216
+ fill: darken($color__site--link, 10%);
217
+ }
218
+ }
219
+ }
220
+
221
+ .icon {
222
+ vertical-align: middle;
223
+ width: 1em;
224
+ height: 1em;
225
+ fill: CurrentColor;
226
+ }
227
+
228
+ svg {
229
+ width: 100%;
230
+ height: 100%;
231
+ }
232
+
233
+ img {
234
+ max-width: 100%;
235
+ height: auto;
236
+ }
237
+
238
+ .figure {
239
+ line-height: 0;
240
+ &--full {
241
+ width: 100vw;
242
+ position: relative;
243
+ left: 50%;
244
+ margin-left: -50vw;
245
+ .caption {
246
+ padding-left: .8rem;
247
+ padding-right: .8rem;
248
+ }
249
+ }
250
+ @include breakpoint(break-1) {
251
+ &--full {
252
+ left: 80.6%;
253
+ }
254
+ &--left {
255
+ float: left;
256
+ padding-right: .8rem;
257
+ }
258
+ &--right {
259
+ float: right;
260
+ padding-left: .8rem;
261
+ }
262
+ }
263
+ }
264
+
265
+ // Video and map embeds
266
+ .video,
267
+ .map {
268
+ position: relative;
269
+ padding-bottom: 56.25%;
270
+ height: 0;
271
+ iframe {
272
+ position: absolute;
273
+ top: 0;
274
+ left: 0;
275
+ width: 100%;
276
+ height: 100%;
277
+ }
278
+ }
279
+
280
+ .map {
281
+ padding-bottom: 70%;
282
+ }
283
+
284
+ .figure,
285
+ .video,
286
+ .map {
287
+ margin-bottom: .8rem;
288
+ }
289
+
290
+ audio,
291
+ video {
292
+ width: 100%;
293
+ }
294
+
295
+
296
+ // Form elements and buttons
297
+ button,
298
+ .button,
299
+ input[type="text"],
300
+ input[type="email"],
301
+ input[type="submit"],
302
+ textarea {
303
+ padding: .6rem 1.2rem;
304
+ margin-bottom: .6rem;
305
+ transition: color .1s, background-color .1s, border .1s;
306
+ line-height: inherit;
307
+ border: none;
308
+ box-shadow: none;
309
+ border-radius: 0;
310
+ -webkit-appearance: none;
311
+ &:focus {
312
+ outline: solid .2rem invert($color__site--accent);
313
+ }
314
+ .icon {
315
+ margin: 0 0 .35rem;
316
+ }
317
+ }
318
+
319
+ input[type="submit"],
320
+ button,
321
+ .button {
322
+ cursor: pointer;
323
+ display: inline-block;
324
+ background: $color__site--accent;
325
+ position: relative;
326
+ transition: box-shadow .1s;
327
+ will-change: box-shadow;
328
+ box-shadow: inset 0 0 0 2rem transparent;
329
+ &:hover {
330
+ box-shadow: inset 0 0 0 2rem rgba(0,0,0,0.2);
331
+ }
332
+ &:active,
333
+ &:focus {
334
+ box-shadow: inset 0 0 0 2rem rgba(0,0,0,0.4);
335
+ }
336
+ }
337
+
338
+ input[type="text"],
339
+ input[type="email"],
340
+ textarea {
341
+ width: 100%;
342
+ border: 1px solid $color__site--captions;
343
+ &:hover {
344
+ border-color: darken($color__site--captions, 20%);
345
+ }
346
+ }
347
+
348
+ textarea {
349
+ resize: vertical;
350
+ }
351
+
352
+ label {
353
+ @include baseline($fontsize: zeta, $font: $bodytype, $lineheight: 2, $below: 2, $breakpoint: all);
354
+ }
355
+
356
+ .required {
357
+ color: red;
358
+ }
359
+
360
+ ::-webkit-input-placeholder {
361
+ color: darken($color__site--captions, 30%);
362
+ }
363
+ ::-moz-placeholder {
364
+ color: darken($color__site--captions, 30%);
365
+ }
366
+ :-ms-input-placeholder {
367
+ color: darken($color__site--captions, 30%);
368
+ }
369
+ :-moz-placeholder {
370
+ color: darken($color__site--captions, 30%);
371
+ }
372
+
373
+ ::selection {
374
+ background: $color__site--heading;
375
+ color: $color__site--background;
376
+ text-shadow: none;
377
+ }
378
+
379
+ // Sassline overrides
380
+ .typeset {
381
+ .button,
382
+ button {
383
+ background-image: none;
384
+ text-shadow: none;
385
+ color: lighten(invert($color__site--body), 15%);
386
+ &:hover,
387
+ &:active,
388
+ &:focus {
389
+ background-image: none;
390
+ color: lighten(invert($color__site--body), 15%);
391
+ }
392
+ }
393
+ hr {
394
+ width: 100%;
395
+ }
396
+ }
metadata ADDED
@@ -0,0 +1,200 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alembic-jekyll-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - David Darnes
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-08 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.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-sitemap
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.10'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-mentions
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-paginate
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-seo-tag
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-redirect-from
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.11'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.11'
97
+ - !ruby/object:Gem::Dependency
98
+ name: jekyll-feed
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.5'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.5'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jemoji
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.7'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.7'
125
+ description: Alembic is a starting point for Jekyll projects. Rather than starting
126
+ from scratch, this boilerplate is designed to get the ball rolling immediately.
127
+ email:
128
+ - me@daviddarnes.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - LICENSE
134
+ - README.md
135
+ - _includes/button.html
136
+ - _includes/figure.html
137
+ - _includes/icon.html
138
+ - _includes/map.html
139
+ - _includes/nav-default.html
140
+ - _includes/nav-footer.html
141
+ - _includes/nav-header.html
142
+ - _includes/nav-social.html
143
+ - _includes/post-comments.html
144
+ - _includes/post-list.html
145
+ - _includes/post-meta.html
146
+ - _includes/post-pagination.html
147
+ - _includes/post-related.html
148
+ - _includes/post-share-buttons.html
149
+ - _includes/site-aside.html
150
+ - _includes/site-favicons.html
151
+ - _includes/site-feature.html
152
+ - _includes/site-footer.html
153
+ - _includes/site-form.html
154
+ - _includes/site-header.html
155
+ - _includes/site-icons.svg
156
+ - _includes/video.html
157
+ - _layouts/blog.html
158
+ - _layouts/default.html
159
+ - _layouts/page-aside-left.html
160
+ - _layouts/page-full.html
161
+ - _layouts/page.html
162
+ - _layouts/post.html
163
+ - _sass/_flex.scss
164
+ - _sass/_normalize.scss
165
+ - _sass/_sassline-base.scss
166
+ - _sass/_syntax.scss
167
+ - _sass/sassline-base/_layouts.scss
168
+ - _sass/sassline-base/_mixins.scss
169
+ - _sass/sassline-base/_modular-scale.scss
170
+ - _sass/sassline-base/_reset.scss
171
+ - _sass/sassline-base/_typography.scss
172
+ - _sass/sassline-base/_variables.scss
173
+ - assets/placeholder-logo.png
174
+ - assets/placeholder-social.png
175
+ - assets/styles.scss
176
+ homepage: https://alembic.darn.es
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubyforge_project:
196
+ rubygems_version: 2.4.5
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: A Jekyll boilerplate designed to be a starting point for any Jekyll website.
200
+ test_files: []