Style learn header, tidy up teacher layout