Browse Source

website: Sharpen and clean up download page more

Retinaify the images!
v0.8.7-release
isaacs 13 years ago
parent
commit
24ff8f4c79
  1. 39
      doc/download/index.html
  2. BIN
      doc/images/platform-icon-generic.png
  3. BIN
      doc/images/platform-icon-osx.png
  4. BIN
      doc/images/platform-icon-win.png
  5. 58
      doc/pipe.css

39
doc/download/index.html

@ -46,19 +46,36 @@
</p> </p>
<p>Current version: <b>__VERSION__</b></p> <p>Current version: <b>__VERSION__</b></p>
</div> </div>
<div class="interior row">
<ul id="installers" class="clearfix">
<li><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">Windows Installer</a><br>node-__VERSION__-x86.msi</li>
<li><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">Macintosh Installer</a><br>node-__VERSION__.pkg</li>
<li id="source"><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">Source Code</a><br>node-__VERSION__.tar.gz</li>
</ul>
</div>
<div class="interior row"> <div class="interior row">
<h2 id="binaries" class="installers">Downloads</h2> <div id="installers">
<p> <ul>
To install Node.js and npm use the appropriate installer for your platform, or discover <a href="https://raw.github.com/joyent/node/__VERSION__/ChangeLog">what's new</a> in <strong>Node.js __VERSION__</strong>. <li>
</p> <a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">
<img src="http://nodejs.org/images/platform-icon-win.png"
height=50 width=45 alt="">
Windows Installer
<small>node-__VERSION__-x86.msi</small>
</a>
</li>
<li>
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">
<img src="http://nodejs.org/images/platform-icon-osx.png"
height=50 width=45 alt="">
Macintosh Installer
<small>node-__VERSION__.pkg</small>
</a>
</li>
<li id="source">
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">
<img src="http://nodejs.org/images/platform-icon-generic.png"
height=50 width=45 alt="">
Source Code
<small>node-__VERSION__.tar.gz</small>
</a>
</li>
</ul>
</div>
<table style="font-size:14px"> <table style="font-size:14px">
<tr> <tr>

BIN
doc/images/platform-icon-generic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
doc/images/platform-icon-osx.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
doc/images/platform-icon-win.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

58
doc/pipe.css

@ -195,41 +195,53 @@ h1 a, h2 a, h3 a, h4 a
width:100%; width:100%;
} }
#download-page #installers {
width:600px;
display:table;
margin-bottom:1em;
}
#download-page #installers ul {
#download-page ul#installers {
width: auto; width: auto;
text-align: center; text-align: center;
margin: 0 auto; margin: 0 auto;
background: url(http://nodejs.org/images/platform-icons.png) no-repeat center 20px white; display:table-row;
padding-top: 92px; width:600px;
padding-bottom: 45px;
padding-left: 29px;
}
#download-page ul#installers li {
list-style-type: none;
width: 165px;
padding-left: 18px;
float: left;
display: block;
color: #33342D;
font-size: 10px;
} }
#download-page ul#installers li#source { #download-page #installers ul img {
padding-left: 0; display:block;
margin:0 auto;
}
#download-page #installers ul a {
display:block;
width:100%;
text-decoration:none;
font-size: 16px;
padding-top:1em;
} }
#download-page ul#installers li a { #download-page #installers ul a:hover,
font-size: 16px; #download-page #installers ul a:active {
padding-top: 80px; background:#666;
margin-top: -80px; color: #8cc84b;
}
#download-page #installers ul li {
width:33%;
display:table-cell;
}
#download-page #installers a small {
font-size: 10px;
display:block;
color:#eee;
} }
#download-page #content th { #download-page #content th {
text-align:left; text-align:left;
width:35%; width:33%;
} }
#download-page #content table { #download-page #content table {

Loading…
Cancel
Save