reduce avatar size in sidebar responsively

v1.18.x
psychobunny 12 years ago
parent 1d9dd604c0
commit a08fbf4591

@ -196,6 +196,11 @@
} }
.block-content { .block-content {
padding: 10px; padding: 10px;
.img-polaroid {
width: 20%;
height: auto;
max-width: 48px;
}
} }
border-radius: 5px; border-radius: 5px;

@ -68,7 +68,7 @@
</div> </div>
<div class="block-content"> <div class="block-content">
<!-- BEGIN active_users --> <!-- BEGIN active_users -->
<a href="/users/{active_users.username}"><img title="{active_users.username}" style="width: 48px; height: 48px; /*temporary*/" src="/graph/users/{active_users.username}/picture" class="img-polaroid" /></a> <a href="/users/{active_users.username}"><img title="{active_users.username}" src="/graph/users/{active_users.username}/picture" class="img-polaroid" /></a>
<!-- END active_users --> <!-- END active_users -->
</div> </div>
</div> </div>
@ -78,7 +78,7 @@
</div> </div>
<div class="block-content"> <div class="block-content">
<!-- BEGIN moderators --> <!-- BEGIN moderators -->
<a href="/users/{moderators.username}"><img title="{moderators.username}" style="width: 48px; height: 48px; /*temporary*/" src="/graph/users/{moderators.username}/picture" class="img-polaroid" /></a> <a href="/users/{moderators.username}"><img title="{moderators.username}" src="/graph/users/{moderators.username}/picture" class="img-polaroid" /></a>
<!-- END moderators --> <!-- END moderators -->
</div> </div>
</div> </div>

Loading…
Cancel
Save