Skip to content
Myr

More doc styling

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 29641ae · Browse files · 4 files+418 added−33 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+418 added−33 removed

  • other:+418 added−33 removed

4 files+418 added−33 removed

modified:docs/layout/head.html+139 added-10 removed
modified:docs/api.html+1 added-3 removed
302 unmodified lines
303</td>304</tr>305<tr class="code">306<td class="docs">307<p>Inherit from <code>connect.Server</code>.</p>307<p>Inherit from <code>connect.Server</code>.</p>308</td>309<td class="code">310<pre><code><span class="variable">sys</span>.<span class="variable">inherits</span>(<span class="class">Server</span>, <span class="variable">connect</span>.<span class="class">Server</span>);</code></pre>311</td>
230 unmodified lines
542<li><p><strong>param</strong>: <em>Object</em> options</p></li>543<li><p><strong>param</strong>: <em>Function</em> fn</p></li>544<li><p><strong>api</strong>: <em>public</em></p></li>545</ul>546/p>546548"547</td>548<td class="code">549<pre><code><span class="variable">http</span>.<span class="class">ServerResponse</span>.<span class="variable">prototype</span>.<span class="variable">render</span> = <span class="keyword">function</span>(<span class="variable">view</span>, <span class="variable">options</span>, <span class="variable">fn</span>){550 <span class="variable">options</span> = <span class="variable">options</span> || {};
74 unmodified lines
modified:docs/index.html+139 added-10 removed
6 unmodified lines
7 font: 14px/1.2 "Lucida Grande", "Helvetica Nueue", Arial, sans-serif;8 text-align: center;9 }10 #header {11 position: absolute;12 top: 0;13 left: 0;14 padding: 15px 40px;15 width: 100%;12 border-bottom: 1px solid #EDEBC9;13 background: #FFFAE5 url(http://www.sencha.com/favicon.ico) no-repeat 15px 50%;16 border-bottom: 1px solid #000;17 background: rgba(255,255,255,0.1) url(http://www.sencha.com/favicon.ico) no-repeat 15px 50%;18 text-align: left;19 color: #fff;20 }21 #container {22 margin: 0 auto;23 padding: 15px 40px;24 width: 900px;25 text-align: left;26 }22 h2 {23 font-size: 30px;24 }27 html {28 background: #1c1c1c url(images/bg.tile.jpg); }2930 body {31 margin: 0;32 padding-bottom: 30px;33 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";34 font-size: 14px;35 line-height: 1.5;36 -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);37 -moz-text-stroke: 1px rgba(0, 0, 0, 0.1);38 background: url(images/bg.jpg) 50% 0 no-repeat;39 color: #8b8b8b; }4041 * {42 outline: none; }4344 em {45 color: white; }4647 a img {48 border: none !important; }4950 a {51 font-weight: bold;52 color: white;53 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;54 -webkit-transition-duration: 0.15s;55 -webkit-transition-timing-function: ease-out; }56 a:hover {57 opacity: 0.8; }5859 h1, h2, h3 {60 margin: 35px 0 0 0;61 color: white;62 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }6364 h3 {65 margin-left: 20px;66 font-size: 18px; }6768 pre {26 margin: 20px;27 padding: 20px;28 border: 1px solid #eee;29 color: #222;30 }69 margin: 20px 10px;70 padding: 20px 20px;71 background: rgba(0,0,0,0.5);72 border: 1px solid #323232;73 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);74 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);75 -webkit-border-radius: 5px;76 -moz-border-radius: 5px; }7778 code {79 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }8081 ul {82 margin: 15px 0;83 padding: 0 0 0 35px; }84 ul li {85 margin: 0;86 padding: 2px 0;87 list-style: square; }8889 .clear {90 clear: both; }9192 .sect {93 margin-left: 40px; }9495 #logo {96 display: block;97 margin-left: 30%;98 margin-bottom: 30px;99 width: 194px;100 height: 51px;101 background: url(images/logo.png) 0 0 no-repeat;102 text-indent: -99999px; }103 #logo:hover {104 opacity: 0.7; }105 #logo:active {106 opacity: 0.3; }107108 #tagline {109 margin-left: 75px;110 margin-bottom: 30px;111 color: rgba(255,255,255,0.7); }112113 #ribbon {114 position: absolute;115 top: 0;116 right: 0;117 z-index: 2; }118119 #wrapper {120 width: 100%;121 min-height: 800px;122 background: url(images/top.png) 0 0 repeat-x; }123124 #container {125 margin: 0 auto;126 padding-top: 90px;127 width: 550px; }128129 #menu {130 margin-left: 100px;131 padding: 0;132 padding-bottom: 30px; }133 #menu li {134 display: inline;135 list-style: none; }136 #menu li a {137 display: block;138 float: left;139 margin: 0 2px;140 padding: 3px 15px;141 background: rgba(0,0,0,0.2);142 -webkit-border-radius: 8px;143 -moz-border-radius: 8px;144 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);145 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);146 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;147 -webkit-transition-duration: 0.15s;148 -webkit-transition-timing-function: ease-out; }149 #menu li a:hover,150 #menu li a.active {151 padding: 3px 20px;152 background: rgba(0,0,0,0.5); }153 #menu li a:active {154 background: rgba(0,0,0,0.1);155 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);156 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }157 </style>158 </head>159 <body>160 <a href='http://github.com/visionmedia/express'> 161 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 162 </a>163 <div id="header"><strong>Sencha</strong> labs</div>164 <div id="container"><div class='mp'>165<h2 id="Express">Express</h2>166
13 unmodified lines
modified:docs/migrate.html+139 added-10 removed
6 unmodified lines
7 font: 14px/1.2 "Lucida Grande", "Helvetica Nueue", Arial, sans-serif;8 text-align: center;9 }10 #header {11 position: absolute;12 top: 0;13 left: 0;14 padding: 15px 40px;15 width: 100%;12 border-bottom: 1px solid #EDEBC9;13 background: #FFFAE5 url(http://www.sencha.com/favicon.ico) no-repeat 15px 50%;16 border-bottom: 1px solid #000;17 background: rgba(255,255,255,0.1) url(http://www.sencha.com/favicon.ico) no-repeat 15px 50%;18 text-align: left;19 color: #fff;20 }21 #container {22 margin: 0 auto;23 padding: 15px 40px;24 width: 900px;25 text-align: left;26 }22 h2 {23 font-size: 30px;24 }27 html {28 background: #1c1c1c url(images/bg.tile.jpg); }2930 body {31 margin: 0;32 padding-bottom: 30px;33 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";34 font-size: 14px;35 line-height: 1.5;36 -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);37 -moz-text-stroke: 1px rgba(0, 0, 0, 0.1);38 background: url(images/bg.jpg) 50% 0 no-repeat;39 color: #8b8b8b; }4041 * {42 outline: none; }4344 em {45 color: white; }4647 a img {48 border: none !important; }4950 a {51 font-weight: bold;52 color: white;53 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;54 -webkit-transition-duration: 0.15s;55 -webkit-transition-timing-function: ease-out; }56 a:hover {57 opacity: 0.8; }5859 h1, h2, h3 {60 margin: 35px 0 0 0;61 color: white;62 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }6364 h3 {65 margin-left: 20px;66 font-size: 18px; }6768 pre {26 margin: 20px;27 padding: 20px;28 border: 1px solid #eee;29 color: #222;30 }69 margin: 20px 10px;70 padding: 20px 20px;71 background: rgba(0,0,0,0.5);72 border: 1px solid #323232;73 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);74 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);75 -webkit-border-radius: 5px;76 -moz-border-radius: 5px; }7778 code {79 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }8081 ul {82 margin: 15px 0;83 padding: 0 0 0 35px; }84 ul li {85 margin: 0;86 padding: 2px 0;87 list-style: square; }8889 .clear {90 clear: both; }9192 .sect {93 margin-left: 40px; }9495 #logo {96 display: block;97 margin-left: 30%;98 margin-bottom: 30px;99 width: 194px;100 height: 51px;101 background: url(images/logo.png) 0 0 no-repeat;102 text-indent: -99999px; }103 #logo:hover {104 opacity: 0.7; }105 #logo:active {106 opacity: 0.3; }107108 #tagline {109 margin-left: 75px;110 margin-bottom: 30px;111 color: rgba(255,255,255,0.7); }112113 #ribbon {114 position: absolute;115 top: 0;116 right: 0;117 z-index: 2; }118119 #wrapper {120 width: 100%;121 min-height: 800px;122 background: url(images/top.png) 0 0 repeat-x; }123124 #container {125 margin: 0 auto;126 padding-top: 90px;127 width: 550px; }128129 #menu {130 margin-left: 100px;131 padding: 0;132 padding-bottom: 30px; }133 #menu li {134 display: inline;135 list-style: none; }136 #menu li a {137 display: block;138 float: left;139 margin: 0 2px;140 padding: 3px 15px;141 background: rgba(0,0,0,0.2);142 -webkit-border-radius: 8px;143 -moz-border-radius: 8px;144 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);145 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);146 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;147 -webkit-transition-duration: 0.15s;148 -webkit-transition-timing-function: ease-out; }149 #menu li a:hover,150 #menu li a.active {151 padding: 3px 20px;152 background: rgba(0,0,0,0.5); }153 #menu li a:active {154 background: rgba(0,0,0,0.1);155 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);156 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }157 </style>158 </head>159 <body>160 <a href='http://github.com/visionmedia/express'> 161 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 162 </a>163 <div id="header"><strong>Sencha</strong> labs</div>164 <div id="container"><div class='mp'>165<h2 id="Migration-Guide">Migration Guide</h2>166
6 unmodified lines