tournament style tweaks

This commit is contained in:
Thibault Duplessis 2015-01-06 21:27:13 +01:00
parent 461ddeced2
commit 04ad8026ef
3 changed files with 13 additions and 8 deletions

View file

@ -29,6 +29,12 @@ ol.scheduled_tournaments a:hover {
padding-top: 20px;
overflow: hidden;
}
#tournament a.user_link em {
font-weight: lighter;
font-style: italic;
font-size: 0.8em;
padding-left: 5px;
}
#tournament a.pov {
display: block;
margin: 0 25px 1em 25px;
@ -84,7 +90,7 @@ ol.scheduled_tournaments a:hover {
}
#tournament table.standing td.name,
#tournament table.standing th:first-child {
padding-left: 15px;
padding-left: 10px;
white-space: nowrap;
}
#tournament table.standing td.name span {
@ -101,20 +107,19 @@ ol.scheduled_tournaments a:hover {
#tournament table.standing .legend span {
margin-left: 10px;
}
#tournament table.standing .sheet {
letter-spacing: -1.5px;
}
#tournament table.standing .sheet,
#tournament table.standing .total {
text-align: right;
font-family: monospace;
letter-spacing: 0;
}
#tournament table.standing .sheet span,
#tournament table.standing .total span {
padding: 0 3px;
display: inline-block;
width: 12px;
}
#tournament div.standing_wrap td.total {
padding-right: 22px;
padding-right: 20px;
}
#tournament .double {
color: #d59120;

View file

@ -37,7 +37,7 @@ function playerTrs(ctrl, maxScore, player) {
m('td.total',
m('strong',
player.sheet.fire ? {
class: 'is-gold text',
class: 'is-gold',
'data-icon': 'Q'
} : {}, player.sheet.total))
]

View file

@ -58,7 +58,7 @@ module.exports = {
},
children: [
(p.title ? p.title + ' ' : '') + p.username,
p.rating ? ' (' + p.rating + ')' : '',
p.rating ? m('em', p.rating) : null
]
};
},