Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Created December 4, 2013 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/7784070 to your computer and use it in GitHub Desktop.
Save ahmadawais/7784070 to your computer and use it in GitHub Desktop.
A Pen by Ahmad Awais.
<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>
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])) }
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