doc: use somewhat consistent styling for css assets
This commit is contained in:
parent
81b711ba0b
commit
45cd4e211e
@ -3,7 +3,8 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
|
.sh_sourceCode .sh_symbol,
|
||||||
|
.sh_sourceCode .sh_cbracket {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,13 +12,13 @@
|
|||||||
color: #c96;
|
color: #c96;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
|
.sh_sourceCode .sh_string,
|
||||||
.sh_sourceCode .sh_specialchar
|
.sh_sourceCode .sh_regexp,
|
||||||
{
|
.sh_sourceCode .sh_number,
|
||||||
|
.sh_sourceCode .sh_specialchar {
|
||||||
color: #690;
|
color: #690;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_comment {
|
.sh_sourceCode .sh_comment {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,30 +11,34 @@ body {
|
|||||||
margin: 0; padding: 49px 0 0 0;
|
margin: 0; padding: 49px 0 0 0;
|
||||||
border-top: 6px #8CC84B solid;
|
border-top: 6px #8CC84B solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #480;
|
color: #480;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
a:visited {
|
|
||||||
|
a:visited {
|
||||||
color: #46483e;
|
color: #46483e;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
a:hover, a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
code a:hover {
|
a:hover,
|
||||||
|
a:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
code a:hover {
|
||||||
background: none;
|
background: none;
|
||||||
color: #b950b7;
|
color: #b950b7;
|
||||||
}
|
}
|
||||||
|
|
||||||
#changelog #gtoc {
|
#changelog #gtoc {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#gtoc p {
|
#gtoc p {
|
||||||
margin:0;
|
margin: 0;
|
||||||
font-size:18px;
|
font-size: 18px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,13 +57,14 @@ a {
|
|||||||
display: block;
|
display: block;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin: 1.4667em 0 2.9334em;
|
margin: 1.4667em 0 2.9334em;
|
||||||
background:#FFF6BF;
|
background: #FFF6BF;
|
||||||
color:#514721;
|
color: #514721;
|
||||||
border:1px solid #FFD324;
|
border: 1px solid #FFD324;
|
||||||
}
|
}
|
||||||
.notice p {
|
|
||||||
|
.notice p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.plain {
|
ul.plain {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@ -75,7 +80,8 @@ p {
|
|||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
.apidoc #apicontent p, .apidoc #apicontent li {
|
.apidoc #apicontent p,
|
||||||
|
.apidoc #apicontent li {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: #000;
|
color: #000;
|
||||||
@ -93,7 +99,9 @@ dl ul, dl ol, dl dl {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol p:first-child, ul p:first-child, dl p:first-child {
|
ol p:first-child,
|
||||||
|
ul p:first-child,
|
||||||
|
dl p:first-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +109,6 @@ ul, ol {
|
|||||||
margin-left: 2em;
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dl dt {
|
dl dt {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 1.5em 0 0;
|
margin: 1.5em 0 0;
|
||||||
@ -139,8 +146,8 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#toc + h1 {
|
#toc + h1 {
|
||||||
margin-top:1em;
|
margin-top: 1em;
|
||||||
padding-top:0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@ -163,37 +170,40 @@ h3 + h3 {
|
|||||||
margin: 0 0 0.5em;
|
margin: 0 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3, h4 {
|
h2, h3, h4 {
|
||||||
position:relative;
|
position: relative;
|
||||||
padding-right:40px;
|
padding-right: 40px;
|
||||||
}
|
}
|
||||||
h1 span, h2 span, h3 span, h4 span {
|
|
||||||
font-size:25px;
|
h1 span, h2 span, h3 span, h4 span {
|
||||||
position:absolute;
|
font-size: 25px;
|
||||||
display:block;
|
position: absolute;
|
||||||
top:0;
|
display: block;
|
||||||
right:0;
|
top: 0;
|
||||||
|
right: 0;
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover {
|
|
||||||
|
h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
h1 span a, h2 span a, h3 span a, h4 span a {
|
|
||||||
|
h1 span a, h2 span a, h3 span a, h4 span a {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
color: #000;
|
color: #000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-family: Helvetica, Arial, sans-serif;
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
font-weight:bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 span a.top, h3 span a.top, h3 span a.top, h4 span a.top {
|
h1 span a.top, h2 span a.top, h3 span a.top, h4 span a.top {
|
||||||
/* XXX Get an image and clean up these two links
|
/* XXX Get an image and clean up these two links
|
||||||
* so that they look nice next to one another.
|
* so that they look nice next to one another.
|
||||||
* http://www.chrisglass.com/work/nodejs/website/v05/docs.html
|
* http://www.chrisglass.com/work/nodejs/website/v05/docs.html
|
||||||
* -isaacs
|
* -isaacs
|
||||||
*/
|
*/
|
||||||
display:none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
@ -205,32 +215,32 @@ h6 {
|
|||||||
line-height: 1.4667em;
|
line-height: 1.4667em;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre, tt, code {
|
pre, tt, code {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.5438em;
|
line-height: 1.5438em;
|
||||||
font-family: Monaco, Consolas, "Lucida Console", monospace;
|
font-family: Monaco, Consolas, "Lucida Console", monospace;
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pre {
|
.pre {
|
||||||
font-family: Monaco, Consolas, "Lucida Console", monospace;
|
font-family: Monaco, Consolas, "Lucida Console", monospace;
|
||||||
line-height: 1.5438em;
|
line-height: 1.5438em;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
padding: 1em 1.6em 1em 1.2em;
|
padding: 1em 1.6em 1em 1.2em;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
border: 1px solid #e8e8e8;
|
border: 1px solid #e8e8e8;
|
||||||
border-width: 1px 1px 1px 6px;
|
border-width: 1px 1px 1px 6px;
|
||||||
margin: -0.5em 0 1.1em;
|
margin: -0.5em 0 1.1em;
|
||||||
overflow-x:auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre + h3 {
|
pre + h3 {
|
||||||
margin-top: 2.225em;
|
margin-top: 2.225em;
|
||||||
}
|
}
|
||||||
|
|
||||||
code.pre {
|
code.pre {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
@ -241,7 +251,6 @@ code.pre {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #d2d8ba;
|
color: #d2d8ba;
|
||||||
|
|
||||||
/* preload platform-icons.png */
|
/* preload platform-icons.png */
|
||||||
background-image: url(http://nodejs.org/images/platform-icons.png);
|
background-image: url(http://nodejs.org/images/platform-icons.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
@ -250,7 +259,7 @@ code.pre {
|
|||||||
|
|
||||||
#intro.interior #logo {
|
#intro.interior #logo {
|
||||||
margin-left: -298px;
|
margin-left: -298px;
|
||||||
border:0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@ -261,42 +270,46 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#toc {
|
#toc {
|
||||||
font-size:15px;
|
font-size: 15px;
|
||||||
line-height:1.5em;
|
line-height: 1.5em;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
padding-top:4px;
|
padding-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc h2 {
|
#toc h2 {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
margin: 0 0 0.5em;
|
margin: 0 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc h2 a {
|
#toc h2 a {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc hr {
|
#toc hr {
|
||||||
margin: 1em 0 2em;
|
margin: 1em 0 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc ul, #api-section-index #apicontent ul li, #api-section-index #apicontent ul {
|
#toc ul,
|
||||||
|
#api-section-index #apicontent ul li,
|
||||||
|
#api-section-index #apicontent ul {
|
||||||
font-family: Georgia, FreeSerif, Times, serif;
|
font-family: Georgia, FreeSerif, Times, serif;
|
||||||
color:#666!important;
|
color: #666 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc ul a {
|
#toc ul a {
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
border-bottom:1px dotted #480;
|
border-bottom: 1px dotted #480;
|
||||||
}
|
}
|
||||||
#toc ul a:hover, #toc ul a:focus {
|
|
||||||
border-bottom:1px dotted #fff;
|
|
||||||
color:#000;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
#toc ul a:hover,
|
||||||
|
#toc ul a:focus {
|
||||||
|
border-bottom: 1px dotted #fff;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
p tt, p code {
|
p tt,
|
||||||
|
p code {
|
||||||
background: #f8f8ff;
|
background: #f8f8ff;
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
padding: 0 0.2em;
|
padding: 0 0.2em;
|
||||||
@ -315,7 +328,7 @@ p tt, p code {
|
|||||||
float: right;
|
float: right;
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
padding-top: 11px;
|
padding-top: 11px;
|
||||||
font-size:18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#column2.interior {
|
#column2.interior {
|
||||||
@ -362,7 +375,6 @@ p tt, p code {
|
|||||||
#column2.interior li a.community.current { background-position: 2px -141px; }
|
#column2.interior li a.community.current { background-position: 2px -141px; }
|
||||||
#column2.interior li a.logos.current { background-position: 2px -165px; }
|
#column2.interior li a.logos.current { background-position: 2px -165px; }
|
||||||
#column2.interior li a.jobs.current { background-position: 2px -189px; }
|
#column2.interior li a.jobs.current { background-position: 2px -189px; }
|
||||||
#column2.interior li a.current { color: #8cc84b; font-weight: bold; }
|
|
||||||
|
|
||||||
#column2.interior li a.home:hover { background-position: -331px 3px; }
|
#column2.interior li a.home:hover { background-position: -331px 3px; }
|
||||||
#column2.interior li a.download:hover { background-position: -331px -21px; }
|
#column2.interior li a.download:hover { background-position: -331px -21px; }
|
||||||
@ -373,11 +385,21 @@ p tt, p code {
|
|||||||
#column2.interior li a.community:hover { background-position: -331px -141px; }
|
#column2.interior li a.community:hover { background-position: -331px -141px; }
|
||||||
#column2.interior li a.logos:hover { background-position: -331px -165px; }
|
#column2.interior li a.logos:hover { background-position: -331px -165px; }
|
||||||
#column2.interior li a.jobs:hover { background-position: -331px -189px; }
|
#column2.interior li a.jobs:hover { background-position: -331px -189px; }
|
||||||
#column2.interior li a:hover { color: #000000; text-decoration: none; }
|
|
||||||
|
#column2.interior li a.current {
|
||||||
|
color: #8cc84b;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#column2.interior li a:hover {
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
#column2.interior li + li {
|
#column2.interior li + li {
|
||||||
border-top: 1px solid #c1c7ac;
|
border-top: 1px solid #c1c7ac;
|
||||||
}
|
}
|
||||||
|
|
||||||
#column2.interior p.twitter {
|
#column2.interior p.twitter {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
@ -412,34 +434,37 @@ a.anchor {
|
|||||||
width: 13px;
|
width: 13px;
|
||||||
border-bottom: 1px solid #cccccc;
|
border-bottom: 1px solid #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
width: 942px;
|
width: 942px;
|
||||||
margin: 150px auto 55px auto;
|
margin: 150px auto 55px auto;
|
||||||
padding:0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p {
|
#footer p {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height:1em;
|
line-height: 1em;
|
||||||
padding: 0 0 0 195px;
|
padding: 0 0 0 195px;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p, #footer li {
|
#footer p,
|
||||||
|
#footer li {
|
||||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
|
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a {
|
#footer a {
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
border:none;
|
border: none;
|
||||||
color: #480;
|
color: #480;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a:hover {
|
#footer a:hover {
|
||||||
color:#000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p a {
|
#footer p a {
|
||||||
border-bottom:1px dotted #480;
|
border-bottom: 1px dotted #480;
|
||||||
color: #878b78;
|
color: #878b78;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -455,8 +480,8 @@ a.anchor {
|
|||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin:0!important;
|
margin: 0 !important;
|
||||||
padding:0;
|
padding: 0;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -464,8 +489,8 @@ a.anchor {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 6px 0 0;
|
padding: 0 6px 0 0;
|
||||||
display: block;
|
display: block;
|
||||||
height:12px;
|
height: 12px;
|
||||||
line-height:12px;
|
line-height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer ul li + li {
|
#footer ul li + li {
|
||||||
@ -490,4 +515,3 @@ a.anchor {
|
|||||||
clear: both;
|
clear: both;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
171
doc/pipe.css
171
doc/pipe.css
@ -19,16 +19,23 @@ body.alt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.int {
|
body.int {
|
||||||
padding-top:49px;
|
padding-top: 49px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
@media all and (min-height: 650px) { #toc { position: fixed; }}
|
|
||||||
|
@media all and (min-height: 650px) {
|
||||||
|
#toc {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#toctitle {
|
#toctitle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
color: #d2d8ba;
|
color: #d2d8ba;
|
||||||
font-family: Helvetica, Arial, sans-serif;
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
@ -38,6 +45,7 @@ h1, h2, h3, h4 {
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-family: Georgia, FreeSerif, Times, serif;
|
font-family: Georgia, FreeSerif, Times, serif;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
@ -54,8 +62,7 @@ h2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 code, h2 code, h3 code, h4 code,
|
h1 code, h2 code, h3 code, h4 code,
|
||||||
h1 a, h2 a, h3 a, h4 a
|
h1 a, h2 a, h3 a, h4 a {
|
||||||
{
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
@ -85,11 +92,11 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
}
|
}
|
||||||
|
|
||||||
#intro .buttons {
|
#intro .buttons {
|
||||||
height:auto;
|
height: auto;
|
||||||
overflow:hidden;
|
overflow: hidden;
|
||||||
_zoom:1;
|
_zoom: 1;
|
||||||
width:300px;
|
width: 300px;
|
||||||
margin:0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intro .button {
|
#intro .button {
|
||||||
@ -100,11 +107,10 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
-moz-border-radius: 4px;
|
-moz-border-radius: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin: 30px 4px 0;
|
margin: 30px 4px 0;
|
||||||
|
display: inline-block;
|
||||||
display:inline-block;
|
|
||||||
color: #46483e;
|
color: #46483e;
|
||||||
background-color: #9a9f8b;
|
background-color: #9a9f8b;
|
||||||
width:96px;
|
width: 96px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intro .forkme {
|
#intro .forkme {
|
||||||
@ -120,13 +126,13 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
}
|
}
|
||||||
|
|
||||||
#intro #docsbutton {
|
#intro #docsbutton {
|
||||||
clear:left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intro .downloadbutton {
|
#intro .downloadbutton {
|
||||||
background-color: #8BC84B;
|
background-color: #8BC84B;
|
||||||
width:200px;
|
width: 200px;
|
||||||
font-size:14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intro .downloadbutton:hover {
|
#intro .downloadbutton:hover {
|
||||||
@ -181,6 +187,7 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
clear: both;
|
clear: both;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.int #content {
|
.int #content {
|
||||||
width: 953px;
|
width: 953px;
|
||||||
}
|
}
|
||||||
@ -193,92 +200,92 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
#content p,
|
#content p,
|
||||||
#content ul {
|
#content ul {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height:24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content ul {
|
#content ul {
|
||||||
margin-top:1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content table {
|
#content table {
|
||||||
font-size:14px;
|
font-size: 14px;
|
||||||
line-height:24px;
|
line-height: 24px;
|
||||||
width:100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers {
|
#download-page #installers {
|
||||||
width:600px;
|
width: 600px;
|
||||||
display:table;
|
display: table;
|
||||||
margin-bottom:1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers ul {
|
#download-page #installers ul {
|
||||||
width: auto;
|
width: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display:table-row;
|
display: table-row;
|
||||||
width:600px;
|
width: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers ul img {
|
#download-page #installers ul img {
|
||||||
display:block;
|
display: block;
|
||||||
margin:0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers ul a {
|
#download-page #installers ul a {
|
||||||
display:block;
|
display: block;
|
||||||
width:100%;
|
width: 100%;
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding-top:1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers ul a:hover,
|
#download-page #installers ul a:hover,
|
||||||
#download-page #installers ul a:active {
|
#download-page #installers ul a:active {
|
||||||
background:#666;
|
background: #666;
|
||||||
color: #8cc84b;
|
color: #8cc84b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#download-page #installers ul li {
|
#download-page #installers ul li {
|
||||||
width:33%;
|
width: 33%;
|
||||||
display:table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #installers a small {
|
#download-page #installers a small {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
display:block;
|
display: block;
|
||||||
color:#eee;
|
color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #content th {
|
#download-page #content th {
|
||||||
text-align:left;
|
text-align: left;
|
||||||
width:33%;
|
width: 33%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #content table {
|
#download-page #content table {
|
||||||
table-collapse:separate;
|
table-collapse: separate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #content td,
|
#download-page #content td,
|
||||||
#download-page #content th {
|
#download-page #content th {
|
||||||
border:1px solid #666;
|
border: 1px solid #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #content td a {
|
#download-page #content td a {
|
||||||
display:block;
|
display: block;
|
||||||
height:100%;
|
height: 100%;
|
||||||
width:100%;
|
width: 100%;
|
||||||
text-align:center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-page #content td a:hover,
|
#download-page #content td a:hover,
|
||||||
#download-page #content td a:active {
|
#download-page #content td a:active {
|
||||||
background:#666;
|
background: #666;
|
||||||
color: #8cc84b;
|
color: #8cc84b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#front #content p {
|
#front #content p {
|
||||||
font-size:12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content h1 + p {
|
#content h1 + p {
|
||||||
@ -297,8 +304,8 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
width: 600px;
|
width: 600px;
|
||||||
float: right;
|
float: right;
|
||||||
padding-top: 11px;
|
padding-top: 11px;
|
||||||
font-size:18px;
|
font-size: 18px;
|
||||||
padding-right:150px;
|
padding-right: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#column2.interior {
|
#column2.interior {
|
||||||
@ -345,7 +352,6 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
#column2.interior li a.community.current { background-position: 2px -141px; }
|
#column2.interior li a.community.current { background-position: 2px -141px; }
|
||||||
#column2.interior li a.logos.current { background-position: 2px -165px; }
|
#column2.interior li a.logos.current { background-position: 2px -165px; }
|
||||||
#column2.interior li a.jobs.current { background-position: 2px -189px; }
|
#column2.interior li a.jobs.current { background-position: 2px -189px; }
|
||||||
#column2.interior li a.current { color: #8cc84b; font-weight: bold; }
|
|
||||||
|
|
||||||
#column2.interior li a.home:hover { background-position: -331px 3px; }
|
#column2.interior li a.home:hover { background-position: -331px 3px; }
|
||||||
#column2.interior li a.download:hover { background-position: -331px -21px; }
|
#column2.interior li a.download:hover { background-position: -331px -21px; }
|
||||||
@ -356,11 +362,20 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
#column2.interior li a.community:hover { background-position: -331px -141px; }
|
#column2.interior li a.community:hover { background-position: -331px -141px; }
|
||||||
#column2.interior li a.logos:hover { background-position: -331px -165px; }
|
#column2.interior li a.logos:hover { background-position: -331px -165px; }
|
||||||
#column2.interior li a.jobs:hover { background-position: -331px -189px; }
|
#column2.interior li a.jobs:hover { background-position: -331px -189px; }
|
||||||
#column2.interior li a:hover { color: #000000; text-decoration: none; }
|
|
||||||
|
#column2.interior li a.current {
|
||||||
|
color: #8cc84b;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#column2.interior li a:hover {
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
#column2.interior li + li {
|
#column2.interior li + li {
|
||||||
border-top: 1px solid #c1c7ac;
|
border-top: 1px solid #c1c7ac;
|
||||||
border-top:1px solid #65675c;
|
border-top: 1px solid #65675c;
|
||||||
}
|
}
|
||||||
.alt #column2.interior li + li {
|
.alt #column2.interior li + li {
|
||||||
border-top: 1px solid #c1c7ac;
|
border-top: 1px solid #c1c7ac;
|
||||||
@ -416,7 +431,7 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
|
|
||||||
#content .block p {
|
#content .block p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height:21px;
|
line-height: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#explore {
|
#explore {
|
||||||
@ -424,7 +439,7 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
}
|
}
|
||||||
|
|
||||||
#explore li {
|
#explore li {
|
||||||
font-size:12px;
|
font-size: 12px;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
color: #d2d8ba;
|
color: #d2d8ba;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
@ -460,12 +475,12 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
#footer {
|
#footer {
|
||||||
width: 942px;
|
width: 942px;
|
||||||
margin: 150px auto 55px auto;
|
margin: 150px auto 55px auto;
|
||||||
padding:0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p {
|
#footer p {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height:1em;
|
line-height: 1em;
|
||||||
padding: 0 0 0 195px;
|
padding: 0 0 0 195px;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
|
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
|
||||||
@ -476,38 +491,41 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
margin: 50px auto 30px auto;
|
margin: 50px auto 30px auto;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#front #footer ul {
|
#front #footer ul {
|
||||||
margin-right:0;
|
margin-right: 0;
|
||||||
padding-right:0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a {
|
#footer a {
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
border:none;
|
border: none;
|
||||||
color: #690;
|
color: #690;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a:hover {
|
#footer a:hover {
|
||||||
color:#000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#front #footer a:hover {
|
#front #footer a:hover {
|
||||||
color:#fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p a {
|
#footer p a {
|
||||||
border-bottom:1px dotted #690;
|
border-bottom: 1px dotted #690;
|
||||||
color: #878b78;
|
color: #878b78;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer ul {
|
#footer ul {
|
||||||
background: url(http://nodejs.org/images/footer-logo.png) left 17px no-repeat;
|
background: url(http://nodejs.org/images/footer-logo.png) left 17px no-repeat;
|
||||||
border-top: 1px solid #626557;
|
border-top: 1px solid #626557;
|
||||||
border-color:#90918b;
|
border-color: #90918b;
|
||||||
padding-top:23px;
|
padding-top: 23px;
|
||||||
padding-left: 195px;
|
padding-left: 195px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
margin-right:137px;
|
margin-right: 137px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alt #footer ul {
|
.alt #footer ul {
|
||||||
background-image: url(http://nodejs.org/images/footer-logo-alt.png);
|
background-image: url(http://nodejs.org/images/footer-logo-alt.png);
|
||||||
}
|
}
|
||||||
@ -516,7 +534,7 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin:0!important;
|
margin: 0 !important;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -524,8 +542,8 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 6px 0 0;
|
padding: 0 6px 0 0;
|
||||||
display: block;
|
display: block;
|
||||||
height:12px;
|
height: 12px;
|
||||||
line-height:12px;
|
line-height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer ul li + li {
|
#footer ul li + li {
|
||||||
@ -542,7 +560,6 @@ h1 a, h2 a, h3 a, h4 a
|
|||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre, tt, code {
|
pre, tt, code {
|
||||||
color: #d2d8ba;
|
color: #d2d8ba;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@ -552,8 +569,8 @@ pre, tt, code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#front pre, #front tt, #front code {
|
#front pre, #front tt, #front code {
|
||||||
font-size:12px;
|
font-size: 12px;
|
||||||
line-height:22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
@ -583,19 +600,22 @@ dd {
|
|||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #690;
|
color: #690;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:hover { text-decoration: underline; }
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.alt a {
|
.alt a {
|
||||||
background-color: #eff2db;
|
background-color: #eff2db;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alt #intro a, .alt #footer a {
|
.alt #intro a,
|
||||||
|
.alt #footer a {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -619,4 +639,3 @@ a:hover { text-decoration: underline; }
|
|||||||
clear: both;
|
clear: both;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
11
doc/sh.css
11
doc/sh.css
@ -3,7 +3,8 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
|
.sh_sourceCode .sh_symbol,
|
||||||
|
.sh_sourceCode .sh_cbracket {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,13 +12,13 @@
|
|||||||
color: #c96;
|
color: #c96;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
|
.sh_sourceCode .sh_string,
|
||||||
.sh_sourceCode .sh_specialchar
|
.sh_sourceCode .sh_regexp,
|
||||||
{
|
.sh_sourceCode .sh_number,
|
||||||
|
.sh_sourceCode .sh_specialchar {
|
||||||
color: #690;
|
color: #690;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_comment {
|
.sh_sourceCode .sh_comment {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
.sh_sourceCode {
|
.sh_sourceCode {
|
||||||
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
|
.sh_sourceCode .sh_symbol ,
|
||||||
|
.sh_sourceCode .sh_cbracket {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,9 +12,10 @@
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
|
.sh_sourceCode .sh_string,
|
||||||
.sh_sourceCode .sh_specialchar
|
.sh_sourceCode .sh_regexp,
|
||||||
{
|
.sh_sourceCode .sh_number,
|
||||||
|
.sh_sourceCode .sh_specialchar {
|
||||||
color: #a0c874;
|
color: #a0c874;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,4 +31,3 @@
|
|||||||
.alt .sh_sourceCode .sh_symbol , .alt .sh_sourceCode .sh_cbracket {
|
.alt .sh_sourceCode .sh_symbol , .alt .sh_sourceCode .sh_cbracket {
|
||||||
color: #46483e;
|
color: #46483e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user