Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
website: Add "Api Docs" button next to "Download"
* Added Docs button and `button` class.
* Refactored download button style into `.button`
* Applied color overrides for download/docs buttons.
* Pointed docs link to latest available docs.
  • Loading branch information
rauchg authored and isaacs committed Jan 12, 2012
1 parent bd9fa2e commit 766f609
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
3 changes: 2 additions & 1 deletion doc/index.html
Expand Up @@ -29,7 +29,8 @@
lightweight and efficient, perfect for data-intensive real-time
applications that run across distributed devices.</p>

<a href="#download" id="downloadbutton">Download</a>
<a href="#download" class="button" id="downloadbutton">Download</a>
<a href="http://nodejs.org/docs/latest/api/index.html" class="button" id="docsbutton">Docs</a>
</div>
<div id="quotes" class="clearfix">
<h2>Node.js in the Industry</h2>
Expand Down
38 changes: 26 additions & 12 deletions doc/pipe.css
Expand Up @@ -62,22 +62,36 @@ h1 a, h2 a, h3 a, h4 a
font-size: 14px;
}

#intro #downloadbutton {
background-color: #8BC84B;
color: #46483e;
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding: 7px 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
#intro .button {
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding: 7px 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 0 5px;
color: #46483e;
}

#intro .button:hover {
text-decoration: none;
}

#intro #downloadbutton {
background-color: #8BC84B;
}

#intro #downloadbutton:hover {
text-decoration: none;
background-color: #73a53e;
background-color: #73a53e;
}

#intro #docsbutton {
background-color: #d2d8ba;
}

#intro #docsbutton:hover {
background-color: #aab293;
}

#quotes {
Expand Down

0 comments on commit 766f609

Please sign in to comment.