Spaces:
Running
Running
File size: 2,179 Bytes
87b3b3a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic|Inconsolata);
@import url(menu.css);
body {
background-color: #606060;
color: #fff;
text-shadow: 0px 1px 0px #000;
margin-left: 0px;
font-family: droid serif;
}
h1 {
text-align: center;
}
h1 span {
font-size: 50%;
margin-left: 1em;
}
a {
color: #fff;
}
pre, code, textarea {
font-family: inconsolata, monospace;
}
li {
line-height: 150%;
}
#content {
margin: 0 200px;
}
#footer {
margin-top: 1em;
text-align: center;
font-size: smaller;
}
.example {
margin: 0.5em 0;
border-bottom: 1px dotted #000;
padding-left: 1.1em;
}
.example .code {
width: 650px;
background-color: #777;
display: inline-block;
margin: 0;
border: none;
padding: .5em;
border-left: 2px dotted #3e3;
border-radius: 0 10px 10px 0;
min-height: 60px;
}
.example pre.code {
cursor: pointer;
}
.example textarea.code {
color: #000;
background-color: #eee;
text-shadow: none;
}
.example .result {
border-left: 2px dotted #e33;
font-family: inconsolata, monospace;
margin: 0;
padding: .5em;
min-height: 50px;
position: relative;
}
.example .result canvas {
margin-right: 5px;
}
.example:before {
content: "example";
position: absolute;
text-transform: uppercase;
text-shadow: -1px 0px 0px #000;
transform-origin: 100% 100%;
-o-transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
-webkit-transform-origin: 100% 100%;
transform: translate(-100%, -100%) rotate(-90deg);
-o-transform: translate(-100%, -100%) rotate(-90deg);
-ms-transform: translate(-100%, -100%) rotate(-90deg);
-moz-transform: translate(-100%, -100%) rotate(-90deg);
-webkit-transform: translate(-100%, -100%) rotate(-90deg);
}
.example .time {
text-align: right;
font-size: smaller;
}
.comparison {
padding-left: 1em;
}
.comparison li {
list-style-type: none;
}
.comparison li:before {
font-family: monospace;
font-size: 150%;
content: "• ";
font-weight: bold;
}
.comparison li.good:before {
content: "✔ ";
color: #0f0;
}
.comparison li.bad:before {
content: "✘ ";
color: #f00;
}
.performance li {
margin-bottom: 1em;
}
|