| body { |
| background-image: url('https://images.unsplash.com/photo-1428196457394-f0c4aec5f574?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80'); |
| background-size: cover; |
| } |
| |
| header { |
| margin-top: 25px; |
| margin-bottom: 100px; |
| font-family: 'Open Sans'; |
| display: block; |
| } |
| |
| header a { |
| font-size: 40px; |
| text-decoration: none; |
| } |
| |
| header #leftlinks { |
| padding-left: 20px; |
| float: left; |
| } |
| |
| header #rightlinks { |
| margin-right: 20px; |
| float: right; |
| } |
| |
| div#outter-container { |
| width: 95%; |
| margin: 32px auto; |
| } |
| |
| #inner-container { |
| background-color: white; |
| padding: 25px; |
| } |
| |
| p { |
| font-size: 16px; |
| text-align: justify; |
| display: none; |
| width: 95%; |
| margin: auto; |
| margin-bottom: 25px; |
| } |
| |
| #table-container { |
| overflow: scroll; |
| } |
| |
| div#table-container { |
| display: inline-block; |
| width: 100%; |
| margin: 0 auto; |
| } |
| |
| table#ranking { |
| font-size: 48px; |
| text-align: center; |
| font-family: 'Open Sans'; |
| margin: 25px auto; |
| width: 95%; |
| } |
| |
| table#ranking td { |
| padding: 15px; |
| height: 50px; |
| |
| max-width: 400px; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| overflow: hidden; |
| } |
| |
| td div.username { |
| font-size: 40px; |
| } |
| |
| td div.userinfo { |
| font-size: 36px; |
| color: rgb(100,100,100); |
| } |
| |
| td.name { |
| text-align: left; |
| } |
| |
| tr#header th { |
| text-align: center; |
| padding-top: 10px; |
| padding-bottom: 10px; |
| } |
| |
| tr.gold { |
| background-color: rgba(255, 225, 0, 0.3); |
| } |
| |
| tr.silver { |
| background-color: rgba(200, 200, 200, 0.3); |
| } |
| |
| tr.bronze { |
| background-color: rgba(200, 125, 50, 0.3); |
| } |
| |
| tr.me { |
| background-color: rgba(50, 50, 255, 0.3); |
| } |
| |
| tr.top3 td:first-child::before { |
| content: ''; |
| background-size: 48px 48px; |
| width: 48px; |
| height: 48px; |
| float: left; |
| position: relative; |
| top: 0px; |
| left: 5px; |
| } |
| |
| tr.gold td:first-child::before { |
| background-image: url('../bin/images/first.png'); |
| } |
| |
| |
| tr.silver td:first-child::before { |
| background-image: url('../bin/images/second.png'); |
| } |
| |
| |
| tr.bronze td:first-child::before { |
| background-image: url('../bin/images/third.png'); |
| } |