This file contains hidden or 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
/*! | |
* jQuery.scrollTo | |
* Copyright (c) 2007-2015 Ariel Flesler - aflesler ○ gmail • com | http://flesler.blogspot.com | |
* Licensed under MIT | |
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html | |
* @projectDescription Lightweight, cross-browser and highly customizable animated scrolling with jQuery | |
* @author Ariel Flesler | |
* @version 2.1.2 | |
*/ | |
;(function(factory) { |
This file contains hidden or 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
//took this: https://css-tricks.com/dont-overthink-it-grids/ and tweaked it | |
$pad: 40px; | |
.grid { | |
&:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
/* BREAK POINTS | |
* =============================================================== | |
* Thanks to ... | |
* This can be added outside a selector, or within! | |
* | |
* eg: | |
* @include breakpoint(medium) { | |
* //all the stuff for medium and up in here | |
* } | |
* and for old ie stylesheet: |
This file contains hidden or 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
/* FONT ICONS! | |
* =============================================================== | |
* Requires a font called 'Icons' - usually imported from fontello | |
* | |
* eg: | |
* @extend %icon-before-<icon-name>; | |
* or | |
* @extend %icon-after-<icon-name>; | |
*/ |
This file contains hidden or 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
Document.prototype.populate = function populate () { | |
//if no args are passed, don't bother doing anything | |
if (0 === arguments.length) return this; | |
var pop = this.$__.populate || (this.$__.populate = {}); | |
var args = utils.args(arguments); | |
var fn; | |
if ('function' == typeof args[args.length-1]) { |
This file contains hidden or 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
/* SITE UNIVERSALS | |
* | |
* Panels | |
* Text | |
* Buttons | |
* | |
*/ | |
/* COLOURS */ |