Fix layout of the home page

Fixes a whole bunch of problems with the way the home page is written, and
improves its layout somewhat.

Also modifies the default css file in a way that fixes some bad coding pratices
there, but breaks many pages. These pages will have to be fixed in later
commits.