Fix minor css and rubocop errors

Fixed some CSS issues left over from the last pull request and fixed some rubocop errors related to the changed files of that pull request.