]> git.cworth.org Git - lmno.games/log
lmno.games
3 years agoAdd simple JavaScript processing of game ID form submission
Carl Worth [Sun, 17 May 2020 01:14:59 +0000 (18:14 -0700)]
Add simple JavaScript processing of game ID form submission

All we are currently doing so far is getting the 404 return status and
properly plumbing that through to a message area.

3 years agoRemove percentage units from grid column sizing
Carl Worth [Sun, 17 May 2020 01:13:21 +0000 (18:13 -0700)]
Remove percentage units from grid column sizing

Richard recommends against using percentages here as it can be
surprising which size the percentage is computed against. This usage
of fr and em units should likely do what we want. (Note: We're not
actually exercising this currently, so we'll need to revisit this once
we add any 2-column field inputs.)

3 years agoAdd a little universal padding to the page
Carl Worth [Sat, 16 May 2020 22:40:53 +0000 (15:40 -0700)]
Add a little universal padding to the page

Regardless of how tiny the display is, we do want at least _some_
padding.

3 years agoRefine the Game ID input field
Carl Worth [Sat, 16 May 2020 22:38:02 +0000 (15:38 -0700)]
Refine the Game ID input field

Here we restrict it to 4 characters, force the input to uppercase,
disable autocomplete (since we don't expect intentional reuse of game
ID codes), and provide some instruction in the placeholder.

3 years agoAdd some basic styling for form input fields
Carl Worth [Sat, 16 May 2020 22:31:47 +0000 (15:31 -0700)]
Add some basic styling for form input fields

Compared to browser defaults this provides larger font sizes and a
more modern flat aesthetic with a simple color scheme.

3 years agoNever allow the background body color to be seen on a tiny screen
Carl Worth [Sat, 16 May 2020 22:17:05 +0000 (15:17 -0700)]
Never allow the background body color to be seen on a tiny screen

This breaks the illusion of "full screen" which we want to maintain on
small devices.

3 years agoAdd some responsive layout for the page itself
Carl Worth [Sat, 16 May 2020 22:06:50 +0000 (15:06 -0700)]
Add some responsive layout for the page itself

This is designed to use all the space available on a small device
(such as a phone) but then to smoothly allow some distinctly-colored
background to be visbile on a large device while maxing out the page
width at a reasoable maximum width.

This styling change does introduce a new containing "page" div around
the content.

3 years agoAdd a simple form for joining a game
Carl Worth [Sat, 16 May 2020 21:00:11 +0000 (14:00 -0700)]
Add a simple form for joining a game

Note: This doesn't actually do anything yet.

3 years agoAdd styling for some mobile-friendly forms and form fields
Carl Worth [Sat, 16 May 2020 20:54:52 +0000 (13:54 -0700)]
Add styling for some mobile-friendly forms and form fields

These fields will reponsively decide whether to layout in 1 or 2
columns depending on whether the fields are declared as "small",
"medium", or "large" and the width of the browser's screen.

3 years agoAdd the most basic of font styling
Carl Worth [Sat, 16 May 2020 20:24:31 +0000 (13:24 -0700)]
Add the most basic of font styling

Simply choosing a sans-serif font for the body as well as some larger
(and bold) font sizes for h1 and h2 headers.

3 years agoAdd a reset CSS stylesheet
Carl Worth [Sat, 16 May 2020 20:21:30 +0000 (13:21 -0700)]
Add a reset CSS stylesheet

This eliminates basically all browser default styling (which differs
from browser to browser anyway). So this does not give any _nice_
styling but it does give a consistent baseline to start with.

Thanks to Eric Meyer for this stylesheet which was obtained (public
domain) from his website at:

https://meyerweb.com/eric/tools/css/reset/

3 years agoAdd DOCTYPE and "meta charset" tag.
Carl Worth [Sat, 16 May 2020 20:16:28 +0000 (13:16 -0700)]
Add DOCTYPE and "meta charset" tag.

I don't know what the DOCTYPE tag even does, but here it is.

And I really wish the world were already defaulted into utf-8 by now,
but apparently not without an explicit indication. Oh well.

3 years agoAdd a simple Makefile with a "make deploy" target
Carl Worth [Sat, 16 May 2020 20:05:43 +0000 (13:05 -0700)]
Add a simple Makefile with a "make deploy" target

This doesn't do any deleting of pre-existing files, (to avoid deleting
any web content from sub directories that aren't being maintained in
this repository). We'll need to eventually sort out a better solution
for that.

3 years agoInitial commit
Carl Worth [Sat, 16 May 2020 19:55:50 +0000 (12:55 -0700)]
Initial commit

Start tracking static web site content for https://lmno.games