You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

434 lines
8.7 KiB

/*--------------------- Layout and Typography ----------------------------*/
html {
-webkit-font-smoothing: antialiased;
}
body {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
font-size: 14px;
line-height: 180%;
color: black;
margin: 0; padding: 40px 0 0 0;
border-top: 6px #8CC84B solid;
}
a {
color: #669900;
text-decoration: underline;
}
a:visited {
color: #46483e;
text-decoration: underline;
}
a:hover, a:focus {
text-decoration: none;
}
code a:hover {
background: none;
color: #b950b7;
}
#changelog #gtoc {
display: none;
}
#gtoc a {
font-family: Georgia, FreeSerif, Times, serif;
font-size: 16px;
text-decoration: none;
color: #46483e;
}
#gtoc a:hover {
color: #669900;
text-decoration: underline;
}
.notice {
display: block;
padding: 1em;
margin: 1.4667em 0 2.9334em;
background:#FFF6BF;
color:#514721;
border:1px solid #FFD324;
}
.notice p {
margin: 0;
}
ul.plain {
list-style: none;
}
abbr {
border-bottom: 1px dotted #454545;
}
p {
margin: 0 0 1.4667em 0;
position: relative;
text-rendering: optimizeLegibility;
}
ol, ul, dl {
margin: 0 0 1em 0;
padding: 0;
}
ol ul, ol ol, ol dl,
ul ul, ul ol, ul dl,
dl ul, dl ol, dl dl {
margin-bottom: 0;
}
ol p:first-child, ul p:first-child, dl p:first-child {
margin-bottom: 0;
}
ul, ol {
margin-left: 2em;
}
dl dt {
position: relative;
margin: 1.5em 0 0;
}
dl dd {
position: relative;
margin: 0 1em 0;
}
dd + dt.pre {
margin-top: 1.6em;
}
h1, h2, h3, h4, h5, h6 {
font-family: Helvetica, Arial, sans-serif
color: #000;
text-rendering: optimizeLegibility;
position: relative;
}
h1 {
font-family: Georgia, FreeSerif, Times, serif;
font-size: 30px;
font-weight: normal;
line-height: 36px;
color: #669900;
}
h2 {
font-size: 1.9em;
line-height: 1.227em;
margin: 0 0 0.5em;
}
h3 {
font-size: 1.5em;
line-height: 1.0909em;
margin: 1.5em 0 0.5em;
}
h3 + h3 {
margin: 0 0 0.5em;
}
h4 {
font-size: 1.3em;
line-height: 1.1282em;
margin: 2.2em 0 0.5em;
}
h4 + h4 {
margin: 0 0 0.5em;
}
h3 a,
h4 a {
font-size: 0.8em;
float: right;
color: #000;
text-decoration: none;
opacity: 0.3;
}
h5 {
font-size: 1.125em;
line-height: 1.4em;
}
h6 {
font-size: 1em;
line-height: 1.4667em;
}
pre, tt, code {
font-size: 0.95em;
line-height: 1.5438em;
font-family: Monaco, Consolas, "Lucida Console", monospace;
margin: 0; padding: 0;
}
.pre {
font-family: Monaco, Consolas, "Lucida Console", monospace;
line-height: 1.5438em;
font-size: 0.95em;
}
pre {
padding: 1em 1.6em 1em 1.2em;
vertical-align: top;
background: #f8f8f8;
border: 1px solid #e8e8e8;
border-width: 1px 1px 1px 6px;
margin: -0.5em 0 1.1em;
overflow-x:auto;
}
pre + h3 {
margin-top: 2.225em;
}
code.pre {
white-space: pre;
}
#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.interior #logo {
margin-left: -130px;
}
hr {
background: none;
border: medium none;
border-bottom: 1px solid #ccc;
margin: 2em 0 2em;
}
#toc {
}
#toc h2 {
font-size: 1em;
line-height: 1.4em;
}
#toc h2 a {
float: right;
}
#toc hr {
margin: 1em 0 2em;
}
p tt, p code {
background: #f8f8ff;
border: 1px solid #dedede;
padding: 0 0.2em;
}
a.octothorpe {
text-decoration: none;
color: #777;
position: absolute;
top: 0; left: -1.4em;
padding: 1px 2px;
opacity: 0;
-webkit-transition: opacity 0.2s linear;
}
p:hover > a.octothorpe,
dt:hover > a.octothorpe,
dd:hover > a.octothorpe,
h1:hover > a.octothorpe,
h2:hover > a.octothorpe,
h3:hover > a.octothorpe,
h4:hover > a.octothorpe,
h5:hover > a.octothorpe,
h6:hover > a.octothorpe {
opacity: 1;
}
#content {
width: 800px;
margin: 0 auto;
overflow: visible;
clear: both;
display: block;
}
#column1.interior {
width: 590px;
float: right;
padding-top: 20px;
}
#column2.interior {
width: 160px;
float: left;
margin-top: -50px;
overflow: visible;
}
#column2.interior ul {
margin-left: 0;
}
#column2.interior li {
list-style-type: none;
}
#column2.interior li a {
display: block;
padding: 0 0 0 40px;
color: #878b78;
text-transform: uppercase;
text-decoration: none;
font-size: 12px;
line-height: 23px;
}
#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;
text-decoration: none;
}
#column2.interior p.twitter a:hover {
text-decoration: underline;
}
a.totop {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
font-weight: bold;
text-indent: -9999999px;
background: url(anchor.png) no-repeat top left;
margin-right: 7px;
display: block;
width: 13px;
border-bottom: 1px solid #cccccc;
}
a.anchor {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
font-weight: bold;
text-indent: -9999999px;
background: url(anchor.png) no-repeat top right;
display: block;
width: 13px;
border-bottom: 1px solid #cccccc;
}
#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-alt.png) left top no-repeat;
padding-left: 195px;
height: 26px;
padding-top: 6px;
margin-left: 0;
}
#footer ul li {
list-style-type: none;
display: block;
float: left;
font-size: 12px;
}
#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;
}
/* simpler clearfix */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}