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
{"lastUpload":"2020-07-27T00:42:52.321Z","extensionVersion":"v3.4.3"} |
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: #222; color: #e6e6e6; } | |
a { color: #949494; } | |
a:link, a:visited { color: #949494; } | |
a:hover, a:active, a:focus { color: #c7c7c7; } | |
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; } |
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
$('html, body').animate({ scrollTop : 0 }, 0); | |
if(window.location.hash) { | |
setTimeout(function(){ | |
$('html, body').animate({ | |
scrollTop : $(window.location.hash).offset().top | |
}, 1500); | |
}, 1000); | |
} |
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').delegate('.load-more', 'click', function(e){ | |
//Vars | |
var | |
me = $(this), | |
target = me.attr('href'), | |
split = target.split('/'), | |
offset = split[split.length-1], | |
new_target = '', | |
container = me.attr('data-container'), |
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
$('[data-user-content]').find('a').on('click', function(){ | |
if( $(this).attr('href').indexOf('SITE_URL_HERE') >= 0 ){ | |
return true; | |
} | |
else{ | |
window.open($(this).attr('href'), '_blank'); | |
return false; | |
} | |
}); |
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
$('#toggle_search').on('click', function() | |
{ | |
var form = $(this).closest('form'); | |
//If search not already open, open it | |
if(!form.hasClass('open')){ | |
form.addClass('open'); | |
//Allow animation of form, then trigger focus on 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
@mixin spr($width, $height, $x, $y){ | |
width:$width; | |
height:$height; | |
background-position:$x $y; | |
} |
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
/* | |
UX: Dealing with dynamic pop ups. | |
Clicking/touching the html will close anything | |
with a class of 'open' | |
Sean Bullock | |
*/ | |
$('html').on('click touchstart', function(){ | |
$('.open').removeClass('open'); | |
}); |
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
.amp { | |
font-family: Baskerville, 'Goudy Old Style', Palatino, 'Book Antiqua', serif; | |
font-style: italic; | |
font-weight: normal; | |
} |
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 href="tel:1-408-555-5555">1-408-555-5555</a> | |
<a href="sms:1-408-555-1212">New SMS Message</a> |