0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/pipe.css
2012-01-23 13:11:32 -08:00

562 lines
11 KiB
CSS

html {
-webkit-font-smoothing: antialiased;
}
body {
background: #46483e;
color: #eee;
font-size: 12px;
line-height: 180%;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
margin: 0;
padding-top: 40px;
border-top: 6px #8cc84b solid;
}
body.alt {
background: white;
color: #46483e;
}
img {
border: 0;
}
@media all and (min-height: 650px) { #toc { position: fixed; }}
#toctitle {
display: none;
}
h1, h2, h3, h4 {
color: #d2d8ba;
font-family: Helvetica, Arial, sans-serif;
margin-top: 2em;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
text-transform: uppercase;
}
h1 {
font-family: Georgia, FreeSerif, Times, serif;
font-size: 30px;
line-height: 36px;
text-transform: none;
color: #669900;
font-weight: normal;
margin-top: 1em;
}
h2 {
font-size: 12px;
font-weight: normal;
}
h1 code, h2 code, h3 code, h4 code,
h1 a, h2 a, h3 a, h4 a
{
color: inherit;
font-size: inherit;
}
#intro {
width: 775px;
margin: 0 auto;
text-align: center;
color: #d2d8ba;
/* preload platform-icons.png */
background-image: url(platform-icons.png);
background-repeat: no-repeat;
background-position: -1000px -1000px;
}
#intro p {
width: 680px;
line-height: 180%;
padding-top: 30px;
margin: 0 auto 30px auto;
font-size: 14px;
}
#intro.interior #logo {
margin-left: -130px;
}
#intro p.version {
padding-top: 10px;
font-size: 12px;
}
#intro .button {
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding: 6px 12px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 0 1px;
color: #46483e;
}
#intro .button:hover {
text-decoration: none;
}
#intro #downloadbutton {
background-color: #8BC84B;
}
#intro #downloadbutton:hover {
background-color: #73a53e;
}
#intro #docsbutton {
background-color: #9a9f8b;
}
#intro #docsbutton:hover {
background-color: #aab293;
}
#quotes {
text-align: center;
width: 100%;
background-color: #33342d;
margin-top: 40px;
padding-top: 20px;
padding-bottom: 20px;
}
#quotes h2 {
margin-top: 0;
}
#quotes ul {
display: block;
width: 775px;
margin: 0 auto;
padding-top: 20px;
}
#quotes ul li {
display: block;
text-align: left;
width: 180px;
float: left;
padding-right: 15px;
font-size: 11px;
}
#quotes ul li.ebay {
margin-top: -10px;
}
#quotes ul li.linkedin {
margin-top: -4px;
}
#quotes ul li.yahoo {
margin-top: -4px;
padding-right: 0;
}
#quotes ul li p span {
font-size: 10px;
}
#content {
width: 800px;
margin: 0 auto;
overflow: visible;
clear: both;
display: block;
}
#column1 {
width: 460px;
float: left;
}
#content p {
font-size: 14px;
}
#content h1 + p {
font-size: 18px;
line-height: 30px;
color: #46483e;
font-family: Georgia, FreeSerif, Times, serif;
}
#column2 {
width: 260px;
float: right;
}
#column1.interior {
width: 590px;
float: right;
padding-top: 20px;
}
#column2.interior {
width: 160px;
float: left;
margin-top: -50px;
overflow: visible;
}
#column2.interior li {
list-style-type: none;
}
#column2.interior li a {
display: block;
padding: 1px 0px 1px 40px;
color: #878b78;
text-transform: uppercase;
}
#column2.interior li a.home { background: url(icons-interior.png) no-repeat -158px 3px; }
#column2.interior li a.download { background: url(icons-interior.png) no-repeat -158px -21px; }
#column2.interior li a.about { background: url(icons-interior.png) no-repeat -158px -44px; }
#column2.interior li a.npm { background: url(icons-interior.png) no-repeat -158px -70px; }
#column2.interior li a.docs { background: url(icons-interior.png) no-repeat -158px -93px; }
#column2.interior li a.blog { background: url(icons-interior.png) no-repeat -158px -117px; }
#column2.interior li a.community { background: url(icons-interior.png) no-repeat -158px -140px; }
#column2.interior li a.logos { background: url(icons-interior.png) no-repeat -158px -164px; }
#column2.interior li a.jobs { background: url(icons-interior.png) no-repeat -158px -189px; }
#column2.interior li a.home.current { background-position: left 3px; }
#column2.interior li a.download.current { background-position: left -21px; }
#column2.interior li a.about.current { background-position: left -44px; }
#column2.interior li a.npm.current { background-position: left -70px; }
#column2.interior li a.docs.current { background-position: left -93px; }
#column2.interior li a.blog.current { background-position: left -117px; }
#column2.interior li a.community.current { background-position: left -140px; }
#column2.interior li a.logos.current { background-position: left -164px; }
#column2.interior li a.jobs.current { background-position: left -189px; }
#column2.interior li a.current { color: #8cc84b; font-weight: bold; }
#column2.interior li a.home:hover { background-position: -333px 3px; }
#column2.interior li a.download:hover { background-position: -333px -21px; }
#column2.interior li a.about:hover { background-position: -333px -44px; }
#column2.interior li a.npm:hover { background-position: -333px -70px; }
#column2.interior li a.docs:hover { background-position: -333px -93px; }
#column2.interior li a.blog:hover { background-position: -333px -117px; }
#column2.interior li a.community:hover { background-position: -333px -140px; }
#column2.interior li a.logos:hover { background-position: -333px -164px; }
#column2.interior li a.jobs:hover { background-position: -333px -189px; }
#column2.interior li a:hover { color: #000000; text-decoration: none; }
#column2.interior li + li {
border-top: 1px solid #c1c7ac;
}
#column2.interior p.twitter {
padding-top: 20px;
}
#column2.interior p.twitter a {
background: url(twitter-bird.png) no-repeat 0 4px;
padding-left: 37px;
}
.row {
padding-top: 20px;
padding-bottom: 20px;
}
.row + .row {
border-top: 1px solid #626557;
}
.row h2 {
font-size: 24px;
color: white;
text-transform: none;
font-family: Georgia, FreeSerif, Times, serif;
background: url(community-icons.png) no-repeat;
padding-left: 45px;
padding-top: 6px;
padding-bottom: 10px;
margin-top: 10px;
}
.row h2.github { background-position: left -92px; }
.row h2.mailing { background-position: left -308px; }
.row h2.periodicals { background-position: left -198px; padding-top: 9px; margin-top: 7px; }
.row h2.conferences { background-position: left -522px; }
.row h2.localized { background-position: left -414px; }
.row h2.irc { background-position: left -626px; }
.block {
width: 280px;
float: left;
}
.block + .block {
margin-left: 30px;
}
#content .block p {
font-size: 12px;
}
#explore {
background: url(home-icons.png) no-repeat left 11px;
}
#explore li {
list-style-type: none;
color: #d2d8ba;
line-height: 14px;
padding: 10px 0 10px 40px;
border-top: 1px solid #626557;
}
#explore li span {
}
#explore li a.explore {
text-transform: uppercase;
}
#explore ol.jobs {
padding: 0;
}
#explore ol.jobs li {
display: inline;
padding: 0;
border: none;
}
#explore ol.jobs li:after {
content: ', ';
}
#explore ol.jobs li:last-child:after {
content: '';
}
#footer {
width: 775px;
border-top: 1px solid #626557;
margin: 50px auto 30px auto;
padding-top: 15px;
}
#footer p {
color: #8BC84B;
font-size: 10px;
padding-left: 195px;
color: #878b78;
}
#footer p a {
text-decoration: underline;
color: #878b78;
}
#footer ul {
background: url(footer-logo.png) left top no-repeat;
padding-left: 195px;
height: 26px;
padding-top: 6px;
}
.alt #footer ul {
background-image: url(footer-logo-alt.png);
}
#footer ul li {
list-style-type: none;
display: block;
float: left;
}
#footer ul li a {
margin: 0;
padding: 0;
}
#footer ul li + li {
height: 12px;
margin-left: 3px;
}
#footer ul li + li a {
padding: 0 0 0 4px;
border-left: 1px solid #878b78;
}
#footer ul li a.twitter {
background: url(twitter-bird.png) no-repeat 0 2px;
padding-left: 19px;
}
div#download {
position: absolute;
width: 580px;
text-align: center;
top: 0;
left: 50%;
margin-left: -290px;
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
padding-top: 40px;
-webkit-box-shadow: 0 0 32px #000;
-moz-box-shadow: 0 0 32px #000;
box-shadow: 0 0 32px #000;
background:white;
display: none;
}
div#download:target {
display: block;
}
#download-close {
background: url(close-downloads.png) no-repeat top right;
width: 64px;
height: 64px;
position: absolute;
display: block;
top:0;
right:0;
text-indent:-999em;
}
div#download ul#installers {
width: 550px;
text-align: center;
margin: 0 auto;
background: url(platform-icons.png) no-repeat top center;
padding-top: 65px;
padding-bottom: 50px;
}
div#download ul#installers li {
list-style-type: none;
width: 165px;
padding-left: 18px;
float: left;
display: block;
color: #33342d;
font-size: 10px;
}
div#download ul#installers li#source {
padding-left: 0;
}
div#download ul#installers li a {
font-size: 16px;
padding-top: 50px;
margin-top: -50px;
}
div#download ul#documentation {
background-color: #d4d7c3;
padding: 20px 0 20px 40px;
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
div#download ul#documentation li {
margin-left: 40px;
text-align: left;
color: #33342d;
font-size: 14px;
font-weight: bold;
padding-bottom: 5px;
}
div#download ul#documentation li a {
color: #76a83f;
}
#download-logo {
margin-bottom: 37px;
}
pre, code {
font-family: Monaco, 'Andale Mono', 'Lucida Console', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
font-size: 12px;
color: #d2d8ba;
}
pre {
padding-left: 1em;
margin-left: -1em;
border-left-width: 1px;
border-left-style: solid;
border-left-color: #626557;
}
.alt pre {
font-size: 14px;
margin-left: 0;
border-left: 2px solid #dadad7;
background-color: #f4f4f2;
color: #46483e;
padding: 1em 1.5em;
line-height: 2em;
}
.alt code {
color: #996633;
}
dd {
margin: 1em 0;
margin-left: 1em;
}
a {
color: #8BC84B;
text-decoration: none;
}
a:hover { text-decoration: underline; }
.alt a {
background-color: #eff2db;
padding: 0 2px;
}
.alt #intro a, .alt #footer a {
background-color: transparent;
}
.highlight {
background: #733;
padding: 0.2em 0;
}
.desktops {
font-size: 12px;
}
.release {
margin: 0 0 0 2em;
}
/* simpler clearfix */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}