Various styling and formatting adjustments for CSS and templates