Fixing CSS to reduce redundancy