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) ); | |
} | |
}; |
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
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
/** | |
* 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
/** | |
* 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
/** | |
* Round corners in Chrome and Safari | |
*/ | |
/* just layout */ | |
html { font-size: 100.00%; } | |
html, body { min-height:100%; } | |
body { | |
background: #ccc; | |
font-size: 87.5%; |
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
/** | |
* YAML 3col layout with fixed sidebars (left and right) | |
* col1 | col2 | col3 | |
*/ | |
body { | |
background: #efefef; | |
} | |
.ym-wrapper { |
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
/** | |
* 100% navigation with display:table | |
*/ | |
body { | |
padding: 10px; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 87.50%; | |
background: #ddd; | |
} |
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
/** | |
* outer DIV to 100% | |
*/ | |
html * { font-size:100%; } | |
body { | |
padding: 0; | |
margin: 0; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 87.50%; |
OlderNewer