]> git.cworth.org Git - empires-html/commit
Add some mobile-first styling
authorCarl Worth <cworth@cworth.org>
Mon, 11 May 2020 22:46:59 +0000 (15:46 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 11 May 2020 22:46:59 +0000 (15:46 -0700)
commit399a497d39ba4cda43aca89333a356e22bf1916c
treeb423b29dbb03f36e00182841e5774ef83dac48ce
parentf32c12ef4d9d9eebddee05848626838b218ee20d
Add some mobile-first styling

Some of the changes here include:

  * Adding a reset.css for good control of all styling

  * Using only the center portion of the window for a very wide window

  * Dropping wasteful margins around page content for a narrow window

  * Forcing input fields onto their own rows

  * Use grid display for form for consistent input width

  * Use 2-column for on wide windows and single-column for narrow

  * Use more modern flat styling for the submit button

  * Drop the ugly dashed outline for button focus
index.html
reset.css [new file with mode: 0644]
style.css