Commit 93e87eab by Giulio Gratta

differentiate course number from course title on courses pages

parent 96120451
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
top: 0px; top: 0px;
h2 { h2 {
color: $base-font-color; color: $link-color;
display: table-cell; display: table-cell;
font-family: $sans-serif; font-family: $sans-serif;
font-size: 0.8em; font-size: 0.8em;
...@@ -153,6 +153,7 @@ ...@@ -153,6 +153,7 @@
vertical-align: middle; vertical-align: middle;
.course-number { .course-number {
color: $base-font-color;
font-weight: 700; font-weight: 700;
text-transform: none; text-transform: none;
} }
......
...@@ -14,7 +14,7 @@ from courseware.courses import course_image_url, get_course_about_section ...@@ -14,7 +14,7 @@ from courseware.courses import course_image_url, get_course_about_section
<div class="inner-wrapper"> <div class="inner-wrapper">
<header class="course-preview"> <header class="course-preview">
<hgroup> <hgroup>
<h2><span class="course-number">${course.display_number_with_default | h}</span> ${get_course_about_section(course, 'title')}</h2> <h2><span class="course-number">${course.display_number_with_default | h}:</span> ${get_course_about_section(course, 'title')}</h2>
</hgroup> </hgroup>
<div class="info-link">&#x2794;</div> <div class="info-link">&#x2794;</div>
</header> </header>
......
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