Skip to content

Instantly share code, notes, and snippets.

// define @font-face with compass
@include font-face("KlavikaBold-Basic", font-files("KlavikaBasic-Bold_latin.woff", "KlavikaBasic-Bold_latin.ttf", "KlavikaBasic-Bold_latin.svg"), "KlavikaBasic-Bold_latin.eot");
// define font-family on html tag
h1 {
font-family: KlavikaBold-Basic;
}
@ABooooo
ABooooo / new_gist_file_0
Created April 9, 2015 20:29
Add files and folder to repos
git add .
git commit -m "comment"
git push
@ABooooo
ABooooo / jquery.easing.js
Created April 14, 2015 06:57
Uses the built in easing capabilities added In jQuery 1.1 to offer multiple easing options
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
/*!
* imagesLoaded PACKAGED v3.1.4
* JavaScript is all like "You images are done yet or what?"
* MIT License
*/
/*
* Namespace changed by David Blanco to imagesLoadedMB
*/
/*!
* Isotope PACKAGED v2.0.0
* Filter & sort magical layouts
* http://isotope.metafizzy.co
*/
/**
* Bridget makes jQuery widgets
* v1.0.1
*/
/*!
* Isotope PACKAGED v2.0.0
* Filter & sort magical layouts
* http://isotope.metafizzy.co
*/
/*
* Namespace changed by David Blanco to IsotopeMB
*/
/*! Magnific Popup - v0.9.9 - 2014-09-06
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2014 Dmitry Semenov; */
;(function($) {
/*>>core*/
/**
*
* Magnific Popup Core JS file
*
/* =======================================================
*
* Media Boxes
* Version: 2.6
* By David Blanco
*
* Contact: http://codecanyon.net/user/davidbo90
* Created: March 11, 2014
*
/*!
* jQuery Transit - CSS3 transitions and transformations
* (c) 2011-2012 Rico Sta. Cruz
* MIT Licensed.
*
* http://ricostacruz.com/jquery.transit
* http://github.com/rstacruz/jquery.transit
*/
(function(k){k.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var d=document.createElement("div");var q={};function b(v){if(v in d.style){return v}var u=["Moz","Webkit","O","ms"];var r=v.charAt(0).toUpperCase()+v.substr(1);for(var t=0;t<u.length;++t){var s=u[t]+r;if(s in d.style){return s}}}function e(){d.style[q.transform]="";d.style[q.transform]="rotateY(90deg)";return d.style[q.transform]!==""}var a=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;q.transition=b("transition");q.transitionDelay=b("transitionDelay");q.transform=b("transform");q.transformOrigin=b("transformOrigin");q.filter=b("Filter");q.t
/* Modernizr 2.8.2 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-csstransitions-testprop-testallprops-domprefixes
*/
;window.Modernizr=function(a,b,c){function w(a){i.cssText=a}function x(a,b){return w(prefixes.join(a+";")+(b||""))}function y(a,b){return typeof a===b}function z(a,b){return!!~(""+a).indexOf(b)}function A(a,b){for(var d in a){var e=a[d];if(!z(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:y(f,"function")?f.bind(d||b):f}return!1}function C(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+m.join(d+" ")+d).split(" ");return y(b,"string")||y(b,"undefined")?A(e,b):(e=(a+" "+n.join(d+" ")+d).split(" "),B(e,b,c))}var d="2.8.2",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l="Webkit Moz O ms",m=l.split(" "),n=l.toLowerCase().split(" "),o={},p={},q={},r=[],s=r.slice,t,u={}.hasOwnProperty,v;!y(u,"undefined")&&!y(u.call,"undefined")?v=function(a,b){return u.