tweak user profile

This commit is contained in:
Thibault Duplessis 2013-07-21 12:39:56 +02:00
parent 52a076da26
commit 68cf06a550
3 changed files with 13 additions and 4 deletions

View file

@ -59,9 +59,10 @@ evenMoreCss = evenMoreCss) {
<div class="content_box no_padding user_show">
<div class="content_box_top">
<div class="icon status @{isOnline(u.id).??("connected")}"></div>
<h1 class="lichess_title">@u.usernameWithElo</h1>
<h1 class="lichess_title">@u.username</h1>
<span class="elo">ELO <strong>@u.elo</strong></span>
@info.rank.map { r =>
<span class="rank" title="@trans.rank()"><strong>@r._1</strong> / @r._2.localize</span>
<span class="rank" title="@trans.rank()">RANK <strong>@r._1</strong> / @r._2.localize</span>
}
@if(u.disabled) {
<span class="staff">CLOSED</span>

View file

@ -145,6 +145,7 @@ body.dark div.lichess_chat a.user_link,
body.dark div.new_posts li span,
body.dark #team .forum a.user_link,
body.dark span.board_mark,
body.dark div.user_show div.content_box_top > span,
body.dark #timeline time
{
color: #777;
@ -275,7 +276,8 @@ body.dark #lichess_forum div.post .message,
body.dark #lichess_message div.thread_message div.thread_message_body,
body.dark #GameText a.move,
body.dark form.translation_form div.message label,
body.dark div.content_box h1
body.dark div.content_box h1,
body.dark div.user_show div.content_box_top > span strong
{
color: #b0b0b0;
}

View file

@ -9,8 +9,14 @@ div.user_show .staff {
font-weight: bold;
margin-bottom: 1em;
}
div.user_show div.content_box_top .rank {
div.user_show div.content_box_top > span {
margin-left: 1em;
font-size: 1.6em;
color: #afafaf;
}
div.user_show div.content_box_top > span strong {
font-weight: normal;
color: #666;
}
div.user_show .social {