noteworthy css and links to large images

This commit is contained in:
Sanj 2012-10-24 15:32:17 +05:30
parent d23162866f
commit 561e54d5a6

View File

@ -29,6 +29,10 @@ padding-right:20px;
/*width:200px;*/ /*width:200px;*/
} }
.imgLinksExtra {
padding-top: 10px;
}
.imgLinksExtra:nth-of-type(odd) { .imgLinksExtra:nth-of-type(odd) {
padding-right: 20px; padding-right: 20px;
} }
@ -58,10 +62,13 @@ float:right;
<div class="noteworthy"> <div class="noteworthy">
<div class="imgLinkBlock"> <div class="imgLinkBlock">
{% if n.image %} {% if n.image %}
{% thumbnail n.image "200" as im %} {% thumbnail n.image "1000" as im_large %}
<img src="{{ im.url }}" width="200" alt="" class="imgLinks"> {% thumbnail n.image "200" as im %}
<a href="{{ im_large.url }}" target="_blank">
<img src="{{ im.url }}" width="200" alt="" class="imgLinks">
</a>
{% endthumbnail %} {% endthumbnail %}
{% endthumbnail %}
{% else %} {% else %}
<div class="imgNone"></div> <div class="imgNone"></div>