Use CSS gradients for bubble background on mixed results.

Also, fixed some formatting/stylistic things from Andrew's patch. The gradient is limited to the last 5 results so as not to overdo things.