More styling on the collections menu

This commit is contained in:
Raelon Masters
2020-03-20 17:06:08 -04:00
parent 9327b01ff4
commit 72e54ab001
2 changed files with 10 additions and 7 deletions

View File

@@ -84,6 +84,7 @@ body {
grid-area: app_body;
grid-template-rows: auto;
grid-template-areas: "nav_l shelf";
grid-template-columns: 13vw auto;
justify-items: center;
background-color: dimgray;
}
@@ -95,11 +96,11 @@ body {
.nav_l_hdr {}
.nav_l_0 {}
.nav_l_0 {background-color: #2b2b2b; font-size: 15px; padding: 5px;}
.nav_l_1 {}
#vert-nav {}
.nav_l_1 {font-size: 15px; padding: 5px;}
.nav_link {}
#vert-nav {list-style: None; padding: 0px;}
.vert-nav-item {}

View File

@@ -52,11 +52,13 @@
<div class="app_body">
<div class="nav_l">
<ul id="vert-nav">
<li class="vert-nav-item nav_l_hdr">Navigation</li>
<li class="vert-nav-item nav_l_hdr">Collections</li>
{% for row in LeftNav %}
<li class="{{ row.class }}">
<a href="{% url 'show_collection' _collection=row.link _colset=Set%}" >{{ row.string }}</a>
<a href="{% url 'show_collection' _collection=row.link _colset=Set%}" class="nav_link">
<li class="nav_l_{{row.class}}">
{{ row.string }}
</li>
</a>
{% endfor %}
</ul>
</div>