body{ background-image: url("./bg.jpg"); background-repeat: no-repeat; background-size: cover; } #wrapper{ max-height: 80vh; overflow: hidden; position: relative; top: 30px; left: 30px; } @media (max-device-width: 1100px) { #wrapper{ width: 100%; } } .header{ background-color: #222; color: #fff; } .header p{ margin: 0px; text-align: center; font-size: 20px; font-weight: bold; } .person { background-color: #222; color: #fff; cursor: pointer; padding: 8px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; font-weight: bold; } #online { margin-bottom: 3px; } #offline .person{ opacity: 0.8; } #offline .person:hover, #online .person:hover { background-color: #bbb; } .rank{ background-color: #fff; float: left; padding: 2px 5px; margin-right: 7px; color: #000; border-radius: 1px; } .color{ float: left; margin-right: 7px; font-size: 12px; margin-top: 3px; } .name{ font-weight: bold; float: left; } .speed{ opacity: 0.7; float: right; margin-right: 30px; font-weight: normal; } .extend{ padding: 0 18px; display: none; overflow: hidden; font-weight: normal; min-width: 300px; } #wrapper{ float: left; } .mapWrapper{ float: right; } #id{ background-color: #fff; } button{ width: 50px; height: 50px; }