This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Version 1 | |
namespace :deploy do | |
desc "Build and deploy website to staging" | |
task :staging => [:build, :heroku_staging] do | |
end | |
desc "Build and deploy website to staging" | |
task :production => [:build, :heroku_production] do | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THE FALLACY OF SUCCESS | |
There has appeared in our time a particular class of books and articles which I sincerely and solemnly think may be called the silliest ever known among men. They are much more wild than the wildest romances of chivalry and much more dull than the dullest religious tract. Moreover, the romances of chivalry were at least about chivalry; the religious tracts are about religion. But these things are about nothing; they are about what is called Success. On every bookstall, in every magazine, you may find works telling people how to succeed. They are books showing men how to succeed in everything; they are written by men who cannot even succeed in writing books. To begin with, of course, there is no such thing as Success. Or, if you like to put it so, there is nothing that is not successful. That a thing is successful merely means that it is; a millionaire is successful in being a millionaire and a donkey in being a donkey. Any live man has succeeded in living; any dead man may have succee |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function calc-em($target-px, $context) { | |
@return ($target-px / $context) * 1em; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.quick-book-nav { | |
position: fixed; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
height: 60px; | |
border-top: 1px solid rgba(0,0,0,.6); | |
width: 100%; | |
z-index: 99999; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= data.products.oils.categories.oil_filters.first[:category] %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
details: | |
- name: "Brady Duncan" | |
url: "brady-duncan" | |
title: "Secretary of Beer Defense" | |
bio: "Has a well rounded set of skills (the right brain) who also aggressively networks and enjoys promoting the brand." | |
favorite: "Happy Amber" | |
- name: "Jeff Hunt" | |
url: "jeff-hunt" | |
title: "Beer 'Can'nesseur" | |
bio: "Has a very deep understanding of the brewing process and the science behind the 'magic'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.product-listing { | |
@extend %group; | |
.product { | |
@include respond-to(36.25em) { | |
//580px | |
@include span-columns(8); | |
@include nth-omega(2n); | |
} | |
@include respond-to(47.5em) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.product-listing { | |
@extend %group; | |
.product { | |
@include respond-to(36.25em) { | |
//580px | |
@include span-columns(8); | |
@include nth-omega(2n); | |
} | |
@include respond-to(47.5em) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="h-card"> | |
<div class="photo"> | |
<%= image_tag 'http://placehold.it/150x190', class: 'u-photo' %> | |
<%= link_to '<i class="icon-search"></i> Hi-res', '#', class: 'hi-res' %> | |
</div> <!-- /photo --> | |
<div class="details"> | |
<a class="p-name" href="http://example.org">Marc E. Rothenberg, MD, PHD </a> | |
<p class="p-job-title">Director, Division of Allergy and Immunology</p> | |
<p class="p-job-title">Director, Cincinnati Center for Eosinophilic Disorders</p> | |
<p class="p-job-title">Program Director, CHRCDA (K12)</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin respond-to($viewport-width, $ie-version: 'lt-ie9') { | |
@media only screen and (min-width: $viewport-width) { | |
@content; | |
} | |
@if $ie-version == 'lt-ie9' { | |
html.lt-ie9 & { // Using Paul Irish's conditional comments | |
@content; | |
} | |
} | |
@else if $ie-version == 'lt-ie8' { |