Permalink
Browse files

Tweak style/widget

  • Loading branch information...
1 parent 6fc42b1 commit 3ead3f45c05ca4c3e6d67e1e472365849be28f18 @paltman paltman committed Oct 28, 2011
Showing with 15 additions and 2 deletions.
  1. +11 −0 phileo/static/phileo/css/phileo.css
  2. +4 −2 phileo/templates/phileo/_widget.html
View
11 phileo/static/phileo/css/phileo.css
@@ -1,7 +1,13 @@
+div.phileo {
+ float: right;
+ height: 24px;
+}
a.phileo {
color: #AAA;
font-size: 30px;
text-decoration: none;
+ height: 24px;
+ float: left;
}
a.phileo:hover {
color: #7DE692;
@@ -10,4 +16,9 @@ a.phileo:hover {
a.phileo-liked {
color: #20A93B;
text-decoration: none;
+}
+span.phileo-count {
+ font-size: 20px;
+ font-weight: bold;
+ height: 24px;
}
View
6 phileo/templates/phileo/_widget.html
@@ -1,2 +1,4 @@
-<a id="{{ like_link }}"></a>
-<span class="{{ like_span_total }}">{{ likes_count }}</span>
+<div class="phileo">
+ <a id="{{ like_link }}"></a>
+ <span class="{{ like_span_total }}">{{ likes_count }}</span>
+</div>

0 comments on commit 3ead3f4

Please sign in to comment.