tm: re-styling pages