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

Ajankohdalta 8.7.2018. Katso uusin versio.

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v1.0.1 26.9.2019 Update for new classnames (allows content to expand below the sidebar again)
  • v1.0.0 17.1.2019 Add options: allowWiderContent, useOldGithubColors, makeLinksBlue
  • v0.7.18 20.7.2018 Do not let strong colour override link colour, Prevent links from overgrowing
  • v0.7.16 20.7.2018 Update after the site changed its classNames
  • v0.7.15 18.7.2018 Disable early sidebar check, to prevent double run bug on Firefox
  • v0.7.14 8.7.2018 Fix: Below 1500px, only grow as wide as possible
  • v0.7.13 7.7.2018 Sync font sizes with GitHub
  • v0.7.12 6.7.2018 Make selectors more specific, to achieve override, Add .vistweaks to all the selectors
  • v0.7.12 5.7.2018 Fixes for CSS changes
  • v0.7.11 27.6.2018 Minor: padding
  • v0.7.10 27.6.2018 Minor: always expand to available width
  • v0.7.9 4.5.2018 Prevent an early image from break down below the float
  • v0.7.8 24.4.2018 Limit width at 1500px
  • v0.7.7 24.4.2018 fix code block background colour
  • v0.7.6 24.4.2018 Equal size margins, Make the shadow smaller and neater, Use a simple solid border instead of box-shadow
  • v0.7.6 24.4.2018 Watch for page changes and respond
  • v0.7.5 18.4.2018 Add padding below the floating sidebar
  • v0.7.4 5.4.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.3.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.3.2018 Updated for npmjs.com's new stylesheet
  • v0.6.5 12.2.2018 Apply darker colour to text on Mac only
  • v0.6.5 12.2.2018 Apply darker colour to text on Mac only
  • v0.6.4 11.2.2018 Use mono font; rounded edges on boxes; colors and font-sizes match up on Linux
  • v0.6.3 9.2.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 7.2.2018 Thicker font for section headers
  • v0.5 19.1.2018 Update description
  • v0.4 19.1.2018 Imported from URL