I hereby claim:
- I am zumwalt on github.
- I am zumwalt (https://keybase.io/zumwalt) on keybase.
- I have a public key ASDbV9vAwUtbaSGSUwbqOQPDYn4AC0MOW2mQUGZlIPAV5Ao
To claim this, I am signing this object:
@include (.*?)\((.*?)\); |
I hereby claim:
To claim this, I am signing this object:
function is_tree( $pid ) { // $pid = The ID of the page we're looking for pages underneath | |
global $post; // load details about this page | |
if ( is_page($pid) ) | |
return true; // we're at the page or at a sub page | |
$anc = get_post_ancestors( $post->ID ); | |
foreach ( $anc as $ancestor ) { | |
if( is_page() && $ancestor == $pid ) { | |
return true; |
.calc(@expression) { | |
width: -moz-calc(@expression); | |
width: -o-calc(@expression); | |
width: -webkit-calc(@expression); | |
width: calc(@expression); | |
} |
@font-face { | |
font-family: "San Francisco Text"; | |
font-weight: 300; | |
src: url("../fonts/sanfranciscotext-light-webfont.woff"); | |
} | |
@font-face { | |
font-family: "San Francisco Text"; | |
font-weight: 400; | |
src: url("../fonts/sanfranciscotext-regular-webfont.woff"); |
@mixin icon-setup($icon, $width, $height, $padding:"") { | |
padding-left: $width + 9; | |
position: relative; | |
&:before { | |
@include icon-sprite($icon); | |
content: ''; | |
display: inline-block; | |
height: $height; | |
left: 5px; | |
position: absolute; |
$('#element').bind('mousewheel DOMMouseScroll', function(e) { | |
var scrollTo = null; | |
if (e.type == 'mousewheel') { | |
scrollTo = (e.originalEvent.wheelDelta * -1); | |
} | |
else if (e.type == 'DOMMouseScroll') { | |
scrollTo = 40 * e.originalEvent.detail; | |
} |
Vagrant::Config.run do |config| | |
config.vm.define :wpvm do |wp_config| | |
# Box | |
wp_config.vm.box = "precise32" | |
# Box URL | |
wp_config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
# Access via IP. |
@mixin calc($property, $expression) { | |
#{$property}: -moz-calc(#{$expression}); | |
#{$property}: -o-calc(#{$expression}); | |
#{$property}: -webkit-calc(#{$expression}); | |
#{$property}: calc(#{$expression}); | |
} |