A Pen by Ahmad Awais on CodePen.
Created
December 4, 2013 08:26
-
-
Save ahmadawais/7784070 to your computer and use it in GitHub Desktop.
A Pen by Ahmad Awais.
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
<link rel='stylesheet' href='http://wavded.github.io/humane-js/themes/original.css'/> | |
<script src='http://wavded.github.io/humane-js/humane.js'></script> | |
<pre>humane.log("Welcome Bak")</pre> |
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
humane.baseCls = 'humane-original' | |
var pretags = document.getElementsByTagName('pre') | |
for (var i = 0; i < pretags.length; i++) { (function(el){ | |
el.onclick = function () { | |
eval(el.innerHTML) | |
} | |
}(pretags[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
body { | |
font-family: Ubuntu, sans-serif; | |
padding: 80px; | |
background-color: #60D6A7; | |
} | |
h1,h3 { | |
font-family: 'Cabin Sketch', serif; | |
text-shadow: -1px 0px 1px #aaa; | |
} | |
h1 { | |
font-size: 4em; | |
margin: 0 | |
} | |
h3 { | |
font-size: 2em; | |
margin: 0 | |
} | |
select { | |
font-size: 0.8em; | |
} | |
a { | |
text-decoration: none; | |
color: #a13; | |
font-weight: bold; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
pre { | |
font-family: "Ubuntu Mono"; | |
font-size: 0.9em; | |
width: 75%; | |
background-color: #007143; | |
border-radius: 6px; | |
padding: 5px 10px; | |
color: #fff; | |
cursor: pointer; | |
text-shadow: -1px 1px 1px #333; | |
box-shadow: 0px 8px 8px -8px #333; | |
-moz-transition: all 0.3s ease-out; | |
-webkit-transition: all 0.3s ease-out; | |
-ms-transition: all 0.3s ease-out; | |
-o-transition: all 0.3s ease-out; | |
transition: all 0.3s ease-out; | |
} | |
pre:hover { | |
background-color: #00ae68; | |
} | |
blockquote { | |
font-size: 0.8em | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment