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

These are all versions of this script. Show only the versions where the code changed.

  • v1.0.1 26.09.2019 Update for new classnames (allows content to expand below the sidebar again)
  • v1.0.0 17.01.2019 Add options: allowWiderContent, useOldGithubColors, makeLinksBlue
  • v0.7.18 20.07.2018 Do not let strong colour override link colour, Prevent links from overgrowing
  • v0.7.16 20.07.2018 Update after the site changed its classNames
  • v0.7.15 18.07.2018 Disable early sidebar check, to prevent double run bug on Firefox
  • v0.7.14 08.07.2018 Fix: Below 1500px, only grow as wide as possible
  • v0.7.13 07.07.2018 Sync font sizes with GitHub
  • v0.7.12 06.07.2018 Make selectors more specific, to achieve override, Add .vistweaks to all the selectors
  • v0.7.12 05.07.2018 Fixes for CSS changes
  • v0.7.11 27.06.2018 Minor: padding
  • v0.7.10 27.06.2018 Minor: always expand to available width
  • v0.7.9 04.05.2018 Prevent an early image from break down below the float
  • v0.7.8 24.04.2018 Limit width at 1500px
  • v0.7.7 24.04.2018 fix code block background colour
  • v0.7.6 24.04.2018 Equal size margins, Make the shadow smaller and neater, Use a simple solid border instead of box-shadow
  • v0.7.6 24.04.2018 Watch for page changes and respond
  • v0.7.5 18.04.2018 Add padding below the floating sidebar
  • v0.7.4 05.04.2018 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 26.03.2018 Let the readme flow beneath the sidebar (make the hovering sidebar a float), Prevent header bars from touching the floating sidebar
  • v0.7.0 22.03.2018 Updated for npmjs.com's new stylesheet
  • v0.6.5 12.02.2018 Apply darker colour to text on Mac only
  • v0.6.5 12.02.2018 Apply darker colour to text on Mac only
  • v0.6.4 11.02.2018 Use mono font; rounded edges on boxes; colors and font-sizes match up on Linux
  • v0.6.3 09.02.2018 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 07.02.2018 Thicker font for section headers
  • v0.5 19.01.2018
  • v0.5 19.01.2018 Update description
  • v0.4 19.01.2018 Imported from URL