Allows adding contribution types.

Also fixed ::before and ::after to be aligned with the text they follow.