mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
More styling on the collections menu
This commit is contained in:
9
src/interface/static/css/main.css
vendored
9
src/interface/static/css/main.css
vendored
@@ -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 {}
|
||||
|
||||
|
||||
8
src/interface/templates/index.html
vendored
8
src/interface/templates/index.html
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user