Add CSS styling to templates