html { height: 100%; } span.logo { margin: 0; padding: 0.2em; } span.logo.left { color: black; background-color: white; } span.logo.right { color: white; background-color: black; } body { background-color: #f0f0f0; line-height: 200%; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; font-family: sans-serif; } h1, h2 { text-align: center; } h1 { user-select: none; } h2 { font-size: 100%; margin-top: 0; margin-bottom: 1em; } label { font-size: 100%; font-weight: bold; color: #eee; background-color: #757575; padding: 0.15em 0.5em; } input, textarea { font-family: sans-serif; } /* Small screens */ @media only screen and (max-width: 1080px) { body { width: 85vw; } h1 { font-size: 300%; } h2 { line-height: 100%; } input { font-size: 200%; width: 100%; } .letter-form { width: 100%; } dd { margin-bottom: 2em; margin-left: 0; } textarea { width: 80vw; font-size: 120%; } .bigtext { min-height: 40vh; } } /* Big screens */ @media only screen and (min-width: 1081px) { body { min-height: 98%; width: 40vw; } h1 { font-size: 300%; } input, textarea { margin-bottom: 0.5em; font-size: 105%; } dd { margin-left: 0.5em; } dt { margin-top: 0.5em; } dl { margin-top: 0; } #closingText { width: 50%; } } .letter-form { display: flex; flex-grow: 1; flex-direction: column; } div.user form { display: flex; flex-direction: row; font-size: 70%; } .logged-in { display: flex; flex-direction: row; } dl { display: flex; flex-grow: 1; flex-direction: column; } dd { display: flex; } textarea { flex-grow: 1; padding: 0.5em; } .bigtext { flex-grow: 1; min-height: 35vh; font-size: 90%; } .errors { color: #a40f0f; } .wipe { margin-left: auto; padding: 0.5em 1em 0.5em 1em; } #body { flex-grow: 1; } .wipe { padding: 10px 25px; font-family: "Roboto", sans-serif; font-weight: 500; background: black; outline: none !important; cursor: pointer; transition: all 0.3s ease; position: relative; display: inline-block; text-decoration: none; } .up-wipe { border: 2px solid rgb(255, 255, 255); z-index: 1; color: white; } .up-wipe:after { position: absolute; content: ""; width: 100%; height: 0; top: 0; left: 0; z-index: -1; background: rgb(255, 255, 255); transition: all 0.3s ease; } .up-wipe:hover { color: rgb(0, 0, 0); } .up-wipe:hover:after { top: auto; bottom: 0; height: 100%; }