body { margin: 3em 0.5em 0em 0.5em; text-align: center; background-color: #444; font-family: Roboto, sans-serif; color: #ddd; } a { color: #ddd; } a:hover { color: #fff; } .error { padding: 0.25em 0.5em; margin: 1em; display: none; background-color: #f00c; } #topbar { padding: 0.25em 0.5em; position: absolute; box-sizing: border-box; top: 0; left: 0; display: flex; align-items: center; flex-direction: row; width: 100%; background-color: #666; height: 2.5em; } #topbar div { margin-left: 5px; margin-right: 5px; } #topbar a { text-decoration: none; } #logo { font-weight: bold; color: #eee; } div#nav-login { margin-left: auto; } div#nav-userpic { margin-left: auto; margin-right: -5px; height: 2.5em; } #nav-userpic img { height: 80%; margin-top: 0.25em; margin-bottom: 0.25em; } #main { margin: 0.5em; padding: 0.5em; display: inline-block; background-color: #282828; box-shadow: 0px 5px 20px black; } #requests { display: inline-block; text-align: left; } #requests table, th, td { border: 2px solid #aaa; border-collapse: collapse; } #requests th, td { padding: 5px; } #requests .request-score { text-align: right; } #modalBackground { display: none; position: fixed; align-items: center; justify-content: center; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background-color: #444; background-color: #444a; } .modal { display: none; position: relative; padding: 1em; margin: 2em; width: 100%; max-width: 480px; background-color: #444; box-shadow: 0px 5px 20px black; } .modal h1 { margin: 0; } #addRequestInputContainer { margin-top: 1em; display: flex; justify-content: center; } #addRequestInputContainer input { flex: 1; max-width: 330px; margin: 0 5px; } .modalClose { position: absolute; top: 0; right: 0.5em; font-size: 150%; } .modalClose a { text-decoration: none; } .request-vote > button { width: 100%; }