levity

(n) lightness in humor or disposition   
Although it was a funeral eulogy, it had its moments of levity.