jashkenas--coffeescript/documentation/css/docs.css

313 lines
7.7 KiB
CSS
Raw Normal View History

body {
font-size: 13px;
2009-12-21 16:41:45 +00:00
line-height: 20px;
color: #000;
background: #f6f6f6 url(../images/background.png);
2010-11-21 17:59:21 +00:00
font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
}
2010-09-27 19:21:45 +00:00
.container {
width: 950px;
2010-09-27 19:21:45 +00:00
margin: 0;
padding: 80px 0px 50px 50px;
}
p, li {
2009-12-21 16:41:45 +00:00
width: 625px;
}
2009-12-21 16:41:45 +00:00
a {
color: #000055;
}
2010-11-21 17:51:03 +00:00
h1, h2, h3, h4, h5, h6, b.header {
margin-top: 40px;
margin-bottom: 15px;
}
2009-12-21 16:41:45 +00:00
br.clear {
height: 0;
clear: both;
}
2010-02-21 22:59:17 +00:00
ul {
padding-left: 20px;
}
2009-12-21 16:41:45 +00:00
b.header {
color: #000055;
display: block;
font-size: 16px;
}
2009-12-24 17:54:12 +00:00
li {
2010-02-21 23:37:52 +00:00
margin-bottom: 10px;
2009-12-24 17:54:12 +00:00
}
table {
margin: 16px 0 0 13px; padding: 0;
width: 625px;
}
tr, td {
margin: 0; padding: 0;
}
td {
padding: 9px 15px 9px 0;
}
table.definitions {
width: auto;
margin: 30px 0;
border-left: 6px solid #ccccdd;
}
table.definitions td {
text-align: center;
padding: 5px 20px;
}
2010-02-13 21:23:03 +00:00
code, pre, tt, textarea {
font-family: Monaco, Consolas, "Lucida Console", monospace;
font-size: 12px;
line-height: 18px;
color: #191955;
2009-12-26 07:17:34 +00:00
white-space: pre-wrap;
word-wrap: break-word;
}
tt {
background: #fff;
border: 1px solid #dedede;
padding: 0px 0.2em;
}
pre {
border-left: 6px solid #ccccdd;
padding: 3px 0 3px 12px;
font-size: 12px;
2009-12-21 16:41:45 +00:00
}
2010-02-22 22:14:51 +00:00
pre.no_bar {
border-left: 0;
margin-left: 0;
padding-left: 0;
}
2010-12-07 05:21:34 +00:00
.timestamp {
font-size: 12px;
font-weight: normal;
color: black;
}
2009-12-21 16:41:45 +00:00
div.code {
position: relative;
background: #fff;
-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
2010-09-27 19:21:45 +00:00
zoom: 1;
2009-12-21 16:41:45 +00:00
}
div.code button {
position: absolute;
right: 8px; bottom: 8px;
}
2010-02-13 21:23:03 +00:00
div.code pre, div.code textarea {
float: left;
width: 450px;
background: #fff;
border-left: 1px dotted #d0d0d0;
padding: 10px 0 15px 15px;
margin: 0;
}
div.code pre:first-child {
border-left: 0;
2010-02-13 21:23:03 +00:00
}
#fadeout {
z-index: 50;
position: fixed;
left: 0; top: 0; right: 0;
height: 100px;
background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 255)), to(rgba(255, 255, 255, 0)));
background: -moz-linear-gradient(top, rgba(255, 255, 255, 255), rgba(255, 255, 255, 0));
}
#flybar {
position: fixed;
z-index: 100;
height: 50px;
2010-03-09 00:27:38 +00:00
min-width: 490px;
left: 40px; right: 40px; top: 25px;
padding-left: 235px;
2010-09-27 19:21:45 +00:00
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#dadada));
background: -moz-linear-gradient(top, #f5f5f5, #d0d0d0);
2010-08-05 03:14:34 +00:00
border: 1px solid #aaa;
border-top: 1px solid #bbb;
border-bottom: 1px solid #888;
-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.1);
-moz-box-shadow: 0 3px 5px rgba(0,0,0,0.1);
box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}
#logo {
display: block;
width: 215px; height: 50px;
2010-02-27 00:10:56 +00:00
background: url('../images/logo.png');
position: absolute;
top: 0px; left: 10px;
}
2010-02-26 01:39:34 +00:00
#error {
position: absolute;
-webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
2010-09-27 19:21:45 +00:00
right: 15px; top: 15px; left: 730px;
2010-02-26 01:39:34 +00:00
height: 15px;
padding: 2px 5px;
background: #fdcdcc;
color: #864544;
border: 1px solid #864544;
font-size: 10px;
line-height: 15px;
2010-02-26 01:39:34 +00:00
overflow: hidden;
text-transform: uppercase;
}
.navigation {
height: 50px;
font-size: 11px;
line-height: 50px;
text-transform: uppercase;
position: relative;
float: left;
padding: 0 20px;
border: 1px solid #aaa;
border-top: 0; border-bottom: 0; border-left-width: 0;
cursor: pointer;
}
body.full_screen .navigation {
position: static;
}
.navigation.toc {
border-left-width: 1px;
}
.navigation:hover,
.navigation.active {
2010-09-27 19:21:45 +00:00
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#fff));
background: -moz-linear-gradient(top, #eee, #fff);
}
.navigation.active {
height: 51px;
background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#fff));
background: -moz-linear-gradient(top, #e5e5e5, #fff);
}
2010-08-05 03:14:34 +00:00
.navigation .button {
font-weight: bold;
}
.navigation .contents {
display: none;
position: absolute;
background: #fff;
opacity: 0.97;
2010-08-05 03:14:34 +00:00
top: 51px; left: 0;
padding: 5px 0;
2010-09-27 19:21:45 +00:00
margin-left: -1px;
border: 1px solid #aaa; border-top: 0;
-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
-webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0; border-top-left-radius: 0;
-webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; border-top-right-radius: 0;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
-moz-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.navigation .contents a {
display: block;
width: 290px;
text-transform: none;
text-decoration: none;
font-weight: normal;
height: 12px;
line-height: 12px;
padding: 4px 10px;
border: 1px solid transparent;
border-left: 0; border-right: 0;
}
.navigation .contents a:hover {
border-color: #ddd;
background: #eee;
}
.navigation.active .contents {
display: block;
}
.navigation .contents.repl_wrapper {
left: -162px;
width: 700px;
padding: 0;
}
body.full_screen .navigation .contents.repl_wrapper {
position: fixed;
width: auto; height: auto;
2010-09-27 19:21:45 +00:00
left: 60px; top: 77px; right: 60px; bottom: 30px;
}
.navigation .contents.repl_wrapper .code {
-webkit-box-shadow: none; -moz-box-shadow: none;
background: transparent;
border: 0;
position: static;
}
body.full_screen .navigation .contents.repl_wrapper .code {
height: 100%;
padding: 0; margin: 0;
}
.navigation .code button {
bottom: 10px;
text-transform: none;
2010-09-27 19:21:45 +00:00
line-height: 14px;
left: auto; right: auto;
}
2010-09-27 19:21:45 +00:00
.navigation .code .run {
width: 40px;
right: 10px;
}
.navigation .code .full_screen, .navigation .code .minimize {
left: 10px;
display: none;
2010-09-27 19:21:45 +00:00
width: 90px;
}
2010-09-27 19:21:45 +00:00
body.minimized .code .full_screen, body.full_screen .code .minimize {
display: inline;
}
.bookmark {
display: block;
width: 0; height: 0;
position: relative;
top: -90px;
}
#repl_source, #repl_results {
background: transparent;
outline: none;
margin: 5px 0 20px;
2010-02-13 21:23:03 +00:00
}
#repl_source_wrap {
margin-left: 5px;
height: 250px;
width: 307px;
position: relative;
float: left;
}
#repl_source {
width: 96%;
2010-09-27 19:21:45 +00:00
height: 250px;
border: 0;
resize: none;
}
#repl_results {
font-family: Monaco, Consolas, "Lucida Console", monospace;
text-transform: none;
font-weight: normal;
height: 260px;
margin-bottom: 25px;
overflow-y: auto;
width: 370px;
}
body.full_screen #repl_results, body.full_screen #repl_source_wrap {
width: auto; height: auto;
position: absolute;
margin-bottom: 0;
top: 10px; left: 10px; right: 10px; bottom: 40px;
}
2010-09-27 19:21:45 +00:00
body.full_screen #repl_source {
height: 100%;
}
body.full_screen #repl_source_wrap {
right: 50%;
}
body.full_screen #repl_results {
left: 50%;
}