improving the css of my existing code