Better generic styling for templates