From 766f609838734f7ddf2ee9503e8205647ecb5dbf Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Thu, 12 Jan 2012 14:08:08 -0800 Subject: [PATCH] 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. --- doc/index.html | 3 ++- doc/pipe.css | 38 ++++++++++++++++++++++++++------------ 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/doc/index.html b/doc/index.html index 151273b..61f1089 100644 --- a/doc/index.html +++ b/doc/index.html @@ -29,7 +29,8 @@ lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

- Download + Download + Docs

Node.js in the Industry

diff --git a/doc/pipe.css b/doc/pipe.css index b1ed758..3da6d12 100644 --- a/doc/pipe.css +++ b/doc/pipe.css @@ -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 { -- 2.7.4