revert breaking changes

the changes in #45 broke a lot of styling and layout. These are the reversed changes which will suffice until we can fund a more elegant way to output valid HTML and CSS.