slightly refactor CSS as per CR suggestions
fix indentation as per CR suggestions
Use one var statement per variable.
fix indentation as per CR suggestions + generally unify whitespacing
Fix truthy and constants