diff options
author | Byron <byroncorrales@gmail.com> | 2011-11-07 01:17:39 -0600 |
---|---|---|
committer | Byron <byroncorrales@gmail.com> | 2011-11-07 01:17:39 -0600 |
commit | 92dcb01c874a02af86ba818dcb0ecdbd1256ebb0 (patch) | |
tree | 5c037fef00fba9e72ff71bb1cde816746177a20d | |
parent | 603ee601994bdc2202a772c81d77d82316a80408 (diff) | |
download | askbot-92dcb01c874a02af86ba818dcb0ecdbd1256ebb0.tar.gz askbot-92dcb01c874a02af86ba818dcb0ecdbd1256ebb0.tar.bz2 askbot-92dcb01c874a02af86ba818dcb0ecdbd1256ebb0.zip |
profile page style
-rw-r--r-- | askbot/skins/default/media/style/style.css | 117 | ||||
-rw-r--r-- | askbot/skins/default/templates/user_profile/user.html | 2 | ||||
-rw-r--r-- | askbot/skins/default/templates/user_profile/user_reputation.html | 7 |
3 files changed, 75 insertions, 51 deletions
diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index dbd45398..cdd9c854 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -456,7 +456,7 @@ h1 { #ContentFull { float: left; - width: 950px; + width: 960px; } /* ----- Sidebar Widgets Box, check main_page/sidebar.html or question/sidebar.html ----- */ @@ -2204,8 +2204,15 @@ a:hover.medal { } .user-profile-page{ - font-size:15px; + font-size:13px; + line-height:1.3; color:@info-text-dark; + + p{ + font-size:13px; + line-height:1.3; + color:@info-text-dark; + } .avatar img{ border:#eee 1px solid; padding:5px; @@ -2233,8 +2240,8 @@ a:hover.medal { p{font-size:13px;} } -.follow-toggle { - border:0; +.follow-toggle,.submit { + border:0 !important; color:@button-label; font-weight:bold; font-size:12px; @@ -2250,8 +2257,9 @@ a:hover.medal { .box-shadow(1px, 1px, 2px, #808080) } -.follow-toggle:hover { +.follow-toggle:hover, .submit:hover { background:url(../images/small-button-blue.png) repeat-x bottom; + text-decoration:none !important; } .follow-toggle .follow{ @@ -2319,6 +2327,63 @@ a:hover.medal { .rounded-corners(4px); } +.karma-summary { + padding:5px; + font-size:13px; +} + +.karma-summary h3 { + text-align: center; + font-weight: bold; + padding:5px; +} + +.karma-diagram { + width:477px; + height:300px; + float:left; + margin-right:10px; +} + +.karma-details { + float:right; + width:450px; + height:250px; + overflow-y:auto; + word-wrap:break-word; + p{margin-bottom:10px;} +} + +.karma-gained { + font-weight:bold; + background:#eee; + width:25px; + margin-right:5px; + color:green; + padding:3px; + display:block; + float:left; + text-align:center; + .rounded-corners(3px); +} + +.karma-lost { + font-weight:bold; + background:#eee; + width:25px; + color:red; + padding:3px; + display:block; + margin-right:5px; + float:left; + text-align:center; + .rounded-corners(3px); +} + +.submit-row{ + margin-bottom:10px; +} + /* ----- Red Popup notification ----- */ .vote-notification { @@ -3043,48 +3108,6 @@ p.signup_p { font-size:14px; } -.karma-summary { - padding:5px; - font-size:13px; -} - -.karma-summary h3 { - text-align: center; - font-weight: bold; - padding:5px; -} - -.karma-diagram { - width:377px; - height:300px; - float:left; - margin-right:10px; -} - -.karma-details { - float:right; - width:300px; - height:250px; - overflow-y:auto; - word-wrap:break-word; -} - -.karma-gained { - font-weight:bold; - background:#eee; - width:20px; - color:green; - padding:5px; -} - -.karma-lost { - font-weight:bold; - background:#eee; - width:20px; - color:red; - padding:5px; -} - .search-result-summary { font-weight: bold; font-size:18px; diff --git a/askbot/skins/default/templates/user_profile/user.html b/askbot/skins/default/templates/user_profile/user.html index 6ec4bc3a..1693303e 100644 --- a/askbot/skins/default/templates/user_profile/user.html +++ b/askbot/skins/default/templates/user_profile/user.html @@ -1,4 +1,4 @@ -{% extends "two_column_body.html" %} +{% extends "one_column_body.html" %} <!-- user.html --> {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %} {% block forestyle%} diff --git a/askbot/skins/default/templates/user_profile/user_reputation.html b/askbot/skins/default/templates/user_profile/user_reputation.html index 99b304d2..0deb2b97 100644 --- a/askbot/skins/default/templates/user_profile/user_reputation.html +++ b/askbot/skins/default/templates/user_profile/user_reputation.html @@ -8,16 +8,17 @@ <div id="diagram" class="karma-diagram"></div> <div class="karma-details"> {% if view_user.id == user.id %} - <h3>{% trans %}Your karma change log.{% endtrans %}</h3> + <h2>{% trans %}Your karma change log.{% endtrans %}</h2> {% else %} - <h3>{% trans user_name=view_user.username %}{{user_name}}'s karma change log{% endtrans %}</h3> + <h2>{% trans user_name=view_user.username %}{{user_name}}'s karma change log{% endtrans %}</h2> {% endif %} {% for rep in reputation %} <p> <span class="karma-gained">{{ rep.positive }}</span> <span class="karma-lost">{{ rep.negative }}</span> {{ rep.get_explanation_snippet() }} - <span class="small">({{rep.reputed_at|diff_date}})</span> + <span class="small">({{rep.reputed_at|diff_date}})</span> + <div class="clean"></div> </p> {% endfor %} </div> |