1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00

Improve navigator.

This commit is contained in:
Markus Birth 2015-02-21 12:33:18 +01:00
parent 629e2bf3e3
commit 816138815d
2 changed files with 5 additions and 6 deletions

View File

@ -60,12 +60,12 @@
<section id="related"> <section id="related">
{% if page.next %} {% if page.next %}
<div id="nextpost"> <div id="nextpost">
<a rel="next" href="{{ page.next.url }}">Next post: {{ page.next.title }}</a> <a rel="next" href="{{ page.next.url }}">← {{ page.next.title }}</a>
</div> </div>
{% endif %} {% endif %}
{% if page.previous %} {% if page.previous %}
<div id="prevpost"> <div id="prevpost">
<a rel="previous" href="{{ page.previous.url }}">Previous post: {{ page.previous.title }} →</a> <a rel="previous" href="{{ page.previous.url }}">{{ page.previous.title }} →</a>
</div> </div>
{% endif %} {% endif %}
{% comment %} {% comment %}

View File

@ -18,13 +18,12 @@ abbr, acronym {
white-space: nowrap; white-space: nowrap;
} }
#nextpost, #prevpost { #nextpost {
display: inline-block; float: left;
width: 450p;
} }
#prevpost { #prevpost {
text-align: right; float: right;
} }
.noteclassic, .noteimportant, .notewarning, .notetip { .noteclassic, .noteimportant, .notewarning, .notetip {