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
/** | |
* flexible fluid <figure> and <figcaption> | |
*/ | |
html * { font-size:100%; } | |
body { | |
background: #efefef; | |
min-height:100%; | |
font-size: 85%; |
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
/** | |
* img inline margin-bottom bug | |
*/ | |
html * { font-size:100.01%; } | |
body { | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 87.50%; /* 14px */ | |
background: #efefef; |
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(document).ready ($) -> | |
###* | |
* Init function for domready | |
* | |
* @return boolean true | |
### | |
init = -> | |
resetViewportMeta() | |
true |
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
# BEGIN Compress text files | |
<IfModule mod_deflate.c> | |
<FilesMatch "\.(x?html?|php|js|css)$"> | |
SetOutputFilter DEFLATE | |
</FilesMatch> | |
</IfModule> | |
# END Compress text files | |
# Expires Header + Removal of ETag | |
<FilesMatch "\.(ico|png|gif|js|css|jpg|jpeg|swf)"> |
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
// usage: log('inside coolFunc', this, arguments); | |
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ | |
window.log = function(){ | |
log.history = log.history || []; // store logs to an array for reference | |
log.history.push(arguments); | |
if(this.console) { | |
arguments.callee = arguments.callee.caller; | |
console.log( Array.prototype.slice.call(arguments) ); | |
} | |
}; |
NewerOlder