Skip to content
Snippets Groups Projects
Commit 3d3ee02e authored by Tom Giannattasio's avatar Tom Giannattasio
Browse files

started textbook nav styles

parent e82582e3
No related merge requests found
......@@ -9,6 +9,12 @@ div.book-wrapper {
ul#booknav {
font-size: em(14);
.page-number {
float: right;
font-size: .8em;
color: #9a9a9a;
}
li {
background: none;
border-bottom: 0;
......
......@@ -135,6 +135,18 @@
font-weight: 700;
margin-bottom: 15px;
}
ul {
padding-left: 50px;
}
li {
font-family: $serif;
font-size: 1em;
line-height: 1.6em;
color: #3c3c3c;
margin-bottom: 0.2em;
}
}
}
}
......
......@@ -75,7 +75,11 @@ $("#open_close_accordion a").click(function(){
<%def name="print_entry(entry)">
<li>
<a href="javascript:goto_page(${entry.get('page')})">
${' '.join(entry.get(attribute, '') for attribute in ['chapter', 'name', 'page_label'])}
<!--${' '.join(entry.get(attribute, '') for attribute in ['chapter', 'name', 'page_label'])}-->
%if entry.get('chapter'):
<span class="chapter-number">${entry.get('chapter')}</span>
%endif
<span class="chapter-name">${entry.get('name')}</span> <span class="page-number">${entry.get('page_label')}</span>
</a>
% if len(entry) > 0:
<ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment