Skip to content

Commit 32ac2ff

Browse files
committed
Use separate CSS classes for the next and prev rellinks
This is as suggested at sphinx-doc#101. This makes them easier to style separately, such as making the previous link float left.
1 parent 609374c commit 32ac2ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alabaster/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<nav id="rellinks">
1818
<ul>
1919
{%- if prev %}
20-
<li>
20+
<li class="related prev">
2121
&larr;
2222
<a href="{{ prev.link|e }}" title="Previous document">{{ prev.title }}</a>
2323
</li>
2424
{%- endif %}
2525
{%- if next %}
26-
<li>
26+
<li class="related next">
2727
<a href="{{ next.link|e }}" title="Next document">{{ next.title }}</a>
2828
&rarr;
2929
</li>

0 commit comments

Comments
 (0)