This file contains 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
header | |
.row.nav-header | |
.container | |
.nav-header__logo | |
img src="/" | |
nav.nav-header__menu |
This file contains 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 Cedar-14 stack is the latest version of the Heroku Cedar stack. | |
# It features updated system dependencies and runs on a recent version of Ubuntu Linux. | |
# Use this scipt to update all your apps. | |
# Fill this array with your apps' names. | |
apps=( app-name-1 app-name-2 app-name-3 app-name-4 ... app-name-n ) | |
for app in "${apps[@]}" | |
do |
This file contains 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
//** Vertical Rhythm **// | |
// By Chris Eppstein and Eric Meyer, living here on a temporary basis | |
// set the default border style for rhythm borders | |
!default_rhythm_border_style = "solid" | |
// The IE font ratio is a fact of life. Deal with it. | |
!ie_font_ratio = 16px / 100% | |
This file contains 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.css: *.sass sass/*.sass | |
sass -t expanded style.sass > style.css | |
mockup.html: mockup.haml | |
haml mockup.haml mockup.html | |
clean: | |
rm -fr *.html | |
rm -fr *.css |
This file contains 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
$('select.jump_list').change(function() { | |
if (!this.value) { | |
return; | |
} | |
var url, url_len, last_char; | |
if (this.value.match('://')) { | |
window.top.location = this.value; | |
} |
This file contains 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
$sprites: sprite-map("sprites/*.png") | |
$sprites-retina: sprite-map("sprites-retina/*.png") | |
=sprite-background($name) | |
background-image: sprite-url($sprites) | |
background-position: sprite-position($sprites, $name) | |
background-repeat: no-repeat | |
display: block | |
height: image-height(sprite-file($sprites, $name)) | |
width: image-width(sprite-file($sprites, $name)) |
This file contains 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
<!-- Mobile meta & links --> | |
<!-- Reference | |
Custom Icon and Image Creation Guidelines: | |
http://developer.apple.com/library/safari/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html | |
Configuring Web Applications: | |
http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html |
This file contains 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
//Proposed Susy syntax to create "The Fonmon" asymmetric grid layout. http://gridsetapp.com/specs/fonmon.php?gridset=show | |
$total-columns: 5; | |
$column-width: 200px, 96px, 96px, 96px, 200px; | |
// could use relative units: 1, 1 would be 50/50%. 1, 2 would be 33/66%, 1, 1, 1 would be 33/33/33% | |
$columns: column padding, column padding, column padding, column padding, …; //suggested multi dimensional syntax | |
$gutter-width: 30px; |
This file contains 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
remove_file 'Gemfile' | |
create_file 'Gemfile' | |
add_source "http://rubygems.org" | |
gem 'rails', '~> 3.2.8' | |
gem 'jquery-rails' | |
if yes?('PostgreSQL on development?') | |
gem 'pg' |
This file contains 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 icon-sprite-2x($sprite) { | |
$sprites: sprite-map("icon/*.png"); | |
text-indent: -9999px !important; | |
@include icon-sprite($sprite); | |
background-position: 0 round(nth(sprite-position($sprites, $sprite), 2) / 2); | |
height: image-height(sprite-file($sprites, $sprite)) / 2; | |
width: image-width(sprite-file($sprites, $sprite)) / 2; | |
background-size: (image-width(sprite-path($icon-sprites)) / 2) auto; | |
.ie & { | |
background-image: image-url("icon-1x/#{$sprite}.png") !important; |
OlderNewer