Update history nav styling
This commit is contained in:
parent
36279ab94c
commit
465bbb0fb1
|
@ -214,15 +214,21 @@ a {
|
|||
display: inline;
|
||||
}
|
||||
|
||||
.history-nav.top {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 40px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.history-nav.bottom {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 30px;
|
||||
margin-left: 50px;
|
||||
}
|
||||
.history-nav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-left: 40px;
|
||||
list-style: none;
|
||||
}
|
||||
.history-nav.top ul {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.history-nav li {
|
||||
display: inline;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
{% block main %}
|
||||
{% if not first_page %}
|
||||
<nav id="page-nav" class="history-nav top" aria-label="History Navigation">
|
||||
<nav class="history-nav top" aria-label="History Navigation">
|
||||
<ul>
|
||||
{% for page in pages %}
|
||||
{% if page.slug == current_page %}
|
||||
|
@ -73,7 +73,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
<nav class="history-nav" aria-label="History Navigation">
|
||||
<nav class="history-nav bottom" aria-label="History Navigation">
|
||||
<ul>
|
||||
{% for page in pages %}
|
||||
{% if page.slug == current_page %}
|
||||
|
|
Loading…
Reference in New Issue