Fixes some minor and a major error

As it says, I noticed some really weird (sorry if you wrote this) and poor written CSS, when I linted the file, these popped up. Anyway these should let some more rules pass ;)