html, body { height: 100%; } body { background-image: url(../bg.png); background-size: cover; background-position: center; } body > .container { height: 450px; width: 900px; margin: -225px 0 0 -450px; position: absolute; top: 50%; left: 50%; padding: 0; } .tabs { height: 30px; position: absolute; top: -5px; } .tab { line-height: 30px; display: inline-block; border: 4px solid transparent; color: #ddd; border-top-left-radius: 10px; border-top-right-radius: 10px; padding: 0 20px; } .tab:first-child { border-color: transparent; color: #f1f1f1; padding-left: 0; padding-right: 10px; font-weight: bold; } a.tab:hover, a.tab:active, a.tab:focus { color: #333; text-decoration: none; } .tab.active { border-color: #467bb7; border-bottom-color: #fff; color: #333; background-color: #fff; } .row.tabs, .row.box, .row.save { margin-left: 0; margin-right: 0; } .box { margin-top: 30px; margin-bottom: 10px; height: 410px; width: 100%; border: 4px solid #467bb7; border-radius: 10px; overflow: hidden; box-sizing: border-box; background: #fff; position: relative; } .ready .list-group-item:first-child { border-radius: 0; border-top-width: 0; } .ready .list-group-item:last-child { border-radius: 0; border-bottom-width: 0; } .ready .list-group-item { border-left-width: 0; } .dwellers { height: 100%; overflow-y: scroll; } .dweller_info, .wasteland_info, .vault_info { height: 100%; padding: 15px 15px 15px 0; overflow-y: scroll; } .vault_info { padding: 15px; } .stat { width: 14.285714286%; } .stat label { width: 100%; text-align: center; } .stat:first-child { display: none; } .stat input.form-control { padding: 5px; text-align: center; } .stat .bar { width: 15px; height: 65px; border: 1px solid #ccc; position: relative; margin: 0 auto 10px; } .stat .bar::after { content: ''; display: block; position: absolute; bottom: 0; width: 100%; height: 50%; background-color: #72beb2; } .stat .bar.value0::after { height: 0%; } .stat .bar.value1::after { height: 10%; } .stat .bar.value2::after { height: 20%; } .stat .bar.value3::after { height: 30%; } .stat .bar.value4::after { height: 40%; } .stat .bar.value5::after { height: 50%; } .stat .bar.value6::after { height: 60%; } .stat .bar.value7::after { height: 70%; } .stat .bar.value8::after { height: 80%; } .stat .bar.value9::after { height: 90%; } .stat .bar.value10::after { height: 100%; } .instructions { color: #aaa; width: 350px; height: 100px; text-align: center; position: absolute; line-height: 25px; top: 40%; left: 50%; margin-top: -100px; margin-left: -175px; } .instructions input { display: inline-block; max-width: 95px; } .boy { position: absolute; bottom: 10px; right: 10px; width: 250px; } /* Bootstrap Override */ .list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover { background-color: #72beb2; border-color: #72beb2; } a.list-group-item, a.list-group-item, button.list-group-item, button.list-group-item { background-color: #fff; } .btn-primary { background-color: #467bb7; border-color: #567997; } .back_button { display: none; } @media (max-width: 768px) { body { background: none; } body > .container { position: relative; top: 0; left: 0; width: 100%; height: 100%; margin: 0; } .box { width: 100%; height: calc(100% - 130px); border-width: 4px 0; border-radius: 0; margin-top: 75px; } .tabs { top: 2px; } .tab:first-child { color: #333; display: block; } .tab:nth-child(2) { margin-left: 15px; } .btn { margin: 0 15px; width: calc(100% - 30px); } .dwellers { padding-right: 0; z-index: 0; } .dweller_info, .wasteland_info { position: absolute; top: 0; background-color: #fff; width: 100%; padding-left: 15px; } .stat { width: 25%; float: left; } .dweller_info.close, .wasteland_info.close { display: none; } .back_button { display: block; padding-bottom: 20px; } } .presets { margin-top: 30px; margin-bottom: 10px; height: 370px; width: 100%; border: 4px solid #467bb7; border-radius: 10px; overflow: hidden; box-sizing: border-box; background: #fff; position: relative; }