Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing navigation links position

  • Loading branch information...
commit 842352c9273dee131b61b23a2f0da9bc1bf2b5bc 1 parent e887a71
@andersondias authored
Showing with 23 additions and 0 deletions.
  1. +6 −0 _includes/post.html
  2. +17 −0 stylesheets/style.css
View
6 _includes/post.html
@@ -36,13 +36,19 @@
<div id='post-navigation'>
{% if post.previous %}
+ <div class='previous-link'>
<a href="{{ post.previous.url }}" title="{{ post.previous.title }}">&larr; {{post.previous.title }}</a>
+ </div>
{% endif %}
{% if post.next %}
+ <div class='next-link'>
<a href="{{ post.next.url }}" title="{{ post.next.title }}">{{post.next.title }} &rarr;</a>
+ </div>
{% endif %}
</div>
+ <div class='clear'> </div>
+
<img src='/images/separator.gif' class='separator'/>
<div id="disqus_thread"></div>
View
17 stylesheets/style.css
@@ -154,3 +154,20 @@ ul#navigation li a:hover {
color: #DC143C;
border-bottom-color: #DC143C;
}
+
+.previous-link, .next-link {
+ width: 50%;
+}
+
+.previous-link {
+ float: left;
+}
+
+.next-link {
+ float: right;
+ text-align: right;
+}
+
+.clear {
+ clear: both;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.