It would be a little more readable if these styles were pulled out into a <style> element inside the template.