changed styling of contrast box and pagination buttons