Make history nav into a column, add link to search

This commit is contained in:
Matthias Portzel 2022-05-17 07:44:48 -07:00
parent 9306248902
commit 7ad6f21f66
2 changed files with 6 additions and 7 deletions

View File

@ -251,17 +251,14 @@ h1 {
} }
.history-nav li { .history-nav li {
display: inline; line-height: 1.3;
} }
.history-nav li:not(:first-child)::before { .history-nav li::before {
content: ""; content: "";
} }
.history-nav li:not(:first-child) > * { .history-nav li > * {
margin-left: 10px; margin-left: 10px;
} }
.history-nav li:not(:last-child) > * {
margin-right: 5px;
}
.history-nav .current-page { .history-nav .current-page {
font-weight: bold; font-weight: bold;
} }

View File

@ -32,6 +32,7 @@
<li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li> <li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<li><a href="/search">Search</a></li>
</ul> </ul>
</nav> </nav>
{% endif %} {% endif %}
@ -102,6 +103,7 @@
<li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li> <li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<li><a href="/search">Search</a></li>
</ul> </ul>
</nav> </nav>
{% endblock %} {% endblock %}