noteworthy images css

This commit is contained in:
Sanj 2012-10-24 15:16:21 +05:30
parent 88cb831e09
commit d23162866f

View File

@ -19,9 +19,13 @@ padding-bottom:10px;
border-bottom:none;
}
.imgLinkBlock {
float:left;
}
.imgLinks {
padding-right:20px;
float:left;
/*width:200px;*/
}
@ -52,10 +56,17 @@ float:right;
{% for n in noteworthy %}
<div class="noteworthy">
<div class="imgLinkBlock">
{% if n.image %}
{% thumbnail n.image "200" as im %}
<img src="{{ im.url }}" width="200" alt="" class="imgLinks">
{% endthumbnail %}
{% else %}
<div class="imgNone"></div>
{% endif %}
<br />
<div class="imgLinksExtra">
@ -71,14 +82,9 @@ float:right;
{% endthumbnail %}
{% endfor %}
</div>
{% else %}
<div class="imgNone"></div>
{% endif %}
</div> <!-- imgLinkBlock closing -->
<div class="noteContentWrapper">
<p class="orange"><strong>{% if n.url %} <a href="{{ n.url }}" target="_blank"> {% endif %}{{ n.title }} {% if n.url %}</a> {% endif %}</strong></p>
<br>