diff options
author | Golo Roden <webmaster@goloroden.de> | 2012-08-13 17:43:26 +0200 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-08-15 09:09:23 -0700 |
commit | 15c6c0eeccd55395ecac5f02c7e09aea711ea96e (patch) | |
tree | 224f835297d779eb62541cd46e996c099cef14ca /doc/pipe.css | |
parent | 3ccee087597c6a14c1b171d43a618c10889d4169 (diff) | |
download | node-15c6c0eeccd55395ecac5f02c7e09aea711ea96e.tar.gz |
website: download page
- Improved styling of download links.
- index.html#download now redirects to /download/
- Added missing hyphens, and added the missing "and 64-bit" for the Mac
Installer.
Diffstat (limited to 'doc/pipe.css')
-rw-r--r-- | doc/pipe.css | 106 |
1 files changed, 7 insertions, 99 deletions
diff --git a/doc/pipe.css b/doc/pipe.css index 286c1a6fc..f1db83238 100644 --- a/doc/pipe.css +++ b/doc/pipe.css @@ -308,6 +308,7 @@ h1 a, h2 a, h3 a, h4 a .row h2.conferences { background-position: left -522px; } .row h2.localized { background-position: left -414px; } .row h2.irc { background-position: left -626px; } +.row h2.installers { background-position: left -522px; } .block { width: 280px; @@ -447,111 +448,18 @@ h1 a, h2 a, h3 a, h4 a } - -div#download { - position: absolute; - width: 580px; - text-align: center; - top: 0; - left: 50%; - margin-left: -290px; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; - padding-top: 40px; - -webkit-box-shadow: 0 0 32px #000; - -moz-box-shadow: 0 0 32px #000; - box-shadow: 0 0 32px #000; - background:white; - display: none; -} - -div#download:target { - display: block; -} - -#download-close { - background: url(http://nodejs.org/images/close-downloads.png) no-repeat top right; - width: 64px; - height: 64px; - position: absolute; - display: block; - top:0; - right:0; - text-indent:-999em; -} - -div#download ul#installers { - width: 550px; - text-align: center; - margin: 0 auto; - background: url(http://nodejs.org/images/platform-icons.png) no-repeat top center; - padding-top: 65px; - padding-bottom: 50px; -} - -div#download ul#installers li { - list-style-type: none; - width: 165px; - padding-left: 18px; - float: left; - display: block; - color: #33342d; - font-size: 10px; -} - -div#download ul#installers li#source { - padding-left: 0; -} - -div#download ul#installers li a { - font-size: 16px; - padding-top: 50px; - margin-top: -50px; -} - -div#download ul#documentation { - background-color: #d4d7c3; - padding: 20px 0 20px 40px; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; -} - -div#download ul#documentation li { - margin-left: 40px; - text-align: left; - color: #33342d; - font-size: 14px; - font-weight: bold; - padding-bottom: 5px; -} - -div#download ul#documentation li a { - color: #76a83f; -} - -#download-logo { - margin-bottom: 37px; -} - - pre, tt, code { - color: #d2d8ba; +pre, tt, code { + 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 { +} + +#front pre, #front tt, #front code { font-size:12px; line-height:22px; - } +} pre { padding-left: 1em; |