client: added click() handling to pits
also slight refactored styles to better follow css best practices