doc: style fixes for the TOC
authorRoman Reiss <me@silverwind.io>
Mon, 18 Jan 2016 19:21:56 +0000 (20:21 +0100)
committerMyles Borins <mborins@us.ibm.com>
Mon, 15 Feb 2016 19:30:23 +0000 (11:30 -0800)
commit39cb69ca21b0b5311f06a949da21fda6addbb2e8
tree46af6404b5ed497f1c6f1b9a16c59d160dbd89f3
parentbe8274508cd7c8c39aee779865c0b2a4be440817
doc: style fixes for the TOC

- Hide the scrollbar on the TOC on all browsers. It was never the
  intention for it to be visible with the scroll indication in place.
  A wrapper element with 20px padding was added to accommodate for
  hopefully all scrollbar widths as well as to avoid overflowing
  content.
- Fixed the scroll indication gradient on Safari, which was caused by
  the wrong from-color, which now matches the to-color.
- Fixed a issue in old IE where the TOC didn't render on the correct
  position through setting `left: 0` and `top: 0` on it.

PR-URL: https://github.com/nodejs/node/pull/4748
Reviewed-By: James M Snell <jasnell@gmail.com>
doc/api_assets/style.css
doc/template.html