add tail.html, move most css there