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
body { background-color: #2574b0; } | |
body { | |
font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
padding: 100px; | |
background: #fff; | |
} | |
table{ | |
border-spacing: .5em; |
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
body{ | |
background: #f9f9f9; | |
} | |
div, article, section, p, ul, li html, body{ | |
margin: 0; | |
padding:0; | |
} | |
@-webkit-keyframes swing{ |
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
/*--- | |
Normal state | |
---*/ | |
a, a:link, a:visited{ | |
-webkit-transition: all .3s ease-out; | |
-moz-transition: all .3s ease-out; | |
-o-transition: all .3s ease-out; | |
transition: all .3s ease-out; | |
} |
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
(function($){ | |
$.fn.kedit = function() { | |
var konami_keys = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]; | |
var konami_index = 0; | |
this.keydown(function(e){ | |
if(e.keyCode === konami_keys[konami_index++]){ | |
if(konami_index === konami_keys.length){ | |
$(document).unbind('keydown', arguments.callee); | |
$('article, aside, header, footer, p, li, span').dblclick(function(e){ | |
var $this = $(this); |
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
if ($("html").is(".lt-ie9")){ | |
$('a[href*="pdf"]').after(' <span class=".fuie">(PDF)</span>').css("display","inline"); |
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
.raven{ | |
margin-left: 15em; | |
width: 21em; | |
border-top: .125em solid #333; | |
border-right: .125em solid #333; | |
border-bottom: .125em solid #333; | |
margin-right: 1em; | |
} | |
.raven p{ |
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
/** | |
* Font sizing demonstration | |
*/ | |
html { | |
color: #333; | |
font-family: Helvetica, Arial; | |
line-height:1.618; | |
} |
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
/** | |
* Font sizing demonstration | |
*/ | |
html { | |
color: #333; | |
font-family: Helvetica, Arial; | |
line-height:1.618; | |
} |
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
DOMTokenList.prototype.removeByPartial = function (className) { | |
for (var i = 0; i< this.length; i++) { | |
if (this[i].indexOf(className) !== -1) { | |
this.remove(this[i]); | |
} | |
} | |
}; |
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
::before, ::after{ | |
font-size: .75em; | |
padding: 0 1em; | |
text-decoration:none; | |
position:relative; | |
left: -2em; | |
} | |
::before{ | |
color:blue; | |
top:-1em; |