summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-12-02 15:46:19 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-12-02 15:46:19 -0300
commit68c1da7afbad7f72276e6359558a83a8086c1e7f (patch)
treeaf2921442a838087702f597327743803793c8e02
parent6cdee3cc9da4b89f41e8ca01c8e47307bdbe0e21 (diff)
downloadaskbot-68c1da7afbad7f72276e6359558a83a8086c1e7f.tar.gz
askbot-68c1da7afbad7f72276e6359558a83a8086c1e7f.tar.bz2
askbot-68c1da7afbad7f72276e6359558a83a8086c1e7f.zip
minor styling refactoring
-rw-r--r--askbot/media/style/style.less4
-rw-r--r--askbot/templates/macros.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less
index 2f6d601e..001b951b 100644
--- a/askbot/media/style/style.less
+++ b/askbot/media/style/style.less
@@ -152,6 +152,10 @@ a:hover {
text-decoration: underline;
}
+.avatar-box {
+ text-decoration: none;
+}
+
.badge-context-toggle.active {
cursor: pointer;
text-decoration: underline;
diff --git a/askbot/templates/macros.html b/askbot/templates/macros.html
index f2194a9d..f5c07ccc 100644
--- a/askbot/templates/macros.html
+++ b/askbot/templates/macros.html
@@ -631,7 +631,7 @@ answer {% if answer.accepted() %}accepted-answer{% endif %} {% if answer.author_
{#todo: rename this to avatar #}
{%- macro gravatar(user, size) -%}
{% spaceless %}
-<a style="text-decoration:none"
+<a class="avatar-box"
href="{{ user.get_absolute_url() }}"
><img class="gravatar"
width="{{size}}" height="{{size}}"