base template with css