Comment when/author link styling changes
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 13 Apr 2013 17:06:19 +0000 (12:06 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 13 Apr 2013 17:06:19 +0000 (12:06 -0500)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/user_pages/media.html

index 8df9f2e19397b7f8ac3e72765d30c16abf10d310..ca80c1a793170e5680ee0d2d38e82c702d42135e 100644 (file)
@@ -360,6 +360,25 @@ textarea#description, textarea#bio {
   font-size: 0.9em;
 }
 
+a.comment_authorlink {
+  text-decoration: none;
+  padding-right: 5px;
+  font-weight: bold;
+  padding-left: 2px;
+}
+
+a.comment_authorlink:hover {
+  text-decoration: underline;
+}
+
+a.comment_whenlink {
+  text-decoration: none;
+}
+
+a.comment_whenlink:hover {
+  text-decoration: underline;
+}
+
 .comment_content {
   margin-left: 8px;
   margin-top: 8px;
index 88fc8f0b1736f45923f5a69ad707b8e7d5195349..7dea3f09dcccd3a2a737f19b1f755426624d7d70 100644 (file)
           <div class="comment_author">
             <img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
             <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
-                            user=comment_author.username) }}">
+                            user=comment_author.username) }}"
+               class="comment_authorlink">
               {{- comment_author.username -}}
             </a>
             <a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
                             comment=comment.id,
                             user=media.get_uploader.username,
-                            media=media.slug_or_id) }}#comment">
+                            media=media.slug_or_id) }}#comment"
+               class="comment_whenlink">
               <span title='{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}'>
                 {%- trans formatted_time=timesince(comment.created) -%}
                   {{ formatted_time }} ago