* { box-sizing: border-box; font-family: sans-serif; outline: none; } #chat { background: rgb(27, 47, 114) url("assets/graphics/bg_responsive.jpg") repeat; margin: 0; font-size: 16px; font-family: sans-serif; position: fixed; top: 0; left: 0; right: 0; bottom: 0; color: white; } #chat-post-area { position: fixed; top: 40px; left: 0; right: 0; bottom: 50px; overflow-x: hidden; box-sizing: border-box; padding-bottom: 20px; } #chat-type-area { position: fixed; height: 50px; left: 0; right: 0; bottom: 0; box-shadow: 0 0 20px rgba(0, 0, 0, 0.9); } #chat-textarea { width: 100%; height: 100%; background-color: #333333; font-family: sans-serif; font-size: 16px; color: white; border: 2px grey solid; box-sizing: border-box; padding: 5px; resize: none; outline: none; } .chat-post { background-color: rgba(37, 26, 37, 0.9); border-radius: 0 20px 20px 0; margin-right: 20px; margin-left: 0; margin-top: 10px; margin-bottom: 10px; padding: 20px; overflow: hidden; } .chat-own-post { border-radius: 20px 0 0 20px; margin-left: 20px; margin-right: 0; padding: 20px 0 20px 20px; background-color: rgba(26, 37, 26, 0.9); } .chat-avatar { width: 64px; height: 64px; border-radius: 32px; margin-right: 20px; float: left; } .chat-own-post > .chat-avatar { margin-left: 20px; float: right; } .chat-username { font-weight: bold; } .chat-post-message { margin-top: 10px; overflow: hidden; } .chat-datetime { font-style: italic; color: grey; margin-top: 10px; } #login { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgb(37, 26, 37); display: flex; align-items: center; } #login-form { max-width: 500px; margin: auto; text-align: center; padding: 20px; } #login-form label { display: block; color: white; font-weight: bold; margin-bottom: 20px; } #login-form input { display: block; background-color: transparent; border: solid 1px white; color: white; border-radius: 5px; font-size: 18px; width: 100%; padding: 5px; } #login-form input[type=submit] { margin-top: 50px; } .error-message { background-color: #550000; border: solid 1px red; color: white; padding: 5px; margin-bottom: 30px; } #metasocket-banner { width: 100%; margin-bottom: 50px; } #metasocket-logo { height: 100%; } #topbar { position: fixed; top: 0; left: 0; right: 0; height: 40px; background-color: #888888; box-shadow: 0 0 20px rgba(0, 0, 0, 0.9); padding: 5px; display: inline-flex; justify-content: space-between; } #logout-button { width: 70px; text-align: center; }