Change styling of periods