body { font-size: 120%; text-align: center; display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 2em; } input { padding: 0.4em; border-radius: 0.3em; font-size: inherit; border: 1px solid silver; } button { padding: 0.4em; border-radius: 0.3em; font-size: inherit; border: 1px solid silver; } th { text-align: start; } ul { list-style: none; padding: 0; } table, img, canvas { margin: 1em auto; } img, canvas { display: block; width: 80vmin; max-width: 20em; border: 1px solid; image-rendering: -moz-crisp-edges; image-rendering: -webkit-crisp-edges; image-rendering: pixelated; } .only-disabled { display: none; } form.disabled .only-disabled { display: block; } .options label { display: block; padding: 0.4em; border-radius: 0.3em; border: 1px solid silver; background: #eee; margin: 0 0 0.2em; } .list-inline li { display: inline; } .list-inline li:not(:last-child)::after { content: ", " } @media (min-width: 40em) { .options { columns: 2; } }