move template css to html for clarity