added stats on posts [ci skip]

This commit is contained in:
danielgrippi 2012-04-22 14:21:26 -07:00
parent 75d25e9475
commit 85ab08035e
2 changed files with 19 additions and 4 deletions

View file

@ -7,12 +7,12 @@ $two-column-width : ($column-width * 2) + ($margin-between-columns * 2);
$margin-between-rows : 20;
$row-height : $column-width;
$two-row-height : $two-column-width;
$two-row-height : $two-column-width + $margin-between-rows;
@mixin tall() {
height : $two-column-width + px;
min-height : $two-column-width + px;
max-height : $two-column-width + px;
height : $two-row-height + px;
min-height : $two-row-height + px;
max-height : $two-row-height + px;
}
@mixin wide() {
@ -103,6 +103,17 @@ body {
right : 10px;
}
.info {
@include opacity(0.7);
padding : 5px;
max-height : 10px;
text-align : right;
i {
margin-left: 3px;
}
}
/* larger declarations */
&.x2.width .content { @include wide(); }
&.x2.height .content { @include tall(); }

View file

@ -27,5 +27,9 @@
{{{text}}}
</div>
</div>
<div class="info">
<i class="icon-heart"></i> {{likes_count}}
<i class="icon-retweet"></i> {{reshares_count}}
<i class="icon-comment"></i> {{comments_count}}
</div>