From a9126aa276f6f2e59c990e49d49c1084365f2b63 Mon Sep 17 00:00:00 2001 From: Arjun Singh Date: Wed, 22 Aug 2012 05:25:48 -0700 Subject: [PATCH] Fixed syllabus to look good with new courseware styling --- lms/static/sass/course/_syllabus.scss | 7 +++---- lms/templates/courseware/syllabus.html | 16 +++++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/lms/static/sass/course/_syllabus.scss b/lms/static/sass/course/_syllabus.scss index 2f2b9eedcd..f1b6dfa636 100644 --- a/lms/static/sass/course/_syllabus.scss +++ b/lms/static/sass/course/_syllabus.scss @@ -1,6 +1,6 @@ div.syllabus { - padding: 0px 10px; + padding: 2em 2.5em; text-align: center; @@ -9,15 +9,14 @@ div.syllabus { } .notes { - width: 740px; - margin: 0px auto 10px; + margin: 0px auto 20px; } table { text-align: left; - margin: 10px auto; + margin: 10px 0; thead { font-weight: bold; diff --git a/lms/templates/courseware/syllabus.html b/lms/templates/courseware/syllabus.html index 38c1fbd6f8..4a95eaf894 100644 --- a/lms/templates/courseware/syllabus.html +++ b/lms/templates/courseware/syllabus.html @@ -13,12 +13,14 @@ %>
-
-

Syllabus

- % if user.is_authenticated(): - ${get_course_syllabus_section(course, 'syllabus')} - % else: - ${get_course_syllabus_section(course, 'guest_syllabus')} - % endif +
+
+

Syllabus

+ % if user.is_authenticated(): + ${get_course_syllabus_section(course, 'syllabus')} + % else: + ${get_course_syllabus_section(course, 'guest_syllabus')} + % endif +