Margins on main content for different sizes (HTML 5 UI: Hard to find actions menu)

New rules for CSS (and javascript) so it looks right for more screen sizes.