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
a { | |
font: bold 18px/1.2 sans-serif; | |
text-decoration: none; | |
} | |
a:hover { font-size: 0; } | |
a:hover:before { | |
font-size: 18px; | |
content: attr(data-hover); |
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
<script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script> |
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
<?php | |
/** | |
* Return a custom field stored by the Advanced Custom Fields plugin | |
* | |
* @global $post | |
* @param str $key The key to look for | |
* @param mixed $id The post ID (int|str, defaults to $post->ID) | |
* @param mixed $default Value to return if get_field() returns nothing | |
* @return mixed | |
* @uses get_field() |
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
// Pump it! | |
(function() { | |
var $el = $('#logo'), // <-- Change to whatever | |
canPump = true, | |
pumpTL = new TimelineLite({ | |
paused: true, | |
onStart: function() { canPump = false; }, | |
onComplete: function() { canPump = true; } | |
}); | |
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
<?php | |
$query = $_GET["q"]; | |
if (!isset ($query)) echo 'NO QUERY PASSED TO TWITTER PROXY'; | |
$cache = dirname(__FILE__) . '/cache/twitter-' . urlencode($query) . '.txt'; | |
// How long we'll allow the cached file to live. | |
$cacheDur = 60 * 3; | |
// Check if cached file exist and if it's older than a specific number of seconds |
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
/****************************************************************** | |
UI COMPONENTS | |
******************************************************************/ | |
/* | |
* BUTTONS | |
*/ | |
/* line 177, ../sass/_default.scss */ | |
a.btn, .widget li[id*=menu-item] a, .widget .blogroll a, button.btn { | |
display: block; | |
position: relative; |
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
/****************************************************************** | |
UI COMPONENTS | |
******************************************************************/ | |
/* | |
* BUTTONS | |
*/ | |
/* line 177, ../sass/_default.scss */ | |
a.btn, .widget li[id*=menu-item] a, .widget .blogroll a, button.btn { | |
display: block; | |
position: relative; |
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
/****************************************************************** | |
FORM STYLES | |
******************************************************************/ | |
/* line 1208, ../sass/_default.scss */ | |
form { | |
margin-bottom: 15px; | |
margin-top: -10px; } | |
/* line 1212, ../sass/_default.scss */ | |
form input[type=email] { |
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
body { | |
background: url(images/bg.jpg) no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
// god dammit, IE. | |
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', sizingMethod='scale'); | |
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', 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
/** | |
* Do not wrap! | |
*/ | |
#wrap { | |
width: 100%; | |
height: 400px; | |
padding: 0; | |
overflow: hidden; | |
background: gray; |