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
module.exports = function(grunt) { | |
"use strict"; | |
// ------------------------------------------------------------------------- | |
// #### Load plugins as needed #### | |
// Using a 'just in time' approach -- meaning: only load plugins when they | |
// are needed -- this will automatically find, then load, any and all | |
// plugins that are needed by the task currently being executed. It will | |
// scan the devDependencies object, in package.json, and match any of the |
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
// Pure Javascript way of finding scroll direction | |
// Tested better than jQuery alternative | |
// http://jsperf.com/javascript-vs-jquery-find-scroll-direction | |
var scrollTop = (window.pageYOffset !== | |
undefined) ? window.pageYOffset : ( | |
document.documentElement || | |
document.body.parentNode || | |
document.body).scrollTop, | |
position = document.body.scrollTop; |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
/*------------------------------------*\ | |
$CONTENTS | |
\*------------------------------------*/ | |
/** | |
* CONTENTS............You’re reading it! | |
* RESET...............Set our reset defaults | |
* FONT-FACE...........Import brand font files | |
* ELEMENTS............Unclassed elements (h1, ul, etc.) | |
* COMPONENTS..........Full components constructed from objects and their extensions | |
* STYLE TRUMPS........Error states, etc. |
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> | |
<meta name=viewport content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> | |
<title></title> | |
<link rel="stylesheet" href="css/style.css"> | |
</head> | |
<body> | |
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
.ir { | |
background-color: transparent; | |
border: 0; | |
overflow: hidden; | |
/* IE 6/7 fallback */ | |
*text-indent: -9999px; | |
} | |
.ir:before { | |
content: ""; |