template and base style