Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A couple more changes to the layout.

  • Loading branch information...
commit 95a5e0a8dbe446e5d3aaca88cdcefc9349bacdc9 1 parent 9cf9bd4
@tombatron authored
Showing with 15 additions and 3 deletions.
  1. +7 −1 assets/css/tombatron.css
  2. +8 −2 views/home.html
View
8 assets/css/tombatron.css
@@ -68,4 +68,10 @@ footer {
.push {
height: 65px;
-}
+}
+
+.post-division {
+ border-bottom: 5px dashed #dcdcdc;
+ margin-top: 10px;
+ margin-bottom: 15px;
+}
View
10 views/home.html
@@ -8,8 +8,8 @@
</div>
{% for post in posts %}
- <div class="row-fluid">
- <div class="span12">
+ <div class="row-fluid" {% if loop.last %}style="margin-bottom: 50px;"{% endif %}>
+ <div class="span8">
<h2><a href="{{ post.get_post_url() }}">{{ post.subject }}</a></h2>
<div>
@@ -23,6 +23,12 @@
</div>
</div>
</div>
+ {% if not loop.last %}
+ <div class="row-fluid">
+ <div class="span8 post-division"></div>
+ </div>
+ {% endif %}
+
{% endfor %}
<div class="span12">

0 comments on commit 95a5e0a

Please sign in to comment.
Something went wrong with that request. Please try again.