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
// $bg-img-path: '../path/to/image.jpg' | |
// $bg-options: options are css background properties (ex. no-repeat center center) | |
@mixin bg-cover($bg-img-path, $bg-options) { | |
background: url($bg-img-path) $bg-options; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{$bg-img-path}', sizingMethod='scale'); | |
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{$bg-img-path}', sizingMethod='scale')"; |
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
<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/images/touch_icons/touchicon.png"> | |
<link rel="icon" href="<?php echo get_template_directory_uri(); ?>/favicon.png"> | |
<!--[if IE]><link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico"><![endif]--> | |
<!-- or, set /favicon.ico for IE10 win --> | |
<meta name="msapplication-TileColor" content="#D83434"> | |
<meta name="msapplication-TileImage" content="<?php echo get_template_directory_uri(); ?>/images/touch_icons/tileicon.png"> |
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
.foo { | |
background: url('../path/to/image.jpg'); | |
background-color: #e6eff2; | |
@include animate(animate-bg, 18s, 0, linear, both); | |
-webkit-animation-iteration-count: infinite; | |
animation-iteration-count: infinite; | |
} |
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
var center; | |
function calculateCenter() { | |
center = map.getCenter(); | |
} | |
google.maps.event.addDomListener(map, 'idle', function() { | |
calculateCenter(); | |
}); | |
google.maps.event.addDomListener(window, 'resize', function() { | |
map.setCenter(center); | |
}); |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
//--------------------------- | |
// | |
// Color variables | |
// | |
// Inspired by/based on Erskine's color palette structure: | |
// http://erskinedesign.com/blog/friendlier-colour-names-sass-maps/ |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
//--------------------------- | |
// | |
// Color variables | |
// | |
// Inspired by/based on Erskine's color palette structure: | |
// http://erskinedesign.com/blog/friendlier-colour-names-sass-maps/ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<title>Stripe Sample Form</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
<script type="text/javascript"> |
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 first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 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
// ---- | |
// Sass (v3.4.1) | |
// Compass (v1.0.1) | |
// ---- | |
$currentDate: current-date('%A, %b %e %Y'); | |
$currentTime: current-time('%T %p %Z'); | |
/* | |
Date: #{$currentDate} |
NewerOlder