npm / www

community space for the npm website
https://npm.community
69 stars 48 forks source link

Missing `html { background-color: white; }` rule on the new website #369

Open AlexandreBonneau opened 6 years ago

AlexandreBonneau commented 6 years ago

Link to the page

https://www.npmjs.com/package/autonumeric

Logged in or logged out?

out

Expected behavior

The previous version could be readable because you specified the background color to white, instead of assuming it.

Actual behavior

It's unreadable, take a look: bug_website_npm

Steps to reproduce the problem

  1. Go to a package page
  2. Check that your eyes are now bleeding

Browser with version

Not really important here

Any error message?

Can't see any with all that blood in my eyes

Proposed solution

It's pretty simple, add the following CSS rules to the website:

body {
    background-color: white;
    color           : #333;
}

Yes, do not forget to set color too, just in case.

AlexandreBonneau commented 6 years ago

Did I mention this is unreadable? :)