BattleSim/client/templates/leaderboard.jade

58 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-02-01 22:19:30 +00:00
style
body {
font-family: Verdana;
font-size: 13px;
background: #eee;
}
td {
padding: 10px;
}
tr {
background-color: #d3d3d3;
}
table {
border: 2px solid gray;
border-radius: 10px;
text-align: center;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
border-style: hidden;
box-shadow: 0 0 0 1px #666;
}
tr:nth-child(even) {
background-color: #c3c3c3;
}
th{
width: 200px;
border-bottom: 1px solid gray;
}
table tr:first-child th:first-child,
table.Info tr:first-child td:first-child {
border-top-left-radius: 10px;
}
table tr:first-child th:last-child,
table.Info tr:first-child td:last-child {
border-top-right-radius: 10px;
}
table tr:last-child td:first-child {
border-bottom-left-radius: 10px;
}
table tr:last-child td:last-child {
border-bottom-right-radius: 10px;
}
div
table
thead
tr
th Rank
th Player
th Score
tbody
each member, i in players
tr
td #{i + 1}
td #{member.username}
td #{member.score}