added profile stats

main
psychobunny 9 years ago
parent e4865e7bde
commit 3075f66fb2

@ -173,10 +173,10 @@
}
.profile {
margin-bottom: 50px;
margin-bottom: 40px;
.fullname {
margin-bottom: 10px;
margin-bottom: 15px;
font-size: 32px;
}
@ -193,6 +193,24 @@
margin-right: auto;
color: @gray-light;
}
.account-stats {
text-align: center;
font-size: 35px;
line-height: 25px;
margin-top: 25px;
.stat {
display: inline-block;
min-width: 100px;
}
.stat-label {
font-size: 12px;
text-transform: uppercase;
color: @gray-light;
}
}
}
}
@ -239,38 +257,11 @@
}
.account-bio-label{
display:block;
font-size:14px;
opacity:0.8;
}
.account-bio-value {
display:block;
margin-bottom:10px;
font-size:18px;
}
.account-username{
font-size:20px;
font-weight:bold;
}
.account-stats {
.formatted-number, .human-readable-number {
font-size:30px;
}
.account-bio-label {
font-size:16px;
width:100px;
}
}
.picture-switcher {
img, .user-icon {
.user-icon-style(46px, 2.4rem, 50%);

@ -7,7 +7,38 @@
<!-- IF aboutme -->
<span component="aboutme" class="text-center aboutme">{aboutme}</span>
<!-- ENDIF aboutme -->
<div class="account-stats">
<!-- IF reputation -->
<div class="stat">
<div class="human-readable-number" title="{reputation}">{reputation}</div>
<span class="stat-label">[[global:reputation]]</span>
</div>
<!-- ENDIF reputation -->
<div class="stat">
<div class="human-readable-number" title="{postcount}">{postcount}</div>
<span class="stat-label">[[global:posts]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{profileviews}">{profileviews}</div>
<span class="stat-label">[[user:profile_views]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{followerCount}">{followerCount}</div>
<span class="stat-label">[[user:followers]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{followingCount}">{followingCount}</div>
<span class="stat-label">[[user:following]]</span>
</div>
</div>
</div>
<hr />
<div class="row">
@ -33,35 +64,7 @@
<hr/>
<div class="text-center account-stats">
<!-- IF reputation -->
<div class="inline-block text-center">
<span class="human-readable-number" title="{reputation}">{reputation}</span>
<span class="account-bio-label">[[global:reputation]]</span>
</div>
<!-- ENDIF reputation -->
<div class="inline-block text-center">
<span class="human-readable-number" title="{postcount}">{postcount}</span>
<span class="account-bio-label">[[global:posts]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{profileviews}">{profileviews}</span>
<span class="account-bio-label">[[user:profile_views]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{followerCount}">{followerCount}</span>
<span class="account-bio-label">[[user:followers]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{followingCount}">{followingCount}</span>
<span class="account-bio-label">[[user:following]]</span>
</div>
</div>
<div class="hidden">
<!-- IF email -->

Loading…
Cancel
Save