npmjs.com visual tweaks

Makes READMEs on npmjs.com look more like READMEs on GitHub (font, size, padding, some colors); also makes the content wider

这是此脚本的所有版本。 只显示代码更新过的版本

  • v1.0.1 2019-09-26 Update for new classnames (allows content to expand below the sidebar again)
  • v1.0.0 2019-01-17 Add options: allowWiderContent, useOldGithubColors, makeLinksBlue
  • v0.7.18 2018-07-20 Do not let strong colour override link colour, Prevent links from overgrowing
  • v0.7.16 2018-07-20 Update after the site changed its classNames
  • v0.7.15 2018-07-18 Disable early sidebar check, to prevent double run bug on Firefox
  • v0.7.14 2018-07-08 Fix: Below 1500px, only grow as wide as possible
  • v0.7.13 2018-07-07 Sync font sizes with GitHub
  • v0.7.12 2018-07-06 Make selectors more specific, to achieve override, Add .vistweaks to all the selectors
  • v0.7.12 2018-07-05 Fixes for CSS changes
  • v0.7.11 2018-06-27 Minor: padding
  • v0.7.10 2018-06-27 Minor: always expand to available width
  • v0.7.9 2018-05-04 Prevent an early image from break down below the float
  • v0.7.8 2018-04-24 Limit width at 1500px
  • v0.7.7 2018-04-24 fix code block background colour
  • v0.7.6 2018-04-24 Equal size margins, Make the shadow smaller and neater, Use a simple solid border instead of box-shadow
  • v0.7.6 2018-04-24 Watch for page changes and respond
  • v0.7.5 2018-04-18 Add padding below the floating sidebar
  • v0.7.4 2018-04-05 Keep the sidebar outside the readme, so it doesn't lose its font styles, Fix huge margins above headers, and list indentation
  • v0.7.2 2018-03-26 Let the readme flow beneath the sidebar (make the hovering sidebar a float), Prevent header bars from touching the floating sidebar
  • v0.7.0 2018-03-22 Updated for npmjs.com's new stylesheet
  • v0.6.5 2018-02-12 Apply darker colour to text on Mac only
  • v0.6.5 2018-02-12 Apply darker colour to text on Mac only
  • v0.6.4 2018-02-11 Use mono font; rounded edges on boxes; colors and font-sizes match up on Linux
  • v0.6.3 2018-02-09 Add more detailed description, Optional: Use npm font for section headers, Drop the scaling, Make text darker; reset link weight, Remove code from the selector: it was un-coloring links
  • v0.6 2018-02-07 Thicker font for section headers
  • v0.5 2018-01-19
  • v0.5 2018-01-19 Update description
  • v0.4 2018-01-19 Imported from URL