Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
238 lines (236 sloc) 4.85 KB
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
width: 100%;
background: #eee;
background-size: 10px 10px;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, .5) 25%, transparent 25%,
transparent 50%, rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, .5) 75%, transparent 75%,
transparent);
background-image: -moz-linear-gradient(45deg,
rgba(255, 255, 255, .5) 25%, transparent 25%,
transparent 50%, rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, .5) 75%, transparent 75%,
transparent);
background-image: -o-linear-gradient(45deg,
rgba(255, 255, 255, .5) 25%, transparent 25%,
transparent 50%, rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, .5) 75%, transparent 75%,
transparent);
background-image: -ms-linear-gradient(45deg,
rgba(255, 255, 255, .5) 25%, transparent 25%,
transparent 50%, rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, .5) 75%, transparent 75%,
transparent);
background-image: linear-gradient(45deg,
rgba(255, 255, 255, .5) 25%, transparent 25%,
transparent 50%, rgba(255, 255, 255, .5) 50%,
rgba(255, 255, 255, .5) 75%, transparent 75%,
transparent);
}
p {
margin: 1em 0;
line-height: 140%;
}
h1, h2 {
font-family: Lobster, sans-serif;
margin: 0;
font-weight: normal;
color: #5F8029;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 24px;
border-bottom: solid 1px rgba(0, 0, 0, .4);
/* prev/next buttons */
min-height: 30px;
padding: 2px 57px 2px 77px;
text-align: center;
}
body {
font-size: 14px;
font-family: sans-serif;
position: relative;
width: 1150px;
margin: 10px auto;
}
#console, #tutorial, aside {
border-radius: 3px;
padding: 5px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
}
a:link, a:visited, a:active {
color: #051;
}
#console {
width: 640px;
height: 380px;
position: absolute;
right: 0;
background: #FFFEE3;
z-index: 1;
overflow: auto;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #eee;
}
::-webkit-scrollbar-thumb {
background: #94C740;
}
#console .jquery-console-prompt-box {
color: #444;
}
#console, code, #ref {
font-family: "Dejavu Sans Mono", monospace;
}
.jquery-console-inner {
white-space: pre-wrap;
word-wrap: break-word;
}
code {
background: rgba(255, 255, 255, .2);
padding: 1px;
border-radius: 1px;
white-space: pre-wrap;
word-wrap: break-word;
cursor: pointer;
}
#tutorial {
position: absolute;
left: 0;
top: 20px;
width: 520px;
padding-right: 25px;
background: #C9E29F;
min-height: 400px;
}
article, section {
display: none;
}
aside {
background: #94C740;
position: absolute;
right: 40px;
top: 370px;
width: 480px;
padding-left: 25px;
padding-top: 20px;
z-index: -1;
}
footer {
text-align: center;
}
#ref {
position: absolute;
visibility: hidden;
}
#prev, #next {
position: absolute;
top: 5px;
height: 30px;
border-radius: 3px;
border: 0;
width: 50px;
background: #b9d28F;
cursor: pointer;
-webkit-transition: background-color .1s linear;
-moz-transition: background-color .1s linear;
-o-transition: background-color .1s linear;
-ms-transition: background-color .1s linear;
transition: background-color .1s linear;
}
#prev:hover, #next:hover {
background: #a9c27f;
}
#prev {
left: 5px;
}
#next {
right: 25px;
}
.jquery-console-cursor {
border: solid black 1px;
}
.jquery-console-focus .jquery-console-cursor {
background: black;
}
.collapse {
padding-left: 10px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAALCAYAAACzkJeoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwNOAJU8A8SCuCT/Y1WAJImpAE0SVQEWSbgCJtxOBeomxVicDsLpFayBABBgAFRgNawYTSvmAAAAAElFTkSuQmCC) no-repeat 0 2px;
}
.success, .failure {
cursor: pointer;
font-weight: bold;
}
aside strong {
font-weight: normal;
display: inline-block;
}
strong:first-letter {
text-decoration: underline;
}
section {
overflow: hidden;
}
.share-buttons {
text-align: center;
}
.share-buttons > iframe, .share-buttons > div {
vertical-align: middle !important;
}
@media screen and (min-width: 800px) and (max-width: 1200px) {
body {
width: 98% !important;
}
}
@media screen and (min-width: 800px) and (max-width: 1000px) {
#console, #ref {
font-size: 12px;
}
aside {
width: 380px;
}
}
@media screen and (min-width: 700px) and (max-width: 800px) {
#console, #ref {
font-size: 8px;
}
body {
width: 99%;
}
aside {
width: 300px;
}
}
@media screen and (max-width: 700px) {
#console, #ref {
font-size: 8px;
}
#console {
height: 200px;
}
#console, aside, #tutorial {
position: relative !important;
top: 0;
left: 0;
width: 100% !important;
min-height: 0 !important;
padding: 5px;
}
body {
width: 100%;
margin: 0;
}
}