blob: bd0b6c7c0435d9c4b5505df8ea597b4576caee4c [file] [log] [blame]
body {
margin: 0;
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 {
padding: 8px 0;
font-family: 'Open Sans';
display: block;
}
header a {
font-size: 17px;
text-decoration: none;
}
header #leftlinks {
float: left;
}
header #rightlinks {
float: right;
}
div#outter-container {
margin: 13px auto;
max-width: 800px;
width: Calc(100% - 26px);
}
#inner-container {
background-color: white;
padding: 16px;
}
p {
font-size: 16px;
text-align: justify;
display: none;
margin-bottom: 25px;
}
#table-container {
overflow: auto;
}
div#table-container {
display: inline-block;
width: 100%;
margin: 0 auto;
}
table#ranking {
font-size: 20px;
text-align: center;
font-family: 'Open Sans';
margin: 8px auto;
width: 95%;
max-width: 512px;
}
table#ranking td {
padding: 4px;
max-width: 400px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
td div.username {
font-size: 17px;
}
td div.userinfo {
font-size: 14px;
color: rgb(100,100,100);
}
td.name {
text-align: left;
}
tr#header th {
text-align: center;
padding: 6px 0;
}
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: 20px 20px;
width: 20px;
height: 20px;
background-repeat: no-repeat;
padding-right: 8px;
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');
}