html, body, #pad, #keyboard, #keys, #opening, #closed { width: 100%; height: 100%; margin: 0; } body { font-family: sans; } #pad, #keys, #sendbutton, #opening, #closed { background-color: #404040 !important; background-image: url(tex.png); } #opening, #closed, #keys, #pad { display: flex; flex-direction: column; } #opening, #closed { justify-content: center; align-items: center; font-size: 2em; color: white; word-wrap: break-word; } #keys { justify-content: flex-end; align-items: center; } #padlabel { color: gray; text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; opacity: 0.08; font-weight: bold; margin-top: auto; margin-bottom: auto; text-align: center; font-size: 4rem; word-wrap: break-word; } @media (max-width: 32rem) { #padlabel { font-size: 13vw; } } #keysbutton, #fullscreenbutton, #keyboardbutton, #sendbutton, #reloadbutton, #prevtrackbutton, #playpausebutton, #nexttrackbutton, #volumedownbutton, #volumemutebutton, #volumeupbutton { background-color: transparent; border: 1px solid black; height: 1.5em; width: 2em; font-size: 2em; color: white; } #fullscreenbutton, #keyboardbutton, #sendbutton { border-bottom: none; } #keysbutton, #fullscreenbutton, #playpausebutton, #mutebutton { border-left: none; } #keysbutton { border-top: none; } #playpausebutton, #mutebutton, #keyboardbutton { border-right: none; } #keyboardbutton { margin-left: auto; } #keyboard { display: flex; flex-direction: row; } #text { flex: 2; border: none; resize: none; font-size: 2em; background-color: white; color: black; } .buttons { display: flex; } #sendbutton { border-right: none; border-top: none; height: 100%; } #keys > .buttons { margin-bottom: 0.5rem; } #keys > .buttons > button { height: 6rem; width: 8rem; } @media (max-width: 25rem) { #keys > .buttons > button { width: calc(0.33 * (100vw - 1rem)); } } @media (max-height: 13.5rem) { #keys > .buttons > button { height: calc(0.5 * (100vh - 1.5rem)); } } @media (max-aspect-ratio: 4/3) { #keyboard { flex-direction: column; } #sendbutton { border-left: none; border-top: 1px solid black; height: 1.5em; width: 100%; } } @font-face { font-family: "icon"; src: url("icon.woff") format("woff"); } .icon { font-family: "icon"; } p { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } button:focus { outline: none; }