1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/css/docs.css

380 lines
9.4 KiB
CSS
Raw Normal View History

body {
2010-12-12 14:34:33 -05:00
font-size: 14px;
line-height: 21px;
color: #333;
background: #f6f6f6 url(../images/background.png);
2010-12-12 14:34:33 -05:00
font-family: "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
}
2010-09-27 15:21:45 -04:00
.container {
width: 950px;
2010-09-27 15:21:45 -04:00
margin: 0;
padding: 80px 0px 50px 50px;
}
p, li {
2009-12-21 11:41:45 -05:00
width: 625px;
}
2009-12-21 11:41:45 -05:00
a {
color: #191933;
}
2010-11-21 12:51:03 -05:00
h1, h2, h3, h4, h5, h6, b.header {
2010-12-12 14:34:33 -05:00
font-size: 18px;
color: #000;
2010-11-21 12:51:03 -05:00
margin-top: 40px;
margin-bottom: 15px;
text-shadow: #fff 0 1px 1px;
}
2009-12-21 11:41:45 -05:00
br.clear {
height: 0;
clear: both;
}
2010-02-21 17:59:17 -05:00
ul {
padding-left: 20px;
}
2009-12-21 11:41:45 -05:00
b.header {
display: block;
}
2009-12-24 12:54:12 -05:00
li {
2010-02-21 18:37:52 -05:00
margin-bottom: 10px;
2009-12-24 12:54:12 -05:00
}
table {
margin: 16px 0 0 13px; padding: 0;
width: 625px;
}
tr, td {
margin: 0; padding: 0;
}
td {
padding: 9px 15px 9px 0;
2011-01-02 21:43:53 -05:00
vertical-align: top;
}
table.definitions {
width: auto;
margin: 30px 0;
border-left: 5px solid rgba(0,0,0,0.2);;
}
table.definitions td {
text-align: center;
padding: 5px 20px;
}
2010-02-13 16:23:03 -05:00
code, pre, tt, textarea {
font-family: Monaco, Consolas, "Lucida Console", monospace;
font-size: 12px;
line-height: 18px;
color: #155;
2009-12-26 02:17:34 -05:00
white-space: pre-wrap;
word-wrap: break-word;
}
tt {
2010-12-24 14:02:10 -05:00
display: inline-block;
background: #fff;
border: 1px solid #dedede;
padding: 0px 0.2em;
}
pre {
border-left: 5px solid rgba(0,0,0,0.2);
padding: 3px 0 3px 12px;
font-size: 12px;
2009-12-21 11:41:45 -05:00
}
2010-02-22 17:14:51 -05:00
pre.no_bar {
border-left: 0;
margin-left: 0;
padding-left: 0;
}
2010-12-07 00:21:34 -05:00
.timestamp {
font-size: 11px;
2010-12-07 00:21:34 -05:00
font-weight: normal;
text-transform: uppercase;
2010-12-07 00:21:34 -05:00
}
div.anchor {
position: relative;
top: -90px;
2014-02-18 00:45:49 -05:00
margin: 0 0 -20px;
}
2009-12-21 11:41:45 -05:00
div.code {
position: relative;
background: #fff;
2010-12-24 14:02:10 -05:00
border: 1px solid #d8d8d8;
-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
-moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
2010-09-27 15:21:45 -04:00
zoom: 1;
2009-12-21 11:41:45 -05:00
}
div.code .minibutton {
2010-12-12 21:41:04 -05:00
text-transform: none;
2009-12-21 11:41:45 -05:00
position: absolute;
right: 8px; bottom: 8px;
}
2010-12-12 21:41:04 -05:00
div.code .load {
left: 8px; right: auto;
}
2010-02-13 16:23:03 -05:00
div.code pre, div.code textarea {
float: left;
width: 450px;
background: #fff;
border-left: 1px dotted #d0d0d0;
2010-12-12 21:41:04 -05:00
margin: 10px 0 15px 3px;
padding: 0 0 0 12px;
}
div.code pre:first-child {
border-left: 0;
2010-02-13 16:23:03 -05: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-08 19:27:38 -05:00
min-width: 490px;
left: 40px; right: 40px; top: 25px;
2010-12-21 21:28:31 -05:00
padding-left: 252px;
2010-09-27 15:21:45 -04:00
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#dadada));
background: -moz-linear-gradient(top, #f8f8f8, #dadada);
2010-08-04 23:14:34 -04: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;
2013-02-25 03:23:08 -05:00
outline: none;
position: absolute;
top: 0px; left: 10px;
}
2013-02-25 03:23:08 -05:00
#logo img {
margin: 5px 0 0 3px;
}
.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;
}
.navigation.toc {
border-left-width: 1px;
}
.navigation:hover,
.navigation.active {
2010-09-27 15:21:45 -04:00
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f8f8f8));
background: -moz-linear-gradient(top, #eee, #f8f8f8);
}
.navigation.active {
height: 51px;
2010-12-12 21:41:04 -05:00
color: #000;
background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#fff));
background: -moz-linear-gradient(top, #e5e5e5, #fff);
}
2010-08-04 23:14:34 -04:00
.navigation .button {
font-weight: bold;
}
2010-12-12 21:41:04 -05:00
.navigation .button::selection {
background: transparent;
}
.navigation .contents {
display: none;
position: absolute;
background: #fff;
opacity: 0.97;
2010-08-04 23:14:34 -04:00
top: 51px; left: 0;
padding: 5px 0;
2010-09-27 15:21:45 -04:00
margin-left: -1px;
2010-12-12 21:41:04 -05:00
border: 1px solid #aaa;
-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
-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;
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;
}
2010-12-12 21:41:04 -05:00
.navigation .contents.menu {
border-top: 0;
-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;
}
.navigation .contents.repl_wrapper {
padding: 0;
position: fixed;
width: auto; height: auto;
left: 40px; top: 90px; right: 40px; bottom: 30px;
background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#eaeaea));
}
.navigation .repl_bridge {
position: absolute;
height: 12px;
left: -1px; right: -1px;
bottom: -14px;
2010-12-12 21:41:04 -05:00
border: 1px solid #aaa;
z-index: 5;
2010-12-12 21:41:04 -05:00
background: #fff;
display: none;
2010-12-12 21:41:04 -05:00
border-top-color: #fff; border-bottom-color: #fff;
}
.navigation.active .repl_bridge {
display: block;
}
2010-12-12 21:41:04 -05:00
.navigation .code .minibutton {
top: 10px; right: 10px;
width: 40px;
text-transform: none;
}
.navigation .code a.minibutton.permalink {
top: 38px;
display: block;
}
.bookmark {
display: block;
width: 0; height: 0;
position: relative;
top: -90px;
}
2010-12-12 21:41:04 -05:00
.navigation .contents.repl_wrapper .code {
cursor: text;
2010-12-12 21:41:04 -05:00
-webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;
background: #181a3a url(../images/banding.png);
border: 2px solid #555;
padding: 0;
position: absolute;
top: 15px; left: 15px; right: 15px; bottom: 15px;
}
.repl_wrapper .screenshadow {
position: absolute;
width: 200px; height: 150px;
background: url(../images/screenshadow.png?2);
}
.repl_wrapper .screenshadow.tl {
top: 0; left: 0;
background-position: 0 0;
}
.repl_wrapper .screenshadow.tr {
top: 0; right: 0;
background-position: -200px 0;
}
.repl_wrapper .screenshadow.bl {
bottom: 0; left: 0;
background-position: 0 -150px;
}
.repl_wrapper .screenshadow.br {
bottom: 0; right: 0;
background-position: -200px -150px;
}
#repl_source, #repl_results {
background: transparent;
outline: none;
margin: 5px 0 20px;
2010-12-12 21:41:04 -05:00
color: #def;
2010-02-13 16:23:03 -05:00
}
2010-12-12 21:41:04 -05:00
#repl_results, #repl_source_wrap {
width: auto; height: auto;
position: absolute;
margin-bottom: 0;
top: 10px; left: 10px; right: 10px; bottom: 15px;
}
#repl_results.error {
color: red
}
2010-12-12 21:41:04 -05:00
#repl_source_wrap {
margin-left: 5px;
width: 47%; right: 50%;
2010-12-12 21:41:04 -05:00
float: left;
}
2010-12-24 14:02:10 -05:00
#repl_source {
padding-left: 5px;
width: 100%;
height: 100%;
border: 0;
overflow-y: auto;
resize: none;
}
#repl_results_wrap {
white-space: pre;
}
2010-12-24 14:02:10 -05:00
#repl_results {
text-transform: none;
overflow-y: auto;
left: 50%;
border-left-color: #555;
}
/*----------------------------- Mini Buttons ---------------------------------*/
.minibutton {
cursor: pointer;
color: #333;
text-shadow: #eee 0 1px 1px;
font-weight: bold;
font-size: 11px;
line-height: 11px;
padding: 5px 10px 6px;
height: 11px;
text-align: center;
-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
2010-12-12 21:41:04 -05:00
box-shadow: 0 1px 2px rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
border: 1px solid #b2b2b2; border-top-color: #c9c9c9; border-bottom-color: #9a9a9a;
background: url(../images/button_bg.png) repeat-x left top;
}
.minibutton:active {
border-color: #aaa;
box-shadow: 0 1px 2px #e4e4e4; -webkit-box-shadow: 0 1px 2px #e4e4e4; -moz-box-shadow: 0 1px 2px #e4e4e4;
}
.minibutton::selection {
background: transparent;
}
.minibutton ::-moz-selection {
background: transparent;
2010-12-12 21:41:04 -05:00
}
.minibutton.ok {
color: #fff;
background-image: url(../images/button_bg_green.gif);
border-color: #4ba47c; border-top-color: #53b388; border-bottom-color: #459671;
text-shadow: #aaa 0 -1px 0;
}
.minibutton.dark {
border: 0;
color: #fff;
box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
background-image: url(../images/button_bg_dark.gif);
text-shadow: none;
2013-02-25 03:23:08 -05:00
}
.minibutton.error {
opacity: 0.5;
color: #600;
cursor: not-allowed;
}