.button-link { background: none; border: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; } img { width: calc(min(100%, 800px)); border-radius: 0.25em; border-style: none; } button { font: inherit; cursor: pointer; text-decoration: none; } table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 0.75em; } .visually-hidden { overflow: hidden; width: 0; height: 0; display: block; left: 50%; position: absolute; transform: translateY(-100%); } ul.navbar { list-style-type: none; margin: 0; padding: 0; overflow: hidden; } ul.navbar li { display: inline; float: left; margin: 0; padding: 0; } ul.navbar li button { transition: 0.25s; background-color: inherit; border: none; padding: 1em 1.5em; font: inherit; cursor: pointer; text-decoration: none; display: block; } ul.navbar li.right { float: right; } ul.navbar li.right button { font-size: 1.5em; padding: 0; height: 54px; width: 54px; } input[type="text"], input[type="email"], textarea { display: block; width: calc(min(100% - 1em, 800px)); } input[type="text"], input[type="email"], input[type="button"], textarea, button { border-radius: 0.25em; border-width: thin; border-style: solid; border-color: gray; padding: 0.5em 0.75em; } textarea { height: 10em; } label { margin-top: 0.5em; display: block; } html, body { height: 100%; margin: 0; padding: 0; } #root-head { margin: 0 auto; padding: 0; display: block; max-width: calc(max(80%, 800px)); min-height: 100%; } #root-body { padding: 1em; }