summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api_assets/sh.css11
-rw-r--r--doc/api_assets/style.css408
-rw-r--r--doc/pipe.css527
-rw-r--r--doc/sh.css11
-rw-r--r--doc/sh_vim-dark.css20
5 files changed, 511 insertions, 466 deletions
diff --git a/doc/api_assets/sh.css b/doc/api_assets/sh.css
index b9ed5a3036..7022e199de 100644
--- a/doc/api_assets/sh.css
+++ b/doc/api_assets/sh.css
@@ -3,7 +3,8 @@
font-style: normal;
}
-.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
+.sh_sourceCode .sh_symbol,
+.sh_sourceCode .sh_cbracket {
color: #333;
}
@@ -11,13 +12,13 @@
color: #c96;
}
-.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
-.sh_sourceCode .sh_specialchar
-{
+.sh_sourceCode .sh_string,
+.sh_sourceCode .sh_regexp,
+.sh_sourceCode .sh_number,
+.sh_sourceCode .sh_specialchar {
color: #690;
}
.sh_sourceCode .sh_comment {
color: #666;
}
-
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css
index f91690266f..5772c4ad76 100644
--- a/doc/api_assets/style.css
+++ b/doc/api_assets/style.css
@@ -1,40 +1,44 @@
/*--------------------- Layout and Typography ----------------------------*/
html {
- -webkit-font-smoothing: antialiased;
+ -webkit-font-smoothing: antialiased;
}
body {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
- font-size: 14px;
+ font-size: 14px;
line-height: 180%;
color: black;
margin: 0; padding: 49px 0 0 0;
border-top: 6px #8CC84B solid;
}
+
a {
color: #480;
text-decoration: underline;
}
- a:visited {
- color: #46483e;
- text-decoration: underline;
- }
- a:hover, a:focus {
- text-decoration: none;
- }
- code a:hover {
- background: none;
- color: #b950b7;
- }
+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 p {
- margin:0;
- font-size:18px;
+ margin: 0;
+ font-size: 18px;
line-height: 30px;
}
@@ -45,21 +49,22 @@ a {
}
#gtoc a:hover {
- color: #669900;
- text-decoration: underline;
+ color: #669900;
+ text-decoration: underline;
}
.notice {
display: block;
padding: 1em;
margin: 1.4667em 0 2.9334em;
- background:#FFF6BF;
- color:#514721;
- border:1px solid #FFD324;
+ background: #FFF6BF;
+ color: #514721;
+ border: 1px solid #FFD324;
+}
+
+.notice p {
+ margin: 0;
}
- .notice p {
- margin: 0;
- }
ul.plain {
list-style: none;
@@ -75,7 +80,8 @@ p {
text-rendering: optimizeLegibility;
}
-.apidoc #apicontent p, .apidoc #apicontent li {
+.apidoc #apicontent p,
+.apidoc #apicontent li {
font-size: 15px;
line-height: 22px;
color: #000;
@@ -93,7 +99,9 @@ dl ul, dl ol, dl dl {
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;
}
@@ -101,7 +109,6 @@ ul, ol {
margin-left: 2em;
}
-
dl dt {
position: relative;
margin: 1.5em 0 0;
@@ -139,8 +146,8 @@ h1 {
}
#toc + h1 {
- margin-top:1em;
- padding-top:0;
+ margin-top: 1em;
+ padding-top: 0;
}
h2 {
@@ -163,37 +170,40 @@ h3 + h3 {
margin: 0 0 0.5em;
}
- h2, h3, h4 {
- position:relative;
- padding-right:40px;
- }
- h1 span, h2 span, h3 span, h4 span {
- font-size:25px;
- position:absolute;
- display:block;
- top:0;
- right:0;
- opacity: 0.3;
- }
- h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover {
- opacity: 1;
- }
- h1 span a, h2 span a, h3 span a, h4 span a {
- font-size: 0.8em;
- color: #000;
- text-decoration: none;
- font-family: Helvetica, Arial, sans-serif;
- font-weight:bold;
- }
-
- h1 span a.top, h3 span a.top, h3 span a.top, h4 span a.top {
- /* XXX Get an image and clean up these two links
- * so that they look nice next to one another.
- * http://www.chrisglass.com/work/nodejs/website/v05/docs.html
- * -isaacs
- */
- display:none;
- }
+h2, h3, h4 {
+ position: relative;
+ padding-right: 40px;
+}
+
+h1 span, h2 span, h3 span, h4 span {
+ font-size: 25px;
+ position: absolute;
+ display: block;
+ top: 0;
+ right: 0;
+ opacity: 0.3;
+}
+
+h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover {
+ opacity: 1;
+}
+
+h1 span a, h2 span a, h3 span a, h4 span a {
+ font-size: 0.8em;
+ color: #000;
+ text-decoration: none;
+ font-family: Helvetica, Arial, sans-serif;
+ font-weight: bold;
+}
+
+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
+ * so that they look nice next to one another.
+ * http://www.chrisglass.com/work/nodejs/website/v05/docs.html
+ * -isaacs
+ */
+ display: none;
+}
h5 {
font-size: 1.125em;
@@ -205,43 +215,42 @@ h6 {
line-height: 1.4667em;
}
- pre, tt, code {
- font-size: 14px;
- 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;
- }
+pre, tt, code {
+ font-size: 14px;
+ 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;
-
+ width: 775px;
+ margin: 0 auto;
+ text-align: center;
+ color: #d2d8ba;
/* preload platform-icons.png */
background-image: url(http://nodejs.org/images/platform-icons.png);
background-repeat: no-repeat;
@@ -249,8 +258,8 @@ code.pre {
}
#intro.interior #logo {
- margin-left: -298px;
- border:0;
+ margin-left: -298px;
+ border: 0;
}
hr {
@@ -261,86 +270,90 @@ hr {
}
#toc {
- font-size:15px;
- line-height:1.5em;
+ font-size: 15px;
+ line-height: 1.5em;
line-height: 22px;
- padding-top:4px;
+ padding-top: 4px;
}
- #toc h2 {
- font-size: 15px;
- line-height: 21px;
- margin: 0 0 0.5em;
- }
+#toc h2 {
+ font-size: 15px;
+ line-height: 21px;
+ margin: 0 0 0.5em;
+}
- #toc h2 a {
- float: right;
- }
+#toc h2 a {
+ float: right;
+}
- #toc hr {
- margin: 1em 0 2em;
- }
+#toc hr {
+ margin: 1em 0 2em;
+}
- #toc ul, #api-section-index #apicontent ul li, #api-section-index #apicontent ul {
- font-family: Georgia, FreeSerif, Times, serif;
- color:#666!important;
- }
+#toc ul,
+#api-section-index #apicontent ul li,
+#api-section-index #apicontent ul {
+ font-family: Georgia, FreeSerif, Times, serif;
+ color: #666 !important;
+}
- #toc ul a {
- text-decoration:none;
- border-bottom:1px dotted #480;
- }
- #toc ul a:hover, #toc ul a:focus {
- border-bottom:1px dotted #fff;
- color:#000;
- }
+#toc ul a {
+ text-decoration: none;
+ border-bottom: 1px dotted #480;
+}
+#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;
border: 1px solid #dedede;
padding: 0 0.2em;
}
#content {
- width: 953px;
- margin: 0 auto;
- overflow: visible;
- clear: both;
- display: block;
+ width: 953px;
+ margin: 0 auto;
+ overflow: visible;
+ clear: both;
+ display: block;
}
#column1.interior {
- width: 749px;
- float: right;
- padding-top: 7px;
- padding-top: 11px;
- font-size:18px;
+ width: 749px;
+ float: right;
+ padding-top: 7px;
+ padding-top: 11px;
+ font-size: 18px;
}
#column2.interior {
- width: 140px;
- float: left;
- margin-top: -55px;
- overflow: visible;
+ width: 140px;
+ float: left;
+ margin-top: -55px;
+ overflow: visible;
}
#column2.interior ul {
- margin-left: 0;
+ margin-left: 0;
}
#column2.interior li {
- list-style-type: none;
+ list-style-type: none;
}
#column2.interior li a {
- display: block;
- padding: 0 0 0 35px;
- color: #878b78;
- text-transform: uppercase;
- text-decoration: none;
- font-size: 11px;
- line-height: 23px;
+ display: block;
+ padding: 0 0 0 35px;
+ color: #878b78;
+ text-transform: uppercase;
+ text-decoration: none;
+ font-size: 11px;
+ line-height: 23px;
}
#column2.interior li a.home { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px 3px; }
@@ -351,7 +364,7 @@ p tt, p code {
#column2.interior li a.blog { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -117px; }
#column2.interior li a.community { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -141px; }
#column2.interior li a.logos { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -165px; }
-#column2.interior li a.jobs { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -189px; }
+#column2.interior li a.jobs { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -189px; }
#column2.interior li a.home.current { background-position: 2px 3px; }
#column2.interior li a.download.current { background-position: 2px -21px; }
@@ -362,7 +375,6 @@ p tt, p code {
#column2.interior li a.community.current { background-position: 2px -141px; }
#column2.interior li a.logos.current { background-position: 2px -165px; }
#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.download:hover { background-position: -331px -21px; }
@@ -373,23 +385,33 @@ p tt, p code {
#column2.interior li a.community:hover { background-position: -331px -141px; }
#column2.interior li a.logos:hover { background-position: -331px -165px; }
#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 {
- border-top: 1px solid #c1c7ac;
+ border-top: 1px solid #c1c7ac;
}
+
#column2.interior p.twitter {
- padding-top: 20px;
+ padding-top: 20px;
}
#column2.interior p.twitter a {
- background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 0 4px;
- padding-left: 37px;
- text-decoration: none;
+ background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 0 4px;
+ padding-left: 37px;
+ text-decoration: none;
}
#column2.interior p.twitter a:hover {
- text-decoration: underline;
+ text-decoration: underline;
}
a.totop {
@@ -412,82 +434,84 @@ a.anchor {
width: 13px;
border-bottom: 1px solid #cccccc;
}
+
#footer {
- width: 942px;
- margin: 150px auto 55px auto;
- padding:0;
+ width: 942px;
+ margin: 150px auto 55px auto;
+ padding: 0;
}
#footer p {
- font-size: 11px;
- line-height:1em;
- padding: 0 0 0 195px;
- color: #666;
+ font-size: 11px;
+ line-height: 1em;
+ padding: 0 0 0 195px;
+ color: #666;
}
-#footer p, #footer li {
- font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
+#footer p,
+#footer li {
+ font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
}
#footer a {
- text-decoration:none;
- border:none;
+ text-decoration: none;
+ border: none;
color: #480;
}
+
#footer a:hover {
- color:#000;
+ color: #000;
}
#footer p a {
- border-bottom:1px dotted #480;
- color: #878b78;
+ border-bottom: 1px dotted #480;
+ color: #878b78;
}
#footer ul {
- background: url(http://nodejs.org/images/footer-logo-alt.png) left 17px no-repeat;
- padding: 23px 0 0 195px;
- height: 26px;
- margin-left: -1px;
- border-top: 1px solid #626557;
+ background: url(http://nodejs.org/images/footer-logo-alt.png) left 17px no-repeat;
+ padding: 23px 0 0 195px;
+ height: 26px;
+ margin-left: -1px;
+ border-top: 1px solid #626557;
}
#footer ul li {
- list-style-type: none;
- float: left;
- font-size: 12px;
- margin:0!important;
- padding:0;
- height: 12px;
+ list-style-type: none;
+ float: left;
+ font-size: 12px;
+ margin: 0 !important;
+ padding: 0;
+ height: 12px;
}
#footer ul li a {
- margin: 0;
- padding: 0 6px 0 0;
- display: block;
- height:12px;
- line-height:12px;
+ margin: 0;
+ padding: 0 6px 0 0;
+ display: block;
+ height: 12px;
+ line-height: 12px;
}
#footer ul li + li {
- margin-left: 3px;
+ margin-left: 3px;
}
#footer ul li + li a {
- padding: 0 6px 0 6px;
- border-left: 1px solid #878b78;
+ padding: 0 6px 0 6px;
+ border-left: 1px solid #878b78;
}
#footer ul li a.twitter {
- background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 5px 0px;
- padding-left: 25px;
+ background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 5px 0px;
+ padding-left: 25px;
}
/* simpler clearfix */
.clearfix:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
}
-
diff --git a/doc/pipe.css b/doc/pipe.css
index e17251bbab..edc53658a6 100644
--- a/doc/pipe.css
+++ b/doc/pipe.css
@@ -1,95 +1,102 @@
html {
- -webkit-font-smoothing: antialiased;
+ -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;
+ 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;
+ background: white;
+ color: #46483e;
}
body.int {
- padding-top:49px;
+ padding-top: 49px;
}
img {
- border: 0;
+ border: 0;
}
-@media all and (min-height: 650px) { #toc { position: fixed; }}
+
+@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;
+ 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: 15px 0 11px;
+ font-family: Georgia, FreeSerif, Times, serif;
+ font-size: 30px;
+ line-height: 36px;
+ text-transform: none;
+ color: #669900;
+ font-weight: normal;
+ margin: 15px 0 11px;
}
h2 {
- font-size: 12px;
- font-weight: normal;
+ font-size: 12px;
+ font-weight: normal;
}
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;
font-size: inherit;
}
#intro {
- width: 775px;
- margin: 0 auto;
- text-align: center;
- color: #d2d8ba;
+ width: 775px;
+ margin: 0 auto;
+ text-align: center;
+ color: #d2d8ba;
}
#intro p {
- width: 680px;
- line-height: 180%;
- padding-top: 30px;
- margin: 0 auto;
- font-size: 14px;
+ width: 680px;
+ line-height: 180%;
+ padding-top: 30px;
+ margin: 0 auto;
+ font-size: 14px;
}
#intro.interior #logo {
- margin-left: -298px;
+ margin-left: -298px;
}
#intro p.version {
- padding-top: 10px;
- font-size: 12px;
+ padding-top: 10px;
+ font-size: 12px;
}
#intro .buttons {
- height:auto;
- overflow:hidden;
- _zoom:1;
- width:300px;
- margin:0 auto;
+ height: auto;
+ overflow: hidden;
+ _zoom: 1;
+ width: 300px;
+ margin: 0 auto;
}
#intro .button {
@@ -100,11 +107,10 @@ h1 a, h2 a, h3 a, h4 a
-moz-border-radius: 4px;
border-radius: 4px;
margin: 30px 4px 0;
-
- display:inline-block;
+ display: inline-block;
color: #46483e;
background-color: #9a9f8b;
- width:96px;
+ width: 96px;
}
#intro .forkme {
@@ -120,13 +126,13 @@ h1 a, h2 a, h3 a, h4 a
}
#intro #docsbutton {
- clear:left;
+ clear: left;
}
#intro .downloadbutton {
background-color: #8BC84B;
- width:200px;
- font-size:14px;
+ width: 200px;
+ font-size: 14px;
}
#intro .downloadbutton:hover {
@@ -134,40 +140,40 @@ h1 a, h2 a, h3 a, h4 a
}
#quotes {
- text-align: center;
- width: 100%;
- background-color: #33342d;
- margin-top: 40px;
- padding-top: 20px;
- padding-bottom: 20px;
+ text-align: center;
+ width: 100%;
+ background-color: #33342d;
+ margin-top: 40px;
+ padding-top: 20px;
+ padding-bottom: 20px;
}
#quotes h2 {
- margin-top: 0;
+ margin-top: 0;
}
#quotes ul {
- display: block;
- width: 775px;
- margin: 0 auto;
- padding-top: 20px;
+ 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;
+ display: block;
+ text-align: left;
+ width: 180px;
+ float: left;
+ padding-right: 15px;
+ font-size: 11px;
}
#quotes ul li:last-child {
- padding-right: 0;
+ padding-right: 0;
}
#quotes ul li p span {
- font-size: 10px;
+ font-size: 10px;
}
#quotes ul li p {
@@ -175,155 +181,156 @@ h1 a, h2 a, h3 a, h4 a
}
#content {
- width: 775px;
- margin: 0 auto;
- overflow: visible;
- clear: both;
- display: block;
+ width: 775px;
+ margin: 0 auto;
+ overflow: visible;
+ clear: both;
+ display: block;
}
+
.int #content {
width: 953px;
}
#column1 {
- width: 460px;
- float: left;
+ width: 460px;
+ float: left;
}
#content p,
#content ul {
- font-size: 14px;
- line-height:24px;
+ font-size: 14px;
+ line-height: 24px;
}
#content ul {
- margin-top:1em;
+ margin-top: 1em;
}
#content table {
- font-size:14px;
- line-height:24px;
- width:100%;
+ font-size: 14px;
+ line-height: 24px;
+ width: 100%;
}
#download-page #installers {
- width:600px;
- display:table;
- margin-bottom:1em;
+ width: 600px;
+ display: table;
+ margin-bottom: 1em;
}
#download-page #installers ul {
width: auto;
text-align: center;
margin: 0 auto;
- display:table-row;
- width:600px;
+ display: table-row;
+ width: 600px;
}
#download-page #installers ul img {
- display:block;
- margin:0 auto;
+ display: block;
+ margin: 0 auto;
}
#download-page #installers ul a {
- display:block;
- width:100%;
- text-decoration:none;
+ display: block;
+ width: 100%;
+ text-decoration: none;
font-size: 16px;
- padding-top:1em;
+ padding-top: 1em;
}
#download-page #installers ul a:hover,
#download-page #installers ul a:active {
- background:#666;
+ background: #666;
color: #8cc84b;
}
-
#download-page #installers ul li {
- width:33%;
- display:table-cell;
+ width: 33%;
+ display: table-cell;
}
+
#download-page #installers a small {
font-size: 10px;
- display:block;
- color:#eee;
+ display: block;
+ color: #eee;
}
#download-page #content th {
- text-align:left;
- width:33%;
+ text-align: left;
+ width: 33%;
}
#download-page #content table {
- table-collapse:separate;
+ table-collapse: separate;
}
#download-page #content td,
#download-page #content th {
- border:1px solid #666;
+ border: 1px solid #666;
}
#download-page #content td a {
- display:block;
- height:100%;
- width:100%;
- text-align:center;
+ display: block;
+ height: 100%;
+ width: 100%;
+ text-align: center;
}
#download-page #content td a:hover,
#download-page #content td a:active {
- background:#666;
+ background: #666;
color: #8cc84b;
}
#front #content p {
- font-size:12px;
+ font-size: 12px;
}
#content h1 + p {
- font-size: 18px;
- line-height: 30px;
- color: #46483e;
- font-family: Georgia, FreeSerif, Times, serif;
+ font-size: 18px;
+ line-height: 30px;
+ color: #46483e;
+ font-family: Georgia, FreeSerif, Times, serif;
}
#column2 {
- width: 260px;
- float: right;
+ width: 260px;
+ float: right;
}
#column1.interior {
- width: 600px;
- float: right;
- padding-top: 11px;
- font-size:18px;
- padding-right:150px;
+ width: 600px;
+ float: right;
+ padding-top: 11px;
+ font-size: 18px;
+ padding-right: 150px;
}
#column2.interior {
- width: 140px;
- float: left;
- margin-top: -54px;
- overflow: visible;
+ width: 140px;
+ float: left;
+ margin-top: -54px;
+ overflow: visible;
}
#column2.interior ul {
- margin-left: 0;
+ margin-left: 0;
}
#column2.interior li {
- list-style-type: none;
+ list-style-type: none;
}
#column2.interior li a {
- display: block;
- padding: 0 0 0 35px;
- color: #878b78;
- text-transform: uppercase;
- text-decoration: none;
- font-size: 11px;
- line-height: 23px;
+ display: block;
+ padding: 0 0 0 35px;
+ color: #878b78;
+ text-transform: uppercase;
+ text-decoration: none;
+ font-size: 11px;
+ line-height: 23px;
}
#column2.interior li a.home { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px 3px; }
@@ -334,7 +341,7 @@ h1 a, h2 a, h3 a, h4 a
#column2.interior li a.blog { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -117px; }
#column2.interior li a.community { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -141px; }
#column2.interior li a.logos { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -165px; }
-#column2.interior li a.jobs { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -189px; }
+#column2.interior li a.jobs { background: url(http://nodejs.org/images/icons-interior.png) no-repeat -156px -189px; }
#column2.interior li a.home.current { background-position: 2px 3px; }
#column2.interior li a.download.current { background-position: 2px -21px; }
@@ -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.logos.current { background-position: 2px -165px; }
#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.download:hover { background-position: -331px -21px; }
@@ -356,44 +362,53 @@ h1 a, h2 a, h3 a, h4 a
#column2.interior li a.community:hover { background-position: -331px -141px; }
#column2.interior li a.logos:hover { background-position: -331px -165px; }
#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 {
- border-top: 1px solid #c1c7ac;
- border-top:1px solid #65675c;
+ border-top: 1px solid #c1c7ac;
+ border-top: 1px solid #65675c;
}
.alt #column2.interior li + li {
- border-top: 1px solid #c1c7ac;
+ border-top: 1px solid #c1c7ac;
}
#column2.interior p.twitter {
- padding-top: 20px;
+ padding-top: 20px;
}
#column2.interior p.twitter a {
- background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 0 4px;
- padding-left: 37px;
+ background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 0 4px;
+ padding-left: 37px;
}
.row {
- padding-top: 10px;
- padding-bottom: 10px;
+ padding-top: 10px;
+ padding-bottom: 10px;
}
.row + .row {
- border-top: 1px solid #626557;
+ border-top: 1px solid #626557;
}
.row h2 {
- font-size: 24px;
- color: white;
- text-transform: none;
- font-family: Georgia, FreeSerif, Times, serif;
- background: url(http://nodejs.org/images/community-icons.png) no-repeat;
- padding-left: 45px;
- padding-top: 6px;
- padding-bottom: 10px;
- margin-top: 10px;
+ font-size: 24px;
+ color: white;
+ text-transform: none;
+ font-family: Georgia, FreeSerif, Times, serif;
+ background: url(http://nodejs.org/images/community-icons.png) no-repeat;
+ padding-left: 45px;
+ padding-top: 6px;
+ padding-bottom: 10px;
+ margin-top: 10px;
}
.row h2.github { background-position: left -92px; }
@@ -405,70 +420,70 @@ h1 a, h2 a, h3 a, h4 a
.row h2.installers { background-position: left -522px; }
.block {
- width: 280px;
- float: left;
+ width: 280px;
+ float: left;
}
.block + .block {
- margin-left: 20px;
- width: 300px;
+ margin-left: 20px;
+ width: 300px;
}
#content .block p {
- font-size: 13px;
- line-height:21px;
+ font-size: 13px;
+ line-height: 21px;
}
#explore {
- background: url(http://nodejs.org/images/home-icons.png) no-repeat left 17px;
+ background: url(http://nodejs.org/images/home-icons.png) no-repeat left 17px;
}
#explore li {
- font-size:12px;
- list-style-type: none;
- color: #d2d8ba;
- line-height: 14px;
- padding: 10px 0 10px 40px;
- border-top: 1px solid #626557;
+ font-size: 12px;
+ 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;
+ text-transform: uppercase;
}
#explore ol.jobs {
- padding: 0;
+ padding: 0;
}
#explore ol.jobs li {
- display: inline;
- padding: 0;
- border: none;
+ display: inline;
+ padding: 0;
+ border: none;
}
#explore ol.jobs li:after {
- content: ', ';
+ content: ', ';
}
#explore ol.jobs li:last-child:after {
- content: '';
+ content: '';
}
#footer {
- width: 942px;
- margin: 150px auto 55px auto;
- padding:0;
+ width: 942px;
+ margin: 150px auto 55px auto;
+ padding: 0;
}
#footer p {
- font-size: 11px;
- line-height:1em;
- padding: 0 0 0 195px;
- color: #666;
- font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
+ font-size: 11px;
+ line-height: 1em;
+ padding: 0 0 0 195px;
+ color: #666;
+ font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
}
#front #footer {
@@ -476,106 +491,108 @@ h1 a, h2 a, h3 a, h4 a
margin: 50px auto 30px auto;
padding-top: 15px;
}
+
#front #footer ul {
- margin-right:0;
- padding-right:0;
+ margin-right: 0;
+ padding-right: 0;
}
#footer a {
- text-decoration:none;
- border:none;
+ text-decoration: none;
+ border: none;
color: #690;
}
#footer a:hover {
- color:#000;
+ color: #000;
}
+
#front #footer a:hover {
- color:#fff;
+ color: #fff;
}
#footer p a {
- border-bottom:1px dotted #690;
- color: #878b78;
+ border-bottom: 1px dotted #690;
+ color: #878b78;
}
#footer ul {
- background: url(http://nodejs.org/images/footer-logo.png) left 17px no-repeat;
- border-top: 1px solid #626557;
- border-color:#90918b;
- padding-top:23px;
- padding-left: 195px;
- height: 26px;
- margin-right:137px;
+ background: url(http://nodejs.org/images/footer-logo.png) left 17px no-repeat;
+ border-top: 1px solid #626557;
+ border-color: #90918b;
+ padding-top: 23px;
+ padding-left: 195px;
+ height: 26px;
+ margin-right: 137px;
}
+
.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);
}
#footer ul li {
- list-style-type: none;
- float: left;
- font-size: 12px;
- margin:0!important;
- height: 12px;
+ list-style-type: none;
+ float: left;
+ font-size: 12px;
+ margin: 0 !important;
+ height: 12px;
}
#footer ul li a {
- margin: 0;
- padding: 0 6px 0 0;
- display: block;
- height:12px;
- line-height:12px;
+ margin: 0;
+ padding: 0 6px 0 0;
+ display: block;
+ height: 12px;
+ line-height: 12px;
}
#footer ul li + li {
- margin-left: 3px;
+ margin-left: 3px;
}
#footer ul li + li a {
- padding: 0 6px 0 6px;
- border-left: 1px solid #878b78;
+ padding: 0 6px 0 6px;
+ border-left: 1px solid #878b78;
}
#footer ul li a.twitter {
- background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 5px 0px;
- padding-left: 25px;
+ background: url(http://nodejs.org/images/twitter-bird.png) no-repeat 5px 0px;
+ padding-left: 25px;
}
-
pre, tt, code {
- color: #d2d8ba;
- font-size: 14px;
- line-height: 22px;
- font-family: Monaco, Consolas, "Lucida Console", monospace;
- margin: 0; padding: 0;
+ color: #d2d8ba;
+ font-size: 14px;
+ line-height: 22px;
+ font-family: Monaco, Consolas, "Lucida Console", monospace;
+ margin: 0; padding: 0;
}
#front pre, #front tt, #front code {
- font-size:12px;
- line-height:22px;
+ font-size: 12px;
+ line-height: 22px;
}
pre {
- padding-left: 1em;
- margin-left: -1em;
- border-left-width: 1px;
- border-left-style: solid;
- border-left-color: #626557;
+ 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;
+ 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;
+ color: #996633;
}
dd {
@@ -583,20 +600,23 @@ dd {
margin-left: 1em;
}
-
a {
- color: #690;
- text-decoration: none;
+ color: #690;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
}
-a:hover { text-decoration: underline; }
.alt a {
- background-color: #eff2db;
- padding: 0 2px;
+ background-color: #eff2db;
+ padding: 0 2px;
}
-.alt #intro a, .alt #footer a {
- background-color: transparent;
+.alt #intro a,
+.alt #footer a {
+ background-color: transparent;
}
.highlight {
@@ -604,7 +624,7 @@ a:hover { text-decoration: underline; }
padding: 0.2em 0;
}
.desktops {
- font-size: 12px;
+ font-size: 12px;
}
.release {
@@ -613,10 +633,9 @@ a:hover { text-decoration: underline; }
/* simpler clearfix */
.clearfix:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
}
-
diff --git a/doc/sh.css b/doc/sh.css
index b9ed5a3036..7022e199de 100644
--- a/doc/sh.css
+++ b/doc/sh.css
@@ -3,7 +3,8 @@
font-style: normal;
}
-.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
+.sh_sourceCode .sh_symbol,
+.sh_sourceCode .sh_cbracket {
color: #333;
}
@@ -11,13 +12,13 @@
color: #c96;
}
-.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
-.sh_sourceCode .sh_specialchar
-{
+.sh_sourceCode .sh_string,
+.sh_sourceCode .sh_regexp,
+.sh_sourceCode .sh_number,
+.sh_sourceCode .sh_specialchar {
color: #690;
}
.sh_sourceCode .sh_comment {
color: #666;
}
-
diff --git a/doc/sh_vim-dark.css b/doc/sh_vim-dark.css
index a915a7875d..42b74f44d6 100644
--- a/doc/sh_vim-dark.css
+++ b/doc/sh_vim-dark.css
@@ -1,10 +1,10 @@
.sh_sourceCode {
-
font-weight: normal;
font-style: normal;
}
-.sh_sourceCode .sh_symbol , .sh_sourceCode .sh_cbracket {
+.sh_sourceCode .sh_symbol ,
+.sh_sourceCode .sh_cbracket {
color: #fff;
}
@@ -12,10 +12,11 @@
font-style: italic;
}
-.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
-.sh_sourceCode .sh_specialchar
-{
- color: #a0c874;
+.sh_sourceCode .sh_string,
+.sh_sourceCode .sh_regexp,
+.sh_sourceCode .sh_number,
+.sh_sourceCode .sh_specialchar {
+ color: #a0c874;
}
.sh_sourceCode .sh_comment {
@@ -23,11 +24,10 @@
}
.alt .sh_sourceCode .sh_keyword {
- font-style: normal;
- color: #996633;
+ font-style: normal;
+ color: #996633;
}
.alt .sh_sourceCode .sh_symbol , .alt .sh_sourceCode .sh_cbracket {
- color: #46483e;
+ color: #46483e;
}
-