finished base templating styles