diff --git a/static/css/application.css b/static/css/application.css index 5e31deab950182048cbed1fc69ee25d4c18956a8..c555a685f4b20fc63032fb84291993a18914d309 100644 --- a/static/css/application.css +++ b/static/css/application.css @@ -134,7 +134,7 @@ input, select { display: table; width: 100%; } -h1.top-header, div.course-wrapper section.course-content h1, div.info-wrapper section.updates > h1, div.profile-wrapper section.course-info header, div.gradebook-wrapper section.gradebook-content h1, div.question-list-header { +h1.top-header, div.info-wrapper section.updates > h1, div.profile-wrapper section.course-info header, div.gradebook-wrapper section.gradebook-content h1, div.question-list-header { background: #f3f3f3; border-bottom: 1px solid #e3e3e3; margin: -22.652px -22.652px 22.652px; @@ -2659,6 +2659,8 @@ body.courseware { div.course-wrapper ul, div.course-wrapper ol { list-style: none; } +div.course-wrapper section.course-content h1 { + margin: 0 0 22.652px; } div.course-wrapper section.course-content p { margin-bottom: 22.652px; } div.course-wrapper section.course-content p:empty { diff --git a/templates/sass/courseware/_courseware.scss b/templates/sass/courseware/_courseware.scss index 57d1f7e6e2182e6a20f6d685fb803aabf45e7327..2223556854704c400dc3bcbc8e567a15d6299806 100644 --- a/templates/sass/courseware/_courseware.scss +++ b/templates/sass/courseware/_courseware.scss @@ -19,7 +19,7 @@ div.course-wrapper { @extend .content; h1 { - @extend .top-header; + margin: 0 0 lh(); } p { diff --git a/templates/video.html b/templates/video.html index d1f192b9547b192132caec644275399d5bf86778..563bfd5129653a6c96598f6522c0a16323015946 100644 --- a/templates/video.html +++ b/templates/video.html @@ -1,4 +1,4 @@ -% if name is not UNDEFINED and name != None: +% if name is not UNDEFINED and name != None: <h1> ${name} </h1> % endif