Skip to content

Instantly share code, notes, and snippets.

View AndrewSepic's full-sized avatar

Andrew AndrewSepic

  • Mapbox
  • Earth, for now
View GitHub Profile
@AndrewSepic
AndrewSepic / boilerplate.sass
Created May 29, 2018 19:57
SASS BoilerPlate
/*********************
/* COLORS MIXINS
/*********************
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,700,900')
$font-stack: 'Lato', Helvetica, Arial, sans-serif
/* Color */
$orange: #EF7A23
<form name="checkout" method="post" class="checkout woocommerce-checkout" action="http://www.viraone.com/checkout/" enctype="multipart/form-data">
<div class="col2-set" id="customer_details">
<div class="col-1">
<div class="woocommerce-billing-fields">
<h3>Billing Details</h3>
<span class="international">Outside Canada or the U.S.? <a href="mailto:info@viraone.com">Email us</a> to order.</span>
function fireModal(){
// Creates Modal window Markup
var modal = (function(){
var
method = {},
$overlay,
$modal,
$content,
$close;
<?php
/**
* Template Name: Homepage
*
* Here we setup all logic and HTML that is required for the index template, used as both the homepage
* and as a fallback template, if a more appropriate template file doesn't exist for a specific context.
*
* @package WooFramework
* @subpackage Template
*/
@AndrewSepic
AndrewSepic / wordpress-foundation-shortcodes.php
Last active August 29, 2015 14:27
A simple bit of Wordpress code to add Shortcodes for Foundation's Grid and buttons
<?php
/********************************/
/* SHORTCODES */
/********************************/
/* COLUMNS */
// [row]
function row_shortcode( $atts, $content = null ){
return '<div class="row">' . do_shortcode($content) .'</div>';