Main layout styling. Fix #48. Fix #36. Fix #23. Fix #22.