Commit 89afc98f by Kyle Fiedler

Made links in sidebar all in p>

parent 8567fb16
This source diff could not be displayed because it is too large. You can view the blob instead.
/* line 1, sass/marketing-ie.scss */
body {
margin: 0;
padding: 0; }
/* line 6, sass/marketing-ie.scss */
.wrapper, .subpage, section.copyright, section.tos, section.privacy-policy, section.honor-code, header.announcement div, section.index-content, footer {
margin: 0;
overflow: hidden; }
/* line 12, sass/marketing-ie.scss */
div#enroll form {
display: none; }
......@@ -9,11 +9,12 @@
% for section in chapter['sections']:
<li${' class="active"' if 'active' in section and section['active'] else ''}>
<a href="${reverse('courseware_section', args=format_url_params([course_name, chapter['name'], section['name']]))}">
<p>${section['name']}</p>
<p class="subtitle">
<p>${section['name']}
<span class="subtitle">
${section['format']} ${"due " + section['due'] if 'due' in section and section['due'] != '' else ''}
</span>
</p>
</a>
% endfor
</ul>
......
......@@ -47,7 +47,7 @@ section.course-index {
&.active {
font-weight: bold;
p.subtitle {
span.subtitle {
font-weight: normal;
}
......@@ -80,8 +80,9 @@ section.course-index {
p {
margin-bottom: 0;
&.subtitle {
span.subtitle {
color: #666;
display: block;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment