After every change you make to the Apache or PHP config files you will need to restart the Apache web server.
By default PHP is disabled on OSX, so we'll need to turn that on.
mate /etc/apache2/httpd.conf
@mixin hires-graphic($file, $type, $width, $height) { | |
$file_name: $file + '.' + $type; | |
$retina_name: $file + '_2x.' + $type; | |
@media (-webkit-min-device-pixel-ratio: 2) { | |
& { | |
background-image: url('../images/' + $retina_name); | |
-webkit-background-size: $width $height; | |
} | |
} |
.two-columns { | |
overflow: hidden; | |
*zoom: 1; | |
position: relative; | |
} | |
.two-columns .column-one, .two-columns .column-two { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
-ms-box-sizing: border-box; |
$(document).ready(function() { | |
// Create, show, and hide grid toggle | |
$('body').append('<div id="grid"></div>'); | |
$('body').append('<a href="#" class="toggle-grid"><span class="show">Show Grid</span><span class="hide">Hide Grid</span></a>'); | |
$('a.toggle-grid').toggle(function() { | |
$('#grid').slideDown('fast'); | |
$('.toggle-grid .hide').show(); | |
$('.toggle-grid .show').hide(); | |
}, function() { |
#! /bin/bash | |
open $1 -a /Applications/iA\ Writer.app |
/* | |
Read more here: | |
https://developer.mozilla.org/en/CSS/@-moz-document | |
For more browser-specific hacks: | |
http://paulirish.com/2009/browser-specific-css-hacks | |
*/ | |
@-moz-document url-prefix() { | |
/* Put your Firefox specific code here. */ |
* Review this article and add new steps as needed: http://blog.therubymug.com/blog/2010/05/20/the-install-osx.html |
// Configure grid coordinates | |
$grid-columns: 24 | |
$grid-width: 30px | |
$grid-gutter-width: 10px | |
// Set to true by default. Can be set to false to clip content that overflows a grid block | |
// $overflow: false | |
@import grid-coordinates | |
+grid-coordinates |
namespace :styles do | |
# STATS | |
desc "Generate stats" | |
task :stats => ["stats:default"] | |
namespace :stats do | |
task :default do |