From 3075f66fb200219ea8206e768dbf4e30eac3c526 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 3 Nov 2015 18:40:23 -0500 Subject: [PATCH] added profile stats --- less/account.less | 49 ++++++++++++---------------- templates/account/profile.tpl | 61 ++++++++++++++++++----------------- 2 files changed, 52 insertions(+), 58 deletions(-) diff --git a/less/account.less b/less/account.less index cc4afe5..329f316 100644 --- a/less/account.less +++ b/less/account.less @@ -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%); diff --git a/templates/account/profile.tpl b/templates/account/profile.tpl index 310d3cd..179a186 100644 --- a/templates/account/profile.tpl +++ b/templates/account/profile.tpl @@ -7,7 +7,38 @@ {aboutme} + +
+ +
+
{reputation}
+ [[global:reputation]] +
+ + +
+
{postcount}
+ [[global:posts]] +
+ +
+
{profileviews}
+ [[user:profile_views]] +
+ +
+
{followerCount}
+ [[user:followers]] +
+ +
+
{followingCount}
+ [[user:following]] +
+
+ +
@@ -33,35 +64,7 @@
- +