Skip to content

Commit 899d6cc

Browse files
author
Seth Lilly
committed
Releasing 1.4
1 parent 56c50f2 commit 899d6cc

17 files changed

+327
-135
lines changed

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
.DS_Store
2-
*.sublime*
2+
*.sublime*
3+
*.codekit
4+
.idea/.name
5+
.idea/Vapor.iml
6+
.idea/encodings.xml
7+
.idea/modules.xml
8+
.idea/misc.xml
9+
.idea/scopes/scope_settings.xml
10+
.idea/workspace.xml
11+
.idea/vcs.xml

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
# Changelog
22

3+
* 1.4 - 2014-04-19
4+
* Added `package.json` (closes [#26](https://github.com/sethlilly/Vapor/issues/26))
5+
* Added `{{asset}}` helper (closes [#24](https://github.com/sethlilly/Vapor/issues/24) and [#13](https://github.com/sethlilly/Vapor/issues/13))
6+
* Added `page.hbs` to support static pages; view example at [Hipster Ghost](http://hipsterghost.com/static-page-example/) (closes [#21](https://github.com/sethlilly/Vapor/issues/21))
7+
* Added more files to `.gitignore` (closes [#19](https://github.com/sethlilly/Vapor/issues/19))
8+
* Added `<table>` style; view example at [Hipster Ghost](http://hipsterghost.com/static-page-example/) (closes [#15](https://github.com/sethlilly/Vapor/issues/15))
9+
* Added Disqus, Facebook, and Google+ commenting options (closes [#16](https://github.com/sethlilly/Vapor/issues/16) and [#14](https://github.com/sethlilly/Vapor/issues/14))
10+
* Added `{{menu}}` helper (closes [#11](https://github.com/sethlilly/Vapor/issues/11))
11+
* Added `{{header-description}}` and `{{footer-description}}` helpers
12+
* Moved site-wide `<header>` into `default.hbs`
13+
* Replaced Casper-based sharing icons with their Font Awesome counterparts (closes [#17](https://github.com/sethlilly/Vapor/issues/17) and [#18](https://github.com/sethlilly/Vapor/issues/18))
314
* 1.3 - 2014-01-12
4-
* NEW: Blog logos and author images must be at least 100px in height and width, but do not need to be 1:1 (closes #6)
15+
* NEW: Blog logos and author images must be at least 100px in height and width, but do not need to be 1:1 (closes [#6](https://github.com/sethlilly/Vapor/issues/6))
516
* 1.2.1 - 2013-12-14
617
* Added Font Awesome icons
718
* Changed pagination links to use Font Awesome Icons

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013 Seth Lilly - Released under The MIT License.
1+
Copyright (c) 2013-2014 Seth Lilly - Released under The MIT License.
22

33
Permission is hereby granted, free of charge, to any person
44
obtaining a copy of this software and associated documentation

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,25 @@ Other icons provided by [Font Awesome](https://github.com/FortAwesome/Font-Aweso
1212

1313
See *Vapor* in action at [Hipster Ghost](http://hipsterghost.com/).
1414

15-
## Modifications
15+
## What's New?
1616

17-
Since 1.3, blog logos and author images must be at least 100px in height and width, but do not need to be 1:1.
17+
_[Hipster Ghost](http://hipsterghost.com) is always running the latest version of Vapor. You can preview all new features there._
1818

19-
Since 1.2, a [LESS](http://lesscss.org) file is included which contains variables allowing you to quickly change the theme's stylesheet. However, I've chosen to exclude `less.js` from the theme and I recommend using a desktop compiler like [LESS.app for Mac](http://incident57.com/less/), [SimpLESS](http://wearekiss.com/simpless), or [Crunch!](http://crunchapp.net/) to process your LESS file.
19+
*New in 1.4:* You may now use the `{{> menu}}` partial to display a custom menu on your pages. This is helpful for linking to certain posts or static pages. To activate this feature, simply remove the `!` in `{{!> menu}}` in `index.hbs`, `post.hbs`, and `page.hbs`. Also included are the `{{> header-description}}` and `{{> footer-description}}` partials for those using the menu. You can simply add the `!` to `{{> header-description}}` in the header (now located in `default.hbs` for all posts and pages) to deactivate. Remove the `!` from the `{{!> footer-description}}` partial call on the same page to activate display of the description in the footer. If you want to edit these partials (to add menu items or other content), you'll find them in the `/partials` directory. If you're using a self-hosted version of Ghost, you may need to restart or reload Ghost in order for the Handlebars partials to recompile after editing. There are also three new commenting options (Disqus, Facebook, and Google+) that follow the same conventions. You'll find these calls in `post.hbs` and `page.hbs`. I contend that Disqus is the best of these three options in terms of appearance and responsiveness; YMMV.
20+
21+
See the [changelog](CHANGELOG.md) for a full list of new features in 1.4.
22+
23+
*New in 1.3:* Blog logos and author images must be at least 100px in height and width, but do not need to be 1:1.
24+
25+
*New in 1.2:* A [LESS](http://lesscss.org) file is included which contains variables allowing you to quickly change the theme's stylesheet. However, I've chosen to exclude `less.js` from the theme and I recommend using a desktop compiler like [CodeKit](https://incident57.com/codekit/) to process your LESS file.
2026

2127
## Releases
2228

2329
See the [changelog](CHANGELOG.md) for release details.
2430

2531
| Version | Release Date |
2632
| :-----: | :----------: |
33+
| 1.4 | 2014-04-19 |
2734
| 1.3 | 2014-01-12 |
2835
| 1.2.1 | 2013-12-14 |
2936
| 1.2 | 2013-11-10 |
@@ -38,11 +45,15 @@ See the [changelog](CHANGELOG.md) for release details.
3845

3946
## Copyright & License
4047

41-
Copyright (c) 2013 Seth Lilly - Released under The MIT License.
48+
Copyright (c) 2013-2014 Seth Lilly - Released under The MIT License.
49+
50+
## Are you using Vapor?
51+
52+
If you're using Vapor on a live site, I'd love if you'd send me a message with the URL. I enjoy seeing the customizations and implmentations taking place all over the world. Regardless, thanks for using Vapor!
4253

4354
## Thanks
4455

45-
*Update 2013-11-10*: Thanks to everyone who has installed, starred, forked, or otherwise promoted Vapor. This is a labor of love, and it belongs to all of us.
56+
Thanks to everyone who has installed, starred, forked, contributed to, or otherwise promoted Vapor. This is a labor of love, and it belongs to all of us.
4657

4758
Thanks to [@JohnONolan](http://twitter.com/JohnONolan) for [suggesting this project](https://alpha.app.net/johnonolan/post/9574144).
4859

assets/css/screen.css

Lines changed: 63 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
@import url(//fonts.googleapis.com/css?subset=latin,cyrillic-ext,latin-ext,cyrillic&family=Open+Sans+Condensed:300|Merriweather:400,300,300italic,400italic,700,700italic|Roboto+Slab:400,300);
2-
3-
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
1+
@import url('//fonts.googleapis.com/css?subset=latin,cyrillic-ext,latin-ext,cyrillic&family=Open+Sans+Condensed:300|Open+Sans:400,600,400italic,600italic|Merriweather:400,300,300italic,400italic,700,700italic|Roboto+Slab:400,300');
2+
@import url('//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css');
43
/* === Core Styles === */
54
body {
65
background-color: #ffffff;
@@ -83,7 +82,6 @@ h1 {
8382
}
8483
#site-head,
8584
article,
86-
nav,
8785
article.preview,
8886
a.archive-link,
8987
.article-nav {
@@ -114,6 +112,7 @@ article.preview p.readmore {
114112
width: 100px;
115113
height: 100px;
116114
border-radius: 50%;
115+
-webkit-background-size: cover !important;
117116
background-size: cover !important;
118117
background-position: center center !important;
119118
background-color: #ffffff;
@@ -132,10 +131,13 @@ h1.blog-title {
132131
h2.blog-description {
133132
border-bottom: 1px solid #ecf0f1;
134133
border-top: 1px solid #ecf0f1;
135-
margin-bottom: 3em;
134+
margin-bottom: 2em;
136135
padding: .5em 1em;
137136
line-height: 1.2em;
138137
}
138+
section.footer-description {
139+
margin-bottom: 1em;
140+
}
139141
header.article-header,
140142
header.page-header {
141143
margin-bottom: 3em;
@@ -171,6 +173,10 @@ section.share p.info {
171173
text-transform: uppercase;
172174
font-family: "Open Sans Condensed", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
173175
}
176+
section.share p.info.prompt {
177+
top: -5px;
178+
position: relative;
179+
}
174180
section.author p.attr {
175181
margin-bottom: 2px;
176182
}
@@ -218,6 +224,7 @@ div.authorimage {
218224
width: 70px;
219225
height: 70px;
220226
border-radius: 50%;
227+
-webkit-background-size: cover !important;
221228
background-size: cover !important;
222229
background-position: center center !important;
223230
margin-right: 10px;
@@ -286,8 +293,10 @@ footer.post-footer {
286293
nav {
287294
border-bottom: 1px solid #ecf0f1;
288295
border-top: 1px solid #ecf0f1;
289-
margin-bottom: 3em;
296+
margin-bottom: 2em;
290297
text-align: center;
298+
margin: 20px auto 2em auto;
299+
max-width: 600px;
291300
}
292301
nav ul {
293302
list-style: none;
@@ -297,27 +306,41 @@ nav ul {
297306
overflow: hidden;
298307
text-align: center;
299308
}
300-
nav li {
309+
nav ul li {
301310
display: inline-block;
302311
font-family: "Open Sans Condensed", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
303312
font-size: 18px;
304313
font-weight: 300;
305-
margin: 0 2em;
306-
padding: 0;
314+
margin: 0;
315+
padding: 0 .5em;
307316
text-align: center;
308317
text-transform: uppercase;
309-
width: 4em;
310318
}
311-
nav li a {
319+
nav ul li a {
312320
display: block;
313321
padding: .5em 0;
314322
}
315-
nav li:first-child {
323+
nav.menu {
324+
margin-bottom: 2.5em;
325+
}
326+
nav.menu li {
327+
margin: 0 .5em;
328+
padding: 0;
329+
}
330+
nav.menu li:last-child {
331+
margin: 0;
332+
}
333+
@media only screen and (min-width: 320px) and (max-width: 662px) {
334+
nav.menu li {
335+
display: block;
336+
}
337+
}
338+
nav.pagination li:first-child {
316339
margin-left: 0;
317340
margin-right: 0;
318341
text-align: right;
319342
}
320-
nav li:last-child {
343+
nav.pagination li:last-child {
321344
margin-left: 0;
322345
margin-right: 0;
323346
text-align: left;
@@ -390,7 +413,6 @@ a.archive-link {
390413
text-transform: uppercase !important;
391414
display: none !important;
392415
/* Hide GitHub attribution */
393-
394416
}
395417
.gist .gist-file .gist-meta a:visited {
396418
color: #3498db !important;
@@ -399,7 +421,6 @@ a.archive-link {
399421
background: #fdfdfd !important;
400422
border-bottom: none !important;
401423
/* Hide GitHub attribution */
402-
403424
}
404425
.gist .gist-file .gist-data .line-numbers {
405426
border-right: none !important;
@@ -425,10 +446,7 @@ a.archive-link {
425446
font-style: normal;
426447
}
427448
.icon-ghost,
428-
.icon-feed,
429-
.icon-twitter,
430-
.icon-google-plus,
431-
.icon-facebook {
449+
.icon-feed {
432450
font-family: 'icons';
433451
speak: none;
434452
font-style: normal;
@@ -439,32 +457,43 @@ a.archive-link {
439457
-webkit-font-smoothing: antialiased;
440458
text-decoration: none;
441459
}
442-
.icon-twitter,
443-
.icon-google-plus,
444-
.icon-facebook {
445-
padding-left: 0.5em;
446-
}
447460
.icon-ghost:before {
448461
content: "\e000";
449462
}
450463
.icon-feed:before {
451464
content: "\e001";
452465
}
453-
.icon-twitter:before {
454-
content: "\e002";
455-
font-size: 1.1em;
456-
}
457-
.icon-google-plus:before {
458-
content: "\e003";
459-
}
460-
.icon-facebook:before {
461-
content: "\e004";
462-
}
463466
.icon-ghost {
464467
font-size: 12px;
465468
position: relative;
466469
top: -1px;
467470
}
471+
/* Comments */
472+
#disqus_thread {
473+
color: #787878;
474+
}
475+
/* Tables */
476+
table {
477+
width: 100%;
478+
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
479+
border-collapse: collapse;
480+
margin: 1em 0 3em;
481+
}
482+
table td {
483+
padding: .5em;
484+
}
485+
table thead {
486+
font-weight: 600;
487+
border-bottom: 1px solid #ecf0f1;
488+
}
489+
table tbody tr:nth-child(even) {
490+
background-color: #ecf0f1;
491+
border-top: 1px solid #e3e9eb;
492+
border-bottom: 1px solid #e3e9eb;
493+
}
494+
table tfoot {
495+
border-top: 1px solid #ecf0f1;
496+
}
468497
/* === Media Queries === */
469498
@media only screen and (min-width: 320px) and (max-width: 500px) {
470499
footer section span.copyright {

0 commit comments

Comments
 (0)