css fixes for historybutton and nightmode