Updated stylesheets to avoid issue with using `div {max-width:100%}` (Fixes #520)