]> git.cworth.org Git - lmno.games/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)
commitcb1b69c3466b7ed486cfe32627eff099877d5b44
tree2cd5d0270eaf254b2fc04ad732bdb4f78c212ef9
parentfdf092626542c31b23cbb53a345dcb24f48ff90c
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
empires/index.html
empires/reset.css [new file with mode: 0644]
empires/style.css