This commit is contained in:
Sanj 2012-10-02 20:14:46 +05:30
commit 7a707b3966
4 changed files with 30 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@ -58,8 +58,8 @@
<li><a href="projects">Projects</a></li>
<li><a href="jobs">Job Applications</a></li>
<li><a href="contact">Contact</a></li>
<!--<li><a href="links">Links</a></li>
<li><a href="noteworthy">Noteworthy</a></li>-->
<!--<li><a href="links">Links</a></li>-->
<li><a href="noteworthy">Noteworthy</a></li>
</ul><!--MENU CLOSING-->

View File

@ -10,11 +10,13 @@
<style type="text/css">
.noteworthy {
margin-bottom:40px;
overflow:auto;}
padding:30px 0;
overflow:auto;
border-bottom: 1px solid #444;}
.noteworthy:last-child {
margin-bottom:10px;
padding-bottom:10px;
border-bottom:none;
}
.imgLinks {
@ -23,6 +25,18 @@ float:left;
width:200px;
}
.imgNone {
width:200px;
padding-right:20px;
float:left;
background:#000;
}
.noteContentWrapper {
width:360px;
float:right;
}
</style>
{% endblock %}
@ -34,15 +48,23 @@ width:200px;
{% for n in noteworthy %}
<div class="noteworthy">
{% 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 %}
<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>
<p>{{ n.description|linebreaksbr }}</p>
</div><!-- END NOTE CONTENT WRAPPER -->
<div class="clear"></div>
</div><!--NOTEWORTHY CLOSING -->
{% endfor %}