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> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Time -> Decimal</title> | |
<style type="text/css"> | |
*, *:before, *:after { | |
box-sizing: border-box; | |
} |
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
(function() { | |
jQuery("a").filter( function(i, el) { | |
var startOfUrl = location.protocol + "//" + location.hostname; | |
var target = el.href.indexOf( startOfUrl ) === 0; | |
if ( target === false ) { | |
jQuery(this).on( "click", function(e) { | |
e.preventDefault(); | |
window.open( jQuery(this).attr("href"), "_blank" ); | |
}); |
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
// | |
// Animated gradients | |
// | |
// Adapted from: https://medium.com/@dave_lunny/animating-css-gradients-using-only-css-d2fd7671e759 | |
// | |
@mixin animated-gradient( | |
$staticStart: null, | |
$staticEnd: null, | |
$hoverStart: null, |
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
/** | |
* Custom Flexslider destroy function | |
* https://www.snip2code.com/Snippet/688978/Destroy-flexslider-carousel | |
*/ | |
function FlexDestroy(selector, carouselWrapper, slideItem) { | |
var $els = $(selector); | |
$els.each(function() { | |
var $el = $(this); | |
var $elClean = $el.clone(); | |
$elClean.find('.flex-viewport').children().unwrap(); |
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
// | |
// Grid | |
// | |
// Uses https://thingsym.github.io/flexbox-grid-mixins/ | |
// | |
// override these in your own variables | |
$grid-column-count: 12 !default; | |
$grid-gutter: 2.5% !default; | |
$grid-activation-breakpoint: "min-width: 960px" !default; |
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
<div class="gform_wrapper"> | |
<form action=""> | |
<div class="gform_body"> | |
<ul class="gform_fields top_label form_sublabel_below description_below"> | |
<li class="gfield gf_left_half"> | |
<div class="ginput_container"> | |
<label class="gfield_label">First Name <span class="gfield_required">*</span></label> | |
<input type="text" class="medium"> | |
</div> |
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
/** | |
* Custom media gallery output | |
*/ | |
add_filter( 'post_gallery', 'big_sea_custom_post_gallery', 10, 2 ); | |
remove_shortcode('gallery'); | |
add_shortcode('gallery', 'big_sea_custom_post_gallery'); | |
function big_sea_custom_post_gallery( $atts ) { | |
global $post; | |
$pid = $post->ID; |
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
/** | |
* Custom media gallery output | |
*/ | |
add_filter( 'post_gallery', 'big_sea_custom_post_gallery', 10, 2 ); | |
remove_shortcode('gallery'); | |
add_shortcode('gallery', 'big_sea_custom_post_gallery'); | |
function big_sea_custom_post_gallery( $atts ) { | |
global $post; | |
$pid = $post->ID; |
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
.gform_wrapper select,.gform_wrapper textarea{font-family:inherit;letter-spacing:normal;font-size:inherit}.gform_wrapper .gf_progressbar:after,.gform_wrapper ol.validation_list:after{content:""}.gform_wrapper{margin:16px 0;max-width:100%}.gform_wrapper form{text-align:left;max-width:100%;margin:0 auto}.gform_wrapper *,.gform_wrapper :after,.gform_wrapper :before{box-sizing:border-box!important}.gform_wrapper h1,.gform_wrapper h2,.gform_wrapper h3{font-weight:400;border:none;background:0 0}.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){font-size:inherit;font-family:inherit;padding:5px 4px;letter-spacing:normal}.gform_wrapper input[type=image]{border:none!important;padding:0!important;width:auto!important}.gform_wrapper textarea{padding:6px 8px;line-height:1.5;resize:none}.gform_wrapper select{line-height:1.5}.gform_wrapper .ginput_container_multiselect select{background-image:none!important;-webkit-appearance:none;-moz-appear |
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
# | |
# ScrollToTop | |
# | |
class ScrollToTop | |
constructor: () -> | |
@window = jQuery window | |
@document = jQuery "body" | |
@btn = jQuery ".scroll-to-top" |